Friday, June 02, 2006

Neat Trick

I was exploring some of the features of my web hosting control panel, I discovered another feature. To see an example of what it does, go to:

http://www.autoconsultants.com.au/home.shtml

Read the first paragraph on the page, then refresh the page by clicking the 'refresh' button on your browser and read the paragraph again. Notice any difference? Refresh six or seven times and see what happens! Can you think what some of the benefits of this feature could be? Feel free to leave a comment here with your thoughts / observations.

4 Comments:

Blogger James said...

Great Trick.

Can you show me how to do it?

12:27 am  
Blogger Sean said...

Sure, James.

1.In your hosting control panel ( I use CPanel )look for a CGI script with 'random html' or something similar. If you use CPanel, under the heading 'CGI Scripts' select 'Random HTML Generator.'

2. Enter as many lines of html as you would like to be randomly selected from ( I've only used text but I plan to experiment with graphics too ) Separate each entry by hitting 'enter' once.

3. Copy the script at the top of the page.

4. Paste the script into the desired location of your web page ( via the coded version of your web page, not the design page - 'source' page in XSite Pro ).

5. Save the page with an '.shtml' extension instead of '.html' You can do this manually on any page except the 'index' page in Xsite Pro.

6. Return to your Cpanel page and save your entries ( Save button at the bottom of page )

7. Publish your web site

12:50 am  
Blogger James said...

Thanks sean

I have done this now

Regards

James

4:06 am  
Blogger Sean said...

For the interest of my visitors James, can you tell me where you have placed this so we can check it out?

4:19 am  

Post a Comment

<< Home