static sidebar

Viewing 5 posts - 1 through 5 (of 5 total)
  • #1836
    telsea
    Participant

    Is there a way to make the sidebar static, I have a music player in the sidebar and would like it to stay playing when other pages are visited.

    #1837
    Daniel Tara
    Keymaster

    I don’t know any ways of doing that, but as a suggestion you could open the player in a popup/popunder instead of the sidebar.

    #1838
    telsea
    Participant

    Thanks for the quick response, can you expound on the popup/popunder please?

    #1839
    Daniel Tara
    Keymaster

    Well, you could enter a script like this in the document’s head:

    <script type="text/javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=100,height=200,left = 590,top = 300');");
    }
    </script>

    and call in the body tag like this:

    <body onLoad="javascript:popUp('http://yoursite.com/player.html')">
    #1840
    telsea
    Participant

    Thanks, I’ll give that a try!

Viewing 5 posts - 1 through 5 (of 5 total)

Tagged: 

You must be logged in to reply to this topic.