Reply to Re: open new window

Your name:

Reply:


Posted by BootNic on 02/19/06 04:41

> "groovetherapy@2ser.com" <groovetherapy@2ser.com> wrote:
> news:1140315880.464509.15310@f14g2000cwb.googlegroups.com....
>
> 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?)..
>
[snip]
>
> ..and you can check out the page here:
>
[snip]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
var MyWindow;
function pop(x){
MyWindow=window.open(x.href,x.target,'width=600,height=565')
}
</script>
<title></title>
</head>
<body>
<a href=
"http://www.groovetherapy.com.au/images/label_scans/calbido.jpg"
target="_blank" onclick="pop(this);return false;"><img src=
"http://www.groovetherapy.com.au/images/small_scans/calbido_sml.jpg">
</a>
</body>
</html>

--
BootNic Saturday, February 18, 2006 9:39 PM

Wife who put husband in doghouse soon find him in cat house.
*Ancient Chinese Proverbs*

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация