JavaScript
There is Java, and there is JavaScript. JavaScript is much easier to get a handle on, and since the online world is such a nice place, you don't even have to learn it to make your web pages come alive with the effects that only JavaScript can perform.
There are a few different methods of deploying JavaScript on your web pages. Sometimes the code comes in two chunks. One chunk will be pasted within the <head> and </head> tags and another chunk somewhere within the <body> and </body> tags. Sometimes it is only placed within the body of your document. Sometimes it's placed within the head, and then called through the <body> tag with an "onload" handler.
Each JavaScript will come with instructions on how to deploy it within your web page. It's simplified, easy, and you don't have to know anything about writing java to get javascript into your web sites.
Here is a short script I use to update the year in my copyright notices at the bottom of my web pages. Simply paste this in where you want the four digit year to appear. It will change each year without your intervention. This will work on a web page, but not on a text or other type of page. The JavaScript needs to interact with the web browser and server.
<!-- get year --><SCRIPT LANGUAGE="Javascript"><!--
var Date=new Date()
var Year=Date.getYear()
if (Year < 1000)
Year+=1900
document.write(""+Year+"")
//--></SCRIPT><!-- end get year -->
Below are links to the cgiscript.net site providing you with JavaScript that you can cut and paste into your own web pages. Check these out (you must be online). Spend some time experimenting. It's fun. I would suggest you stay away from anything that will become annoying after you've seen it once. Flashing, animations, etc., etc., etc., become annoying after a few times. It will be worth you copying some of these off into your editor and playing with them. Keep a file on your machine of these little tidbits for quick and easy access and reference.
Background Effects JavaScripts
Date and Time JavaScripts
Form Elements JavaScripts
Generators JavaScripts
User Information Display JavaScripts
Miscellaneous JavaScripts
Mouse Tricks JavaScripts
Random Items
Redirection JavaScripts
Scrollbars, Title Bars, and Status Bars
Windows and Frames
<
Previous: More CGI Scripts
—
Next: Affiliate Programs List >
|
Daily SEO Tips eMail
SEO Blog
SEO Training
SEO Basics 101 eBook Learn All the Basics to SEO
|