Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q287

irt.org | About | Feedback | 3626 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q287

Sent by
Cary Foster on February 25, 2002 at 09:34:27:

Worth:
Very worth reading

Comments:
First, I'd like to thank you people for your great, helpful resources. I come by your web site often to search for answers to my everlasting list of questions.

This information was very useful in helping me execute what I wanted to do. I'm still having problems creating the script I REALLY want, and I'm hoping you can help me out.

This is what I have so far:

<script language=JavaScript>
var randNum;
{
randNum = (Math.floor(Math.random()*20)+1);
document.write('<a href="http://www.oberlin.edu/descript' + randNum + '.html" target="_blank"><img src="images/image' + randNum + '.jpg" width="110" height="110" border="0"></a>');
}
</script>

What I really wanted to do:
Have a pop-up window with defined height and width display a description about the particular random image shown in the parent window. I tried to incorporate the Dreamweaver JavaScript pop-up code to the above code, but I don't know how to make it work. Please help!

Sincerely,
Cary Foster



Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.