mike_hough
02-04-2003, 11:27 AM
i need to make one of three images randomly appear each time someone enters a site. if anyone could please tell me how to do this i would be very thankful
|
Click to See Complete Forum and Search --> : random images mike_hough 02-04-2003, 11:27 AM i need to make one of three images randomly appear each time someone enters a site. if anyone could please tell me how to do this i would be very thankful gil davis 02-04-2003, 11:53 AM http://javascript.internet.com/miscellaneous/random-image.html mike_hough 02-04-2003, 12:06 PM how do i put the image in it's correct spot, do i just put one of the randoms there and then it will know what to do, or do i put the body code inside that section of the table? thanks so much for your help, this is really nice of you... gil davis 02-04-2003, 12:22 PM how do i put the image in it's correct spot Put this block in the HTML where the image would have gone anyway: <SCRIPT LANGUAGE="JavaScript"> showImage(); </script> For example: <table ... > ... <tr> <td> <SCRIPT LANGUAGE="JavaScript"> showImage(); </script> </td> </tr> ... </table> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |