Loading...

Search Results in category “JavaScript”

in JavaScript
Full Screen

Javascript allows you to display a page in full screen via a button, the script consists of 2 parts, the first one will be inserted between the <head> and </head> tags is:

read more
in JavaScript
Prevent Right-clicking

If you don't want your visitors to rightclick at your page, you can insert this code somewhere between <Body> and </Body>. Type in the message you want your visitors to get in the line "Write your message here"

read more
in JavaScript
Count Down

This will let you count the number of days remaining to reach a given event : for instance days left before we reach the year 2007:

read more
in JavaScript
Submit Form Conditionally - JavaScript

In the long-gone days of the early Internet, having a form on the website was tantamount to dabbling with "cutting-edge" technologies. Intricate Perl scripts and esoteric CGI scripts were required to process those forms and people used to suffer bouts of cold sweat whenever there manifested a need...

read more
in JavaScript
JavaScript Browser Detection

Browser detection allows you to find out what browser your viewer is using, and then perform a script based on it - or just to send a friendly message to those with your favorite browser.

read more
in JavaScript
JavaScript Redirection

Redirection is often used to take viewers to a page depending on their browser's name or version. To redirect a viewer instantly, you just need to add a short command in your head section:

read more
in JavaScript
Using Link Tags with JavaScript

I get this question so much, I figured I'd better get in gear and write another section to address using the link tag for javascripts (such as new windows), rather than using the old grey button. Well, there are a couple of ways to do this. I'll start with the easier to understand version first.

read more
in JavaScript
Declaring Variables and Functions

Now it's time to get into some really fun stuff. Yes, variables and functions. Don't worry, it's not as bad as it sounds.....let's start with declaring variables. You'll want to keep all of your variables in the HEAD section for now. Place the declarations between the SCRIPT tags inside the hea...

read more

Copyright © All Rights Reserved