Java Script - links to the codes



Clocks and Counters
If you want to show your visitors how long they have been on your page
but don't exactly like those clock displays, then you might like this script.
When the visitor leaves or clicks the button,
they are alerted to the time they have been on your page.
Occassionally, it might be interesting to show the visitor how long they have been on your page.
So, you can use this script to write a clock to the screen that will tell them exactly that!
If the other time on page scripts seem too impersonal for you,
this could be your solution. Instead of the 00:00 readout, it displays 'X Secs'
When someone visits your web page, JavaScript will start the clock.
When the leave that page, they will be alerted with the time they have been viewing the page!
This is a neat little script that makes your web page look a whole lot more 'professional'.
This JavaScript will display a small box with the time the visitor loaded the page.


Page Utilities
Still wondering how to create a back button from a link or button?
It's easy to do and doesn't even take a whole line!
(Internet Explorer Only) Create a browser window within an existing browser window.
Allows you to uniquely provide custom links and navigation. Awesome!
This dropdown menu can cascade into any number of submenus.
It uses an external JavaScript file and CSS file (included in the zip file). IE 4.0 or later.
Multilevel cascading menu for navigation in Internet Explorer.
Menus have borders, highlight colours and are positioned relative to one another on the fly.
This is an example of a drag and drop menu.
When you click on top of the menu you can drag it within the document.
JavaScript can power a floating menu, that actually can 'float' a navigation bar menu
to anywhere on the page, with the click of a mouse! Amazing!
The slide down menu is composed of a number of menu headers. Upon clicking these headers,
its menu items are revealed with a sliding DHTML effect.
This script also works in a frameset. Works in MSIE, Netscape and Opera.
Qiksearch MenuGen is a Javascript which allows you to create Javascript drop-down/pull-down menus with ease.
Works in MSIE, Netscape and Opera.
Allow your users to quickly see a list of all the links on your web page
in a well organized and numbered list.
Each listing includes the link URL and the link's text.
Works on both IE and Netscape. Clever!
Allows the visitor to easily browse with Previous and Next through several thumbnail images
(all of which are preloaded so they show up instantly).
Then they can click the Go button to be taken to the selected thumbnail's full size image.




Background effects and such
The background image scrolles on the page.
Scrolls HTML elements within a DIV
A version of the HTML Scroller modified to
display a DIV on both the left and right side
of the window for both IE and Netscape
Display, hide, and change layers in all browsers. This useful script makes it easy!
Resizes an image to the size given to the function.
The number of steps and total length of time of the transition can be controlled.
Internet Explorer Only.



Browser/page manipulator
Grab your visitors attention with this script.
It centers the browser window and expands to fill the screen!
(Best with Internet Explorer)
Opens a small window then expands it vertically and horizontally to fill the screen with the new web page.
Netscape users will not get any errors, the window simply opens the new page normally.
Launches a rapidly expanding window that moves down and across the screen until it fills the entire screen area
(IE) in fullscreen mode. The script then loads your content page into the fullscreen view.
Open a new window in full screen mode. Menu bars and the status bar are disabled.
Useful for pages displaying a movie clip, slideshow, or even on an intro 'welcome' page to your site.
This is one of the best full screen scripts ever.
There are no scroll bars, top bars, or any kind of other objects on the screen unless you put them there.
The script includes the code for returning the window to normal size. Internet Explorer only.
Opens a new popup window centered on the page according to the width and height of the user's screen.
You can customize the width, height, and scrollbars on or off for each window you open. Sweet!
Sends the user to a specific URL based on the combined selections from two different pulldown menus.
If the user only selects from one menu, they are still taken to that menu's corresponding page.
Works great for sites navigation based on two seperate characteristics.
Here's a script that actually counts down the seconds until you are redirected.


Color manipulators
JavaScript can print out 8 tables with the 512 "standard" colors
and their corresponding "#RRGGBB" values.
This sure makes picking colors easy! Wow!
Put your mouse over the text, write in a color (words or hex),
and the background changes.
Allows the visitor to change the background color on the Web page.
The color can even be set to change constantly at a set interval.
This creative script lets you choose the background color using a color cube.
You can also do a reverse search using hexadecimal, RGB, or just the name of the colors.
( D:\a-WebHosting\java\docs\Color cube-changer.doc )


Print/Send page Utilities
Quickly and easily print the current page by clicking on a link.
Add this function to a submit button to automatically print a submitted form!
Allow your visitors to email the current page to a friend.
They just enter a friend's name and email address.
It will send them a link to the current web page address
in an email message signed by you.