Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2008
    Location
    Lulworth, Dorset, England
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Palying music continuously

    Does anyone know how I could paly continuous background music as someone navigates around a website? This is wthout the music restarting when a page is reloaded and preferably without interuption.

    I want to avoid non accessible methods like I-frames and yes, I know some are going to say it's not friendly to force music on a viewer but just bear with me on that point and consider it an acedemic issue.

  • #2
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    Try making your website a frameset with two frames.
    One that has the width 0px and the other one 100%

    In the hidden frame load your player that will play music and all your website in the full frame.

    And when doing any refresh or submit or bla bla ba do it only for the big frame and keep your hidden frame untouched.

  • #3
    New Coder
    Join Date
    Jan 2008
    Location
    Lulworth, Dorset, England
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ckeyrouz View Post
    Try making your website a frameset with two frames.
    One that has the width 0px and the other one 100%

    In the hidden frame load your player that will play music and all your website in the full frame.

    And when doing any refresh or submit or bla bla ba do it only for the big frame and keep your hidden frame untouched.
    Thanks, ckeyrouz, but framesets are a bit outdated now and I do not produce web pages with them.

  • #4
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    well you can always use ajax and anchors,like so http://www.thesixtyone.com


  •  

    Posting Permissions

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