Popup

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Popup

Post by Straterra »

I have this code. It works PERFECTLY on another page of mine, but not on this certain page!

Code: Select all

<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
&#123;
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
 href=mylink;
else
 href=mylink.href;
window.open(href, windowname, 'width=400,height=100,scrollbars=no,toolbar=no,status=no,resizable=yes');
return false;
&#125;
//-->
</SCRIPT>
<BODY onLoad="popup('musicphp5.php', 'eckmusic')">
<BODY bgcolor ="#000000" text="#FFFFFF" link="#0000FF" vlink="#0000FF" alink="#0000FF">

A link to the site where that is, is http://eckclan.sytes.net
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

Well, I just visited http://eckclan.sytes.net, but my pop-uop-blocker sounded the alarm and stopped the popup. So, I guess on that site the popup works! I just block it and therfore don't see it. Ergo: I love Mozilla! 8)
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Oh, thank you then. It doesn't seem to work for me..Oh well. See? Some popups are for good! That popup is just for playing selected music. :P
Post Reply