![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2007
Location: UK
Posts: 6
OS: XP service 2
|
Image pop ups/help with code
Hi folks, first post, hope you all well.
Could someone help, I'm giving myself a headache trying to work out what I'm doing wrong. ![]() On this page of my sisters site here http://www.fionafairensemble.org.uk/gallery.htm when you click on the images all I want is for the popup to appear but I am also getting the page behind, if that makes any sense. Clearly my code is rubbish!! Help greatly appreciated!
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
|
Re: Image pop ups/help with code
It's because there is still a URL in the link. Example:
HTML Code:
<a href="gall3.htm" onClick="MM_openBrWindow('gall3.htm','','width=492,height=364')">
What you can do is leave the URL blank or make it "#" which will do nothing but reload the current page (which will be instant as it's already cached) HTML Code:
<a href="#" onClick="MM_openBrWindow('gall3.htm','','width=492,height=364')">
HTML Code:
<img src="test.jpg" width="85" height="50" alt="" onClick="MM_openBrWindow('iframe.htm','','width=492,height=364')" />
|
|
|
|
![]() |
| Thread Tools | |
|
|