my regards to all here in these forums .
i found my way here via this post . http://www.wpdfd.com/cgi-bin/yabb/YaBB.pl?board=js;action=display;num=1098932854
it seemed to answer my question as to how i would create a page
with a single . dynamically reloading image . but i've created
another problem .
i followed this tutorial =
. . . . . . . .
i used the .ZIP folder at the bottom to reconstruct the sample . i've gotten it to work but once i tried to modify it
it all broke down .
WHAT I'M TRYING TO DO .
is have a dynamically loading IMAGE . WHICH IS ITSELF A "LINK" for a pop up window . also done in java .
. . . . . .
would that doubling up of java somehow conflict or cancel out the affect ? ? ? ?
. . . . . .
this is a link to the test page for this PROBLEM = http://commonalms.com/TEST.htm]http://commonalms.com/TEST.htm
. . . . . . .
and the following is the fairly simple code . i centered the image using a WRAPPER div in the CSS .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Reload to display randomly selected image</title>
<link href="layout.css" rel="stylesheet" type="text/css">
return Math.floor(Math.random() * n) + 1;
as you can see i am able to get the image to reload . but i can't seem
to use it as a LINK or BUTTON for a pop up window . ( which i need to
do in order to open up my .SWF file )
IF ANYONE COULD LEND SOME FURTHER advice . i'd greatly appreciate it . thanks . again .
The script you are using is only changing the image. You need to change the image and the attached link. If you use my script (that you alluded to), it will change the image and the link.
I'm looking for similar js code, that will swap a regular image (not background) randomly on browser refresh. I first tried to modify your code, but couldn't make it work. I've been at this for awhile, so many many thanks in advance if you can help...
You must login to reply