Hi there,
I've been trying to embed a Grooveshark playlist widget in a javascript pop-up window that opens on click, but I can't get it to work. It's the src-code that causes the trouble, it seems.
Here's the Grooveshark code:
<object width="450" height="300"><param name="movie" value="http://grooveshark.com/widget.swf" /><param name="wmode" value="window" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=62128982&bbg=7bc99b&bth=7bc99b&pfg=7bc99b&lfg=7bc99b&bt=ffffff&pbg=ffffff&pfgh=ffffff&si=ffffff&lbg=ffffff&lfgh=ffffff&sb=ffffff&bfg=fa2364&pbgh=fa2364&lbgh=fa2364&sbh=fa2364&p=0" /><embed src="http://grooveshark.com/widget.swf" type="application/x-shockwave-flash" width="450" height="300" flashvars="hostname=cowbell.grooveshark.com&playlistID=62128982&bbg=7bc99b&bth=7bc99b&pfg=7bc99b&lfg=7bc99b&bt=ffffff&pbg=ffffff&pfgh=ffffff&si=ffffff&lbg=ffffff&lfgh=ffffff&sb=ffffff&bfg=fa2364&pbgh=fa2364&lbgh=fa2364&sbh=fa2364&p=0" allowScriptAccess="always" wmode="window" /></object>
And here is the code I used to open the pop-up window via javascript:
<a href=........ onclick="NewWindow(this.href,'Soundtrack','450','300','no','center');return false" onfocus="this.blur()">click to open player in pop up</a>
I just want the 'object' to be displayed in the pop up. The javascript I used is correct, it's working with any other embedded code. Please help me?