|
Post by Ron on May 4, 2004 2:49:56 GMT
Use the code below to have your SayBox open in a pop-up window. <script type="text/javascript"> function popSayBox() { var username = 'USERNAME'; /* Your SayBox username */ var width = 170; /* The width of the pop-up */ var height = 365; /* The height of the pop-up */
var SayBoxwin = window.open('http://saybox.co.uk/saybox.php?user='+username,'SayBoxwin','width='+width+',height='+height+',top='+parseInt((screen.height - height) / 2)+',left='+parseInt((screen.width - width) / 2)+',scrollbars=no,resizeable=no'); SayBoxwin.focus(); } </script> <a href="javascript:popSayBox();">SayBox</a>
Change all of the parts in blue and copy/paste wherever you want the link to appear.
|
|
|
Post by Tau Online on May 16, 2004 14:09:49 GMT
Very useful code although you forgot to change the inter-changeable parts to blue
|
|
snap2000
Full Member
Consistently Inconsistent
Posts: 113
|
Post by snap2000 on May 16, 2004 21:13:40 GMT
Funny I just use this: <a href="#" onclick="window.open('saybox.php','saybox','width=225, height=580, resizable=no, status=yes');return false">Launch SayBox!</a>
|
|
|
Post by lochii on Nov 8, 2005 7:30:40 GMT
is there any way of changing the background colour of the popup(defaults white), to an image so its the same as the image on my forum? And on the toolbar with 'minimize','maximize' and 'restore' any way of chahing the text there? as its named after me but i want it named after my forum?
thanks very much in advance great apprieted ;D
|
|
|
Post by real_decimic on Nov 9, 2005 20:44:54 GMT
If you have entered a Background color on the Appearance settings, then the background color will change. BTW, this code isn't needed anymore as this is now a built-in feature.
|
|