Grouped Pulldown All
Created by: Ron Grafe
A Pulldown list where you can manually 'Page' through the links. All you have to do is select 'Next Group' from the pulldown and it will go to the next group (group size is adjustable) of links. If you see a link you like just select it and you will automatically go to that page. There are two versions of this script, one that opens the new page in the existing window and one that opens the new page in a new window. To cut and paste the code for either go to the Grouped Pulldown page.
Dependent Quickjump: All
Created by: Ron Grafe
This Javascript navigator consists of two pulldown lists. A "Category" pulldown and a "Category Contents" pulldown. The Category Contents pulldown starts out blank. When you select a Category, the Category Contents changes according to what was selected. If you select a site from Category Contents you are automatically directed to the site. There are two versions of this script, one that opens the new page in the existing window and one that opens the new page in a new window. To cut and paste the code for either go to the Dependent Quickjump page.
Quickjump: All
Created by: Ron Grafe
A simple pulldown that lists all the sites/links you want to include. Just select the site and it automatically jumps to it as soon as you select it! There are two versions of this script, one that opens the new page in the existing window and one that opens the new page in a new window. To cut and paste the code for either go to the Quickjump page.
OneTimeViewer: All
Created by: Ron Grafe
This script will perform an action the first time a user enters your page. After that, the action will not run until a specified amount of time has expired. In the demo I use my "slide in box" script. When you open the page the first time the box with the information will slide into view. If you refresh the screen, or leave and come back, the box will NOT slide in again. This script is based off of a cookie. When you first enter the page there is no cookie so it runs, and then sets a cookie with an expiration time that you define (in the demo it is set to expire in 24 hours). If you come back any time prior to the expiration date the code will not run. Only after the cookie expires (in 24 hours) will the box display again.
Demo: OneTimeViewer
1) Click SELECT ALL to cut-n-paste the code. Place the code just prior to your CLOSE BODY tag on your page.
2) Enter the one-time code or function that you want to run into the script.
3) Change the time of when you would like the cookie to expire before the code runs again.
4) Remove the alert statements from the code.
Delay Timer Code: All
Created by: Ron Grafe
A delay timer function that will perform an action after a certain amount of time has passed. In the demo I use my "slide in box" script. When you open the page the box with the information slides into view. After a specified amount of time the box closes. The close function is called after the timer has counted down.
Demo: Delay Timer
1) Click SELECT ALL to cut-n-paste the code into the HEAD tag of your page.
2) Then enter the code or function that you would like to run, after the timer counts down, into the "else" section of the if..else statement of the timer() function.
3) Next, take the BODY TAG ONLOAD CODE SNIPPET and cut-n-paste it into your beginning BODY tag.
4) Lastly, enter the amount of seconds your would like the timer to run. EXAMPLE: onLoad="timer(10)".
Date Last Modified Code: All
Created by: Ron Grafe
A code snippet that will display the date the page was last modified and a "mailto" link.
EXAMPLE: R.Grafe
To cut and paste the code click SELECT ALL below and copy the code into your page. Then enter your email address and name in the "mailto" statement.
|