- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
[link deleted]
I want the mp3 flash player in the top of the site never stop playing the music while browsing other pages (inside the page). What’s the best way to do this? Iframe? Ajax?
Thanks
The "best" way to do it is have a small pop up window that your user can open then use the player in it.
Iframes and aJax – I would go with ajax before an iframe but both are pants really.
As a word of advice on a user interaction front – most people when browsing the web are listening to music – so do not autoplay your site’s music when the user loads the window – because if it clashes with their music it will sound terrible and their first reaction is to close your window. This is especially relevant for a site promoting music, as the visitors would most definitely be "muso’s" (english slang for music lovers…) listening to something :)
Yeah, i think popup is the best way. Already implemented!
Thanks for your help. :)
awesome :-)
Another question..
It will open the poup window every time that body is loaded, so i want to implement a function that:
– verifies if the popup is already opened (to not reload)
– and load-it only 1 time in one session (for the people that closed it)
Thanks!!
I would personally let the user open the window… it can be seen as a little rude if you force it on people :)
Yeah, I agreed with you, but it was a feature request by the client.
I write a little code to my question above.
} else {
echo “>”; }?>
Its working, thanks.