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 bkrike 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

Status
Not open for further replies.

richj55

Technical User
Jul 14, 2000
30
US
How do I create a pop-up window that appears when a thumbnail is clicked. I want to have a larger version of the thumbnail in the pop-up window with a "close" button.

Thanks,

Rich
 
Hi

Make your thumbnail link to "#" to create your "a" tags. Make sure the "a" tag is selected then go to the behaviours panel and press the "plus" and choose "open browser window".

The rest should be simple! Derren
[The only person in the world to like Word]
 
In your popup add "close window" or whatever suits you, add # in the link and instead of choosing "open browser window" select "Call JavaScript" and add window.close()


that's it...

Hope it'll help ;-) Have Fun...

Sharky99 >:):O>
 
That is great. I was able to complete the steps that Derren gave me, but where do I find the popup to complete the steps that Sharky99 gave me?

Rich
 
Sharky is just telling you to add some text or an image to the page which you are popping up to use as a close button. All you need to do is select the aforementioned text/image and type "javascript:window.close();" as the link in the properties panel.

You should now have a working popup Derren
[The only person in the world to like Word]
 
Thanks Derren, i was on another post ;-)
Have Fun...

Sharky99 >:):O>
 
Pleasure!

[fish] Derren
[The only person in the world to like Word]
 
Got it. Thank you both for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top