View Full Version : pop up window from pop up window


pinstripe_pride
05-18-2003, 09:35 AM
i'm trying to link one pop-up window from another pop-up window, but the 2nd page stays in the first pop-up. in other words, my content is in a popup, and i want to link from my content to my guestbook in another popup. sorry if this was here already but i'm new & i only did a bit of searching before i gave up. here's my codes:

first:
<script>
<!--
function leave()
{window.open("leave.html","cam"," width=490,height=280,location=no,menubar=no,resiza ble=no,scrollbars=no,status=no,titlebar=yes,toolba r=no")}
-->
</script>

second:
<script>
<!--
function guest()
{window.open("http://placenta.signmyguestbook.com","cam"," width=490,height=280,location=no,menubar=no,resiza ble=no,scrollbars=yes,status=no,titlebar=yes,toolb ar=no")}
-->
</script>

Greeno
05-18-2003, 11:51 AM
You have to have a link to your guest book in your first pop up screen. If you already have that, than try this code :


<script>
<!--
function guest()
{window.open("http://placenta.signmyguestbook.com" target="_blank","cam"," width=490,height=280,location=no,menubar=no,resiza ble=no,scollbars=yes,status=no,titlebar=yes,toolba r=no")}
-->
</script>


If not.. Sorry. I did my best.

Dude128
05-19-2003, 02:50 AM
I think your problem might be in names- both popups are called cam, so the link in the first popup is being targeted to that same window. try changing one :)