Click to See Complete Forum and Search --> : pop up redirect window .2 targets


catweasle
04-22-2003, 11:42 AM
heres the problem, I have to redirect to a page with a graphic button but that button also needs to open a small no scroll bar window with a message saying where they are being redirected to and why, I have a code that will shut the smal window automatically, my problem is linking to the new page and opening a jave pop up within the same 'ahref ' tag, please help.

Jona
04-22-2003, 11:44 AM
<a href="your_file.html" onClick="window.open('my_chromeless_file.html','','toolbar=no')"><img src="my_image.gif"></a>

khalidali63
04-22-2003, 12:16 PM
this is a logical problem it seems.
if you have afunction that opens the popup then you need to do this in that function

first open the popup with something like this
window.open(url,name)
and here you can write you redirect code
window.location.href = url

catweasle
04-22-2003, 12:48 PM
Thanks Jona, that sorted me right out, you are as they say, a Dancer. cheers.!

Jona
04-22-2003, 12:52 PM
---Even though I wasn't sure if I had given the correct answer... :rolleyes: