Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop-Up window Calling (using an image, not text)

Status
Not open for further replies.

BrokenSaint

Technical User
Oct 2, 2001
18
US
Ok, I wanted to know if there was a way to call a pop - up window on your site by clicking a thumbnail image. I have the text javascript, but I need to know what the Image one is, if there is one.
This is the script I am using, on my page, but instead of text, I want to use a thumbnail image.

<!-- Begin Copy Script -->
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
function openWindow1() {
popupWin = window.open('nameoffiletopopup.html', 'remote1', 'width=320,height=240,scrollbars=0')
}
</SCRIPT>
<!-- End Copy Script -->
<a href=&quot;javascript:eek:penWindow1()&quot;>Click here to popup window</a>

see, thats fo rtext, but is there anyone out there that can tell me how to use a thumbnail image instead of text? if you can please help me on that. Thanks in advance! Broken Saint >:):O>
 
<!-- Begin Copy Script -->
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
function openWindow1() {
popupWin = window.open('nameOfPicture.gif', 'remote1', 'width=320,height=240,scrollbars=0')
}
</SCRIPT>
<!-- End Copy Script -->
<a href=&quot;javascript:eek:penWindow1()&quot;>Click here to popup window</a>
 
Hey thanks a lot, I really apreciate your help. Broken Saint >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top