Top Rated Scripts | JavaScript | Tutorials & Tips
Browser Window Dimensions
posted byscriptsinWindows & Frames
Two tiny functions that return the available width and height inside the browser window. These functions can be used as variables and as the dimensions are calculated every time they are used, your script will always be using the current window size no matter what the user does to the window.
Reviews0
PriceFree
Views6488
Creating JavaScript Rollover Buttons
posted bykatherineinLinks & Buttons
Assumes absolutely no knowledge of how to use a JavaScript. Covers everything from creation of graphics to generation and application of a script to make a simple navigation bar with rollover effects.
Reviews0
PriceFree
Views8596
Reviews0
PriceFree
Views13972
Reviews0
PriceFree
Views4068
To hide the errors
posted bycrankyinMiscellaneous
This code snippet lets you hide the error message which appears when there occurs a Javascript error in your pages. The script will still not function but the visitor will not see the error message. Written in French.
Reviews0
PriceFree
Views4910
Cookies
A cookie is a way you can store some information about a user visiting your site. The information is stored on the individuals computer, and thus you do not need any extra server space to customize a page for any amount of users you may have. To use Cookies there are two things you need to do, one is set the cookie, and the other is retrieve a cookie you have already set. Here's a brief tutorial on how to use cookies, and a couple of ideas which you can use cookies for.
Reviews1
PriceFree
Views8825
Offering Automatically Updating Syndicated Articles
posted byalisinContent Management
This tutorial explains an easy method of offering an automatically updated html file to other sites. I have taken the example of an article but the same theory could be applied to other content such as tutorials, images or news.
Reviews1
PriceFree
Views5602
So, You Want A Remote Control, Huh?
posted bywebmasterinNavigation
Here's a remote control panel that controls the bigger window. It allows you to open a specific page by clicking anf dragging the link with your mouse. Neat effect (Netscape only).
Reviews0
PriceFree
Views4652
Resetting forms using an Image Button (IE4+ / NS4+)
In forms when using text boxes or text areas and check boxes you might need a reset button that is not the usual gray HTML button. For this you can use a small JavaScript function as given below. Note: This button will reset only text boxes,text areas and check boxes as list boxes and option buttons don't usually require resetting. After resetting the form the cursor will set the focus to the first field in the form.
Reviews0
PriceFree
Views4318
Reviews0
PriceFree
Views2246
Reviews0
PriceFree
Views1374
Reviews0
PriceFree
Views1928
Reviews0
PriceFree
Views2152
Reviews0
PriceFree
Views4208
Reviews0
PriceFree
Views4948
Reviews1
PriceFree
Views4041
Submit1ce
Got a submissions form that you keep getting multiple submissions from? I've found that in most cases its because people are impatient and click the submit button repeatedly until they get a response. The unfortunate result is that you receive multiple copies of the same form. This little bit of JavaScript disables the submit button as soon as it is clicked for the first time and prevents the user sending their form multiple times. Script now also changes the text on the button to 'Thanks' (this can be modified to suit)
Reviews0
PriceFree
Views4733
Reviews0
PriceFree
Views4876
Restricting access of JavaScript libraries to your domains
posted bywsabstractinSecurity
The nature of JavaScript libraries means they can be accessed and utilized by any site online, not just yours. Learn how to restrict access of your libraries to only your own sites, warding off bandwidth theft in the process.
Reviews0
PriceFree
Views3053
Loading two frames with one link
posted byabstractinWindows & Frames
This tutorial shows you how to load two frames with one link using JavaScript.
Reviews0
PriceFree
Views8001
