The information on this site was appropriated from A Slacker's Guide to DHTML and is inteded for our development efforts. None of the demonstrations of these capabilities work on this page so click here and visit the real site for examples.
Kwik Keys
Instructions: -The kwik key for this example is "h". So when you hit
the "h" on the keyboard you will go to the designated page.
If you want to use a different key on the keyboard, check out this link.
This goes in the HEAD of your document.
Find in Page
Instructions:
This goes in the BODY of your document, wherever you want the search box to be.
Dynamic Slide In Menu
Instructions:
You can alter the files in the zip that you should download. The zip file
you need to download is right here.
This goes in the HEAD of your document.
Auto Scroll
Instructions:
This goes in the BODY of your document
Manual Pull Out Nav Menu
Instructions:
This goes in the HEAD of your document.
This goes in the BODY of your document, right after the BODY tag.
So now what?
To change the contents of the menu to your own, edit the text inside
variables sitems[ ] and sitemlinks[ ] in the code of Step 2. You may now
also specify a target for the links, if you wish them to be loaded in a new
window or frame. To change the appearance of the menu, edit the code in
Step 1. Below lists the part you can edit:
top:170px;
border:1.5px solid green;
background-color:lightyellow;
layer-background-color:lightyellow;
font:bold 12px Verdana;
line-height:20px;
The first line determines the vertical offset of the menu (adjust 170px to
any pixel desired). The second line determines the appearance of the border
that surrounds the menu (change 1.5px and green as desired). The third and
fourth line effects the background color of the menu. The fifth
line determines the font of the menu (change 12px and Verdana as desired).
The last line deterines the spacing between each line of text in the menu.
Static Pop-out Menu
Instructions:
This goes in the HEAD of your document.
This goes in the BODY of your document.
KB-Controlled slide In Nav Menu
Instructions: To bust it out hit "x", to close it hit "z", otherwise, look
down.
This goes in the HEAD of your document.
This goes in the BODY of your document, just after the BODY tag.
All of these things can be changed:
top
border
background-color
layer-background-color
font:bold
line-height
Right Click Menu
Instructions:
This goes in the HEAD of your document.
This goes in the BODY of your document.
Browser Detection & Redirection
Instructions: - change the stuff that goes in your body tag so that instead
of nn4.html, for example, it would include the pathname of the page viewers
with Netscape Navigator 4 would be sent to.
This goes in the HEAD of your document.
This goes in the BODY tag of your document, as an actual part of the BODY tag.
Bouncy Trails
Instructions:
This goes in the BODY of your document, right after the BODY tag finishes
opening.
Auto Select & Copy
This goes in the HEAD of your document.
This goes in the BODY of your document.
Agree Before Entry
Instructions:
This goes in the HEAD of your document.
This goes in the BODY of your document.
Announcement Box
Instructions:
Modify announcement. Shake well. Serve chilled.
This goes in the HEAD of your document.
This goes in the BODY of your document, right before the closing BODY tag.