26 September 2005, 04:47 UTC#1
I am trying to make our site so when you click our guestbook link, a small window pops up with "Sign or view guestbook" in it, then when clicked it opens a new page. Does anyone know the code to open a window in a certain size box?
26 September 2005, 04:50 UTC#2
<script language="JavaScript"><!--
window.open("http://www.yourdomain.com/page.html", "WindowA", "width=525,height=400,scrollbars=yes"); //--></script>
there it is
26 September 2005, 04:57 UTC#3
I put the code in before all the html but it's not doing anything.....It's been forever since I hardcoded anything and I forget.
26 September 2005, 05:07 UTC#4
<a href="#" onClick="window.open('http://www.yoursite.com/link.html', 'WindowA', 'width=525,height=400,scrollbars=yes');">
sry, forget the link part of it, I think that will work
so put that in your main page, change the link to the popup to select, and change the size and stuff.
26 September 2005, 05:22 UTC#5
It wont work, I am working with flash and I'm not sure how to incorporate that into it. Thanks anyways
26 September 2005, 05:48 UTC#6