|
Posted by Ed Mullen on 02/19/06 04:56
groovetherapy@2ser.com wrote:
> Hi,
>
> I am creating my web page so that if you click on a picture, it opens
> up a new window. Pretty easy stuff - but the problem is that it doesn't
> open up a new window with every pic. Instead it just replaces the
> image.
>
> How can I ensure a new window is opened up everytime.
>
> here is my code (am I missing something?)..
>
> <a href="#" target="_top"
> onClick="MyWindow=window.open('http://www.groovetherapy.com.au/images/label_scans/calbido.jpg','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=565');
> return false;"><img
> src="http://www.groovetherapy.com.au/images/small_scans/calbido_sml.jpg"></a>
>
>
> ..and you can check out the page here:
>
> http://www.groovetherapy.com.au/archive.htm
>
FYI, my browser is set to NEVER open a new window. It will always open
a new tab instead. Trying to force visitors to do what you want is
probably not a polite thing, and many people will be either confused by
it or very ticked off.
--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Navigation:
[Reply to this message]
|