Wizardjv
06-05-2007, 10:57 AM
I was wondering if anyone could help me do this? I was trying to make a pop up that has the shoutbox in it. So people could leave it up on desktop sorta like messanger. I figured add login to forum and the shoutbox.
It sounded easy enough use simple java pop up code
Examples:
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
return false;
}
//-->
</SCRIPT>
To call it
<A
HREF="popupbasic.html"
onClick="return popup(this, 'notes')">my popup</A>
And then in the new window make a custom page and have it like that. But after much trying it doesnt work. I know the php call for the shoutbox is $Shoutbox.
I think this would be cool idea. If someone could help would greatly appreciate it
It sounded easy enough use simple java pop up code
Examples:
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
return false;
}
//-->
</SCRIPT>
To call it
<A
HREF="popupbasic.html"
onClick="return popup(this, 'notes')">my popup</A>
And then in the new window make a custom page and have it like that. But after much trying it doesnt work. I know the php call for the shoutbox is $Shoutbox.
I think this would be cool idea. If someone could help would greatly appreciate it