• 0

Random Picture Viewer Toolbar


Question

I dragged a toolbar to the right of my screen and put my favorites on it. I've found that you can add a webpage to the windows toolbar using

java script:window.location.replace("file:///C:/PATH")

And have put an image in a web page so I can see it in the bar.

I want to make a script that will display a random image on the web page using javascript. I want to be able to put a PATH without the image names so I can random the whole directory of images supported.

The Girl with the Red Shirt is the current image I'm using for example.

===================== (index.html)

<HTML>

<HEAD>

<TITLE>Picture Toolbar</TITLE>

</HEAD>

<BODY leftMargin=0 topMargin=0 bgcolor="threedface">

<img src="fineinred.bmp" size=100% width=100%>

</BODY>

======================

This is the HTML code I used.

Can someone help me to make it so the picture randoms a whole directory every so many seconds? THX!

post-46-1049359981.jpg

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.