Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

59 users online



Need help

Need help

Currently viewing this thread: 1 (0 members and 1 guests)


Tidus2K2

Tidus2K2

Neverside Newbie
Status: Offline!

Need help

Ok i've got this code down and what it's supposed to do is open up a new window but have it a fixed size that I can specify...It works but now that I'm trying to put in other sizes it is not working, can you guys see the error in the code, because I can't.. here is the code

<script type="text/javascript">
function openpopup(popurl){
var winpops=window.open(popurl,"","width=600px,height=500px")
}
</script>
<a href="javascript:openpopup('http://www.examplesite.com/page.htm')">ArchivedNews</a><br>

Thx a lot in return

___________________

And you know what else grinds my gears. YOU AMERICA. **** YOU!!

sparky

sparky

I need a haircut
Status: Offline!

JavaScript's strange, take out the 'px'. Adding a semicolon is good practice, too.

Code:

<script type="text/javascript">
function openpopup(popurl){
var winpops=window.open(popurl,"","width=600,height=500");
}
</script>
<a href="javascript:openpopup('http://www.examplesite.com/page.htm');">ArchivedNews</a>

___________________

Jon Culver Chia Pets

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0162 seconds.