PDA

View Full Version : separate window open (in front)


brajdo
11-04-2003, 05:56 AM
when you click on image on this page
http:\\users.volja.net/brajdo10/namibia.htm
a separate window will open

if you don't close the window and if you click on another picture you must click on window tab in tray to see the picture

I'd like that if you click on picture, the separate open window will be seen again in front

What's the catch?

:confused:

Vincent Puglia
11-05-2003, 12:09 PM
Hi,

I'm not sure if this is what you want, but...

<a href="#" onClick =window.open("http://users.volja.net/brajdo10/namibia/Image049.htm","newwin",["width=577,height=418"])>


function openWin(url, winStyle)
{
newwin = window.open(url,'newwin',winStyle)
newwin.focus();
}

<a href="#" onclick='openWin("http://users.volja.net/brajdo10/namibia/Image049.htm","width=577,height=418");return false'>



Vinny

brajdo
11-07-2003, 02:02 PM
hmm i think that i can't put the code right

i'd like that whenever you click on the pict, the new window will open

should i use _blank command or something similar :confused: