SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Zero Point Zero Siebird's Avatar
    Join Date
    Feb 2007
    Location
    York, PA
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to play music cont. on page loads?

    Hi,

    I was wondering if there is a way of playing music continuously on page load and reloads...so there is no interruption between pages. I know it can be done via iframes, but I want to stay away from them. Any ideas? Examples?

  2. #2
    We're from teh basements.
    Join Date
    Apr 2007
    Posts
    1,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could use AJAX and DHTML to load and display the other page content without reloading the page.

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,875
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    You could attach the music file to a link in the first page. People would then click the link to staqrt the music which would then play in a separate program independently of whatever page they visit with their browser.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    We're from teh basements.
    Join Date
    Apr 2007
    Posts
    1,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by felgall View Post
    You could attach the music file to a link in the first page. People would then click the link to staqrt the music which would then play in a separate program independently of whatever page they visit with their browser.
    I like this idea better. I listen to my own music in Winamp while using the computer. It annoys the crap out of me to have competing music suddenly begin playing when I open a Web page. *cough*MySpace*cough*


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •