|
Spice Up Your Web Site with JavaScript
|
By Shelley Lowery
[Hits: 17622]
|
|
JavaScript is a scripting language designed for use within a webpage and/or on a web server. It is used to create specialeffects within a web page. Elements such as links, images andforms can be manipulated using this powerful technology.
Unlike CGI scripts, JavaScript can be placed directly into yourHTML code. It can also reside on your server and be called froma small code within your web page.
This powerful scripting language can be used to create specialeffects on your web page such as link effects, mouseovers, imageroll overs, navigational systems and much more.
Here are a few great scripts to get you started:
Navigation Bar
This script is actually a combination of JavaScript and HTMLbetter known as DHTML. It will enable you to have a mouseovernavigational menu at the top of your web page. When you placeyour mouse over the main menu, a drop down menu will appear. Asyou move your mouse over the drop down menu, each selection ishighlighted. This navigation menu is very similar to the menuused at Microsoft.com.
http://www.brainjar.com/dhtml/navbar/index.html
Dynamic Splash Screen
If you've ever wanted to set up a splash screen for your webpage, Dynamic Splash Screen will do just that. Splash pages canbe used to tell your visitors a little bit about your site orwhatever you'd like. The great thing about this script is thatit is constructed using a single page. Once the splash messageshave been completed, the script will navigate to the URL of yourchoice. It also includes a link on the splash page that says,"Skip Intro." Nice effect.
http://www.dynamicdrive.com/dynamicindex3/dynamicsplash.htm
Pausing Up and Down Menu Scroller
This nice little script will enable you to have linked text thatscrolls upwards and will pause between each message. You canchoose to include a background image and customize thebackground color and box size. This script provides a nice wayto announce new additions to your site or whatever you'd like.
http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
overLIB
Create mouseover popup boxes for your text links. This greatscript can be used to include information about the links, tipsor whatever you'd like. It can create simple mouseover popupboxes or can even create a popup box that will stay open untilthe user wants to close it. The boxes can also be displayed withor without a caption and colors can be customized. This is agreat little script.
http://www.bosrup.com/web/overlib/
Source Protector
Although this script won't completely protect your page content,it will deter those wanting to steal your code. When you rightclick on your mouse, an alert box will appear. You can include amessage of your choice.
http://www.javascript-page.com/noclk.html
Right Click Menu
This nifty little script not only helps prevent your code frombeing stolen, but it also creates a pop up navigation menu. Whenyou right click on your mouse, instead of the browser menuappearing, your menu will appear. This little menu can containlive links to other pages on your web site.
http://www.geocities.com/html_4u/rc_menu.html
Banner Rotator
This simple little script will enable you to rotate banners onyour web page. You simply add your banner information to thecode and place this script within your web page where you'd likeyour banners to display. Each time your page loads, a new bannerwill be displayed. Great little script.
http://www.javascript-page.com/banrot.html
Daily Tip
This script will enable you to display a daily tip on your website. You can program it with tips for the entire month and theywill automatically display each day.
http://www.geocities.com/html_4u/dailytip.html
FairWell Window Launcher
Although popup windows can be irritating, this script is alittle different. It will launch a new window when your visitorleaves your site. What's great about this script is that it willonly appear the first time someone visits your web site. If youoffer your visitors a free publication, try placing yoursubscription information within this new window. This provides agreat way to increase subscriptions to your publication.
http://wsabstract.com/script/cut65.shtml
Locating JavaScripts: http://javascript.internet.com/
Locating DHTML Scripts: http://www.dynamicdrive.com/
Learn more about JavaScript: JavaScript Learning Centerhttp://www.javascriptmall.com/learn/contents.htm
Although JavaScript can certainly help you spice up your website, there are many scripts that your visitors may findirritating. Try to avoid scripts such as mouse trailers,mouseover sounds, mouseover pop up windows and mouseoverredirects. Carefully select scripts that will enhance yourvisitors experience and encourage them to return in the future.
|
|
|
|
|
|