What is Javascript?
Javascript is a scripting language used alongside the hypertext markup language (HTML) coding which makes up the web page itself to enhance it and add extra features which are not possible using normal HTML.
Enabling Javascript in your browser allows web designers to create interactive pages or add extra functionality. For example drop down menus, buttons to make navigating websites easier and changing the cursor when you roll over an icon are all tricks done by Javascript.
Javascript should not be confused with Java, which is a fully fledged programming language used to program applications and applets Applets are small applications which get downloaded along with a web page, for example games, interactive maps, currency converters. The downside of these applets is that they can take a quite a while to download and can be used in harmful ways.
Examples of pages created using Javascript and HTML are:
- the navigation bar used on this page, which changes depending on which tab your mouse pointer is on;
- the Matching Pairs, Hangman and Tic Tac Toe games on Kidsweb.
Examples of pages that incorporates Java applets are:
- most of the games on Kidsweb, including Frozen Bubbles (notice that as the game is loading, a progress bar is used to indicate the progress of the download)
How can I enable Javascript in my Web browser?
Javascript can be switched on (enabled) from within your browser by following the instructions below. After you have enabled the Javascript, press the <F5> key on your keyboard to refresh/reload the page that uses javascript.
Microsoft Internet Explorer
- Launch the Internet Explorer;
- Click on Tools on the menu bar;
- Click on Internet Options;
- Click on the Security tab;
- Make sure the Internet option is highlighted and click on the Custom Level button to open the security options;
- Scroll down and look for the entry near the bottom of the list which says Scripting;
- Make sure that the Active Scripting option is enabled;
- Click on the OK button to close the panels.
Mozilla Firefox 1.0
- Launch Mozilla Firefox;
- Click on Tools on the menu bar;
- Click on Options;
- Click on Web Features;
- Make sure that the Enable Javascript option in the main panel is selected;
- Click on the OK button.
Mozilla Firefox 1.5
- Launch Mozilla Firefox;
- Click on Tools on the menu bar;
- Click on Options;
- Click on Content;
- Make sure that the Enable Javascript option in the main panel is selected;
- Click on the OK button.
Netscape 6 & 7
- Launch Netscape;
- Click on Edit on the menu bar;
- Click on Preferences...;
- Click on Advanced;
- Make sure that the Enable Javascript for Navigator option in the main panel is selected;
- Click on the OK button.
Netscape 8
- Launch Netscape;
- Click on Tools on the menu bar;
- Click on Options...;
- Click on Site Controls ;
- Make sure that the Enable Javascript option in the Web Features panel is selected;
- Click on the OK button.
Opera 6 & 7
- Launch Opera;
- Click on File on the menu bar;
- Point to Quick Preferences;
- Make sure that the Enable Javascript option is selected.
Opera 8
- Launch Opera;
- Click on Tools on the menu bar;
- Point to Quick Preferences;
- Make sure that the Enable Javascript option is selected.