View Full Version : what am i doing wrong? (popup)


thosekindofdays
03-12-2005, 02:27 AM
I've done almost everything I could think of and went through a bunch of threads of those who had similar problems, but I just can't figure out what's wrong.

When I try to open my popup window, nothing happens. But, when I try to open the non-popup version, it opens. I'm really confused and frustrated and would apprechiate someones, ANYONES, help here.

Thank you so much!

http://tkod.glass-slippers.net/

starlet
03-12-2005, 03:01 AM
<script language="javascript" type="text/javascript">
//<!--
function popup()
{ window.open

("http://tkod.glass-slippers.net/index2.html","openpopup","width=877,height=439,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>

Don't copy and paste that, the forum adds random spaces and will make it not work, but you just need to swap things around....you changed the wrong part...change where you have openpopup to popup and vice versa, hope that makes sense.

thosekindofdays
03-13-2005, 01:09 AM
A window keeps coming up saying:

An error occured on the script in this page.
Line:1
Char:2
Error:Object expected
Code:0
URL:http://tkod.glass-slippers.net
Do you want to continue running scripts on this page?

I ddi the changes that you told me to. Any other suggestions?