Enhancements: JavaScript: Cool Scripts
Check out the following fun scripts. Give them a try!
Navigation
This navigation script will let you go back one page. It's like clicking the back button on your browser. This is useful when people are coming from different places and need to go back to different places. Go to Rocks for an example.
<a href="javascript:history.go(-1)">Go back </a>
Popups
Popups can be useful for news or instructional materials. For example, you might use a pop-up for definitions, help, or additional information. The problem with popups is that some people have turned off their pop-up options in their browser.
Go to popup.html for an example. Go to Rock Popup for an example.
<head> <script type="text/javascript">
window.open('annoy.html','popup','width=250,height=250');
</script> </head>
Rollovers
Rollovers occur when a user rolls the cursor over an object such as a graphic and triggers an action such as a change in a graphic.
Go to bugs.html for an example of a simple blank to graphic rollover.
What Else Do I Need To Know?
If you decide to include Javascripts in your website, use care. They don't work with all browsers, so be sure you test your scripts on different computer platforms and browsers.
JavaScripts are case sensitive, so copy and modify scripts carefully.
Some free and subscription websites include "add-ons" such as JavaScripts that can be used at their websites. For example, you can add a pulldown menu to your geocities page. Go to Pulldown Menu. Follow the directions.
If you want to test your skills try the JavaScript Quiz Test.