Here's a trick that will redirect a browser when JavaScript is turned off. Why not redirect the ones that have JavaScript? Less than 10% of browsers have JavaScript turned off; therefore, redirecting less than 10% of visitors is better than redirecting over 90%.
Use this JavaScript snippet to insert a node after another node. Quite handy in laying out Web pages.
Use this JavaScript snippet to get the rendered style of an element. Quick and simple to implement.
If your visitors are using one of those "other" browsers, this short script will display a graphic with a link to the Firefox Web site. (The graphic won't display if you're using Firefox to view this page.)
Use this script to disable the selection of text on a page. It's very simple using two of the built-in JavaScript events to cancel the selection before it starts. You can even attach the events to a specific element.
Cross-Browser Dhtml JavaScript Vertical Slide Show concatenates and slides from the top down any number of images. Adjustable: Size, Background, Border and Speed (Live too with mouse over text). Pauses while mouse is over - it also gets to original speed. You may use Hyperlinks with any / all images. Vertical Slider is Multi-OS and Cross-Browser compatible script.
Text scrolls from bottom to top, pauses, then scrolls up and out of view. A JavaScript link can be added, opening in a new window. Configuration is simple.
Web sites with heavy content sometimes use anchor links to navigate down the page. The problem with this type of JavaScript navigation is that the user can become confused. The JavaScript navigation suddenly disappeared, and the user can be unsure if they were sent to a new page or if the page just scrolled down. This JavaScript addresses this problem by animating to the anchor link. Active and visited states are also used to let the user know what content has already been read.
Cross-Browser DHTML Horizontal Slide Show: JavaScript concatenates and slides any number of images from right to left. Adjustable: Size, Background, Border, Name, and Speed (live, too). You may use Hyperlinks with any/all images. Pauses when mouse is placed over it.