JavaScript is a lot like PHP in syntax so I find it relatively easy to switch between the two. The Orca Scripts, for example, use a lot of dynamically generated JavaScript which fades away seamlessly if it's disabled in the client browser. As it happens, I am a stickler for building JavaScript that doesn't "mess up" the page when it's disabled. I test all my JavaScript in Opera, MSIE, Firefox and Safari/Chrome.
JavaScript usually resides within script tags like so:
<script type="text/javascript">
/* JavaScript code goes here */
</script>
... or in an external file with a .js extension. So if you're unsure of where to put some code you've downloaded off this site, that's where it goes! Just click on the project page link beside the title of each script to go to the code.



Version 2.0 is a significant recode from previous versions. Blocks are now specified in the HTML source, rather than as JS variables, making for easier block addition and management.
This small JavaScript program will animate a series of same-sized blocks of HTML, scrolling them up, down, left or right dynamically and then pausing before starting the next scroll. The script will also pause on mouseover, and resume scrolling on mouseout. Since it scrolls HTML instead of just images, you can include just about anything that can be ordinarily placed in a static HTML document: links, images, graphics, tables, backgrounds, etc.
| One | Two | ||
| Three | Four |
This highly flexible JavaScript program allows you to create dynamic text fade-in and fade-out effects with command buffering to keep transitions ultra-smooth. Completely recoded with a vastly improved engine for v3.0, and much simpler usage. Now anyone can create almost flawless text fading effects on any JavaScript event trigger.
For mouse-lovers everywhere! This script will enable a virtual keyboard interface for your selected text fields, password fields and textareas, allowing users to fill them using the mouse only. Perhaps useful for places where you may not have a keyboard, such as web kiosks, or a convenience input method for servers which have had the keyboard removed. Also great for inserting special characters not directly available on your physical keyboard.
Comes with over a dozen dynamically selectable keyboard layouts, including a number pad. New keyboard layouts and dead keys are easy to add.
Opera and Greasemonkey users can also install this script as a User JavaScript to enable it on all webpages. You can download it from its page at Userscripts.org.
Copyright © 2009 Brian Huisman AKA GreyWyvern