Controls and Widgets
- Arrays (14)
- Cookies (5)
- Dates (24)
- Effects (4)
- Events (8)
- Form Controls (20)
- Functions (13)
- Multimedia (3)
- Objects (6)
- Site Navigation (26)
Letters to Numbers
There are lots of things you could do with letters if you could somehow convert them into numbers first. This simple function can do that for you.
This function uses two arrays to generate a third. One array contains all of the elements you want to be able to feed into your output array while the second array of numbers identifies which of those elements to place in each position in the output. This has many different possible uses and the example sets up a transposition cypher.
Ideas Machine With Links
A variant on my ideas machine script. This one displays a random idea that actually links to another page. Your visitors can either follow the link or request another idea.
Breaking Text into Chunks
You might not need to break text up into equal sized junks very often but when you do adding this method to your strings will make doing so much easier.
Buy Now Hover Button
If you have a sales page that is too long to fit the browser then your visitors may not be able to see the link to make their purchase at the time they decide to buy. You can solve that by adding a hovering "Buy Now" button to your page which will be right there for your visitor to click on to make their purchase regardless of where on the page they have got to at that time.
Obtaining Your Visitor's IP Address
Ad an "idea" to your web page to help get your visitors started on performing an action. If they don't like the first idea you present them with then they can simply press a button on the page to be presented with another idea which they will hopefully like better.
Modal Dialog Boxes
Display Author Time
The author of a web page need not be in the same time zone as the server on which the site is hosted. This script allows the author to display the time at their location on the page regardless of where the site is hosted or where their visitors are provided that the visitors have their computer's time set correctly for their location.
Highlighting Selected Words
Display Random Image or Quote
If you have several quotes, images, or ads to choose from and you want to have one of them randomly selected to display on your page then this script provides the basic template you need to use to set it up.
Place a timer on your web page that counts down to a specific time at your location.
Add to Favorites
Only Internet Explorer provides the option of having a link that will add to the favorites menu. This script will replace that with a message advising which key combination to use to bookmark the page in other browsers.
Encrypt Your Web Page
Some people pay hundreds of dollars from a program to encrypt their web pages. You can achieve the same result free by using this script. Either way those who know how will have your page decrypted in about 30 seconds.
No Right Click Script
If you really want to annoy your legitimate visitors by blocking access to the context menu then this script provides the simplest and most effective way to do it.
Is Java Enabled?
Disabling the Netscape 7 Menu Bar