I have been held up with this for about a week now and have searched all over for an answer to no avail. I'm sure it is a simple something I am missing but I'm still learning and obviously have a long way to go. Hope this is posted in the right place.

I am trying to create a simple pop-up window which contains a podcast.
When I embed the code into an existing page, it appears with no problems but when I launch the pop-up containing the player I get security warnings for script and active-x which is a big no no.

I would appreciate if someone can please help me eliminate the warnings and tell me where I am going wrong.

Here is the source for the pop-up window.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>Murphy's Saloon</title>
<style type="text/css">
#main {
width: 220px;
border: 1px solid black;
text-align: left;
position: absolute; top: 10px; left: 50%;
margin-left: -110px;
}
#player {
width: 220px;
}
</style>
</head>
<body style="background-color: black;">
<div id="main">
<div id="player">
<embed style="width: 220px; height: 160px;" id="FeedPlayerAudioSlim" type="application/x-shockwave-flash" 

src="http://www.bigcontact.com/feedplayer-slim.swf?r=2&amp;xmlurl=http%3A%2F%2Fmurphyssaloon%252elibsyn%252ecom%2Frss" 

allowscriptaccess="always" quality="best" bgcolor="#867676" scale="noScale" wmode="window" salign="TL" 

flashvars="initialview=menu&amp;autoplay=no&amp;standalone=no&amp;share=yes&amp;repeat=no" align="center"> 
</div>
</div>
</body></html>

And the code I am using to launch it...

<a href="http://localhost/axe/popups/murphy.html" onclick="window.open('http://localhost/axe/popups/murphy.html','Blues Podcast','width=240,height=180,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=50,top=10'); return false">Murphy's Saloon</a>

> I would appreciate if someone can please help me eliminate the warnings and tell me where
> I am going wrong.

The solution here (nor the problem) lies with Javascript. You need to make suitable changes to your browser settings [firewall settings, anti-virus settings etc.] to make those pop ups go away. I am pretty sure you can understand the grave implications of disabling such security related checks from Javascript against the users' permissions.

If using IE, make sure your site is in 'Trusted Zone' along with changes made to the various other settings [Tools -> Internet Options -> Advanced / Security / Privacy].

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.