Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html > How to automati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9945 of 10317
Post > Topic >>

How to automatically change the current window?

by Moo <rodneylowe@[EMAIL PROTECTED] > May 12, 2008 at 02:43 PM

I've got a pop-up flash audio player for my site that auto plays when 
the user clicks on a link.

It works fine the first time, but if the pop-up window is left open 
(which it will be as people will likely be browsing whilst listening to 
the audio) and I click on another audio link (or the same link twice), 
it won't auto-play until I manually change to the pop-up window.  As 
soon as I click on the pop-up window again it plays fine.

Is there anyway to tell the browser to switch to the pop-up that's 
already open once the new page has been loaded in the pop-up (containing 
the relevant player linked to the correct mp3) thus starting the audio?

I understand that it might sound annoying for the viewer of the site, 
but the link explains exactly what will happen and gives more freedom to 
the viewer to browse whilst the audio is playing in the pop-up.

An example can be seen here:

http://www.cafepress.com/sfclothing/5528673

Click on the link and it will auto-play, click it again and it will stop 
until the pop-up window is accessed.

EDIT:

Ah, this problem actually seems to be related to firefox specifically, 
it works fine in IE.. any suggestions?

Many thanks,

Moo

-- 

My blog - http://degeneratemoo.livejournal.com
 




 1 Posts in Topic:
How to automatically change the current window?
Moo <rodneylowe@[EMAIL  2008-05-12 14:43:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:41:47 CDT 2008.