Java Scripts. Random image javascript. Change graphics and picutures on a random basis to keep your webpage fresh.

Google
Web Search Hypergurl.com



Handy Tip: A great way to help keep visitors interested in your website is to rotate images / pictures in a random way so each time they view your site, they see a different picture. Hence making each visit to your website a little less predictable and more fun.

Bookmark This Page | Click here for more javascripts

Random Image Java Script:

One of the best ways to keep your repeat visitors interested is to change your graphics or pictures often. Pages can often become stale once your visitor has seen your page for the 10th time.

There is no need to manually change your graphics often. Here is an easy to install javascript which will give your visitors a different random graphic everytime they visit your page. Take a look at the top graphic on this page, then refresh your browser a few times to get the idea what this useful script is all about.

First you will need 6 graphics. It's a good idea to make them the same size and don't forget to upload them to your webhost.

Then place this script just below the body tag, or if you are using a html editor simply use the insert html option.


 

Change the lines pointing to the graphics ie. http://www.yourwebsite.com/graphic1.gif to suit.

Then place this script below where you want the randomly selected graphics to show on your page. Change the width and height attributes to suit your graphics:

 

 
 
Hypergurl Hosting
IMPROVED PLANS
FREE Domain Name
web hosting and domain registration

 
Hosting Log In
Username:
Password: Sign up
NEW!
Blog for Webmasters

web site design feed Website Design

 

 
Refer A Friend
Your Email
Your Name
Friends Email
Friends Name



Home
Site Map
Email Hypergurl
About
Link To Hypergurl

Site design copyright 2001 - 2008 © hypergurl.com