Bit of quick help needed please

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

evermore2000

Established Member
Impact
7
Hey,

My site in www.unsigned.fm When you click on the 'Tune In' button i want my media player to open in a pop up window. I have the pop up code which creates a page like this :

www.unsigned.fm/mp3s/document.html

Then you have to click on the Text to open the media player.

How do I 'skip' this page so that when the 'Tune In' button is pressed the pop up media player opens? So that you do not get redirected to the page above before you get to the media player.


Any help is appreciated please!

Many tahnks

Rob :)


The code for the pop up is :

<script language="JavaScript" type="text/JavaScript">
<!--
function wimpyPopPlayer(theFile,id,stuff) {
window.open(theFile,id,stuff);
}
//-->
</script>
<a href="javascript:;" onClick="wimpyPopPlayer('http://www.unsigned.fm/mp3s/myWimpy.html','wimpyMP3player','width=520,height=300')">UNSIGNED.FM Media Player</a>
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You almost had it! Well, I'll guide you through the process anyhow. On the "Tune In" Button (ensure that it is a Button by pressing F8) in Macromedia Flash, simply insert the following action:
Code:
on(release) {
getURL("javascript:wimpyPopPlayer('http://www.unsigned.fm/mp3s/myWimpy.html','wimpyMP3player','width=520,height=300');");
}
As you probably already know, the below lines go between the <header> tags of the HTML document:
Code:
<script language="JavaScript" type="text/JavaScript">
<!--
function wimpyPopPlayer(theFile,id,stuff) {
window.open(theFile,id,stuff);
}
//-->
</script>
That should the job perfectly! Good luck with your radio, Rob! :tu:
 
0
Close
Thanks a lot Mr.Websites! It worked. Its been buggin me for days hehe. One step closer now.

Thanks again

Rob :wave:
 
0
Close
Sure, let me know if there's anything else you may need. :wave:
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back