Viewing 5 posts - 1 through 5 (of 5 total)
-
telsea
ParticipantIs 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.
Daniel Tara
KeymasterI 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.
telsea
ParticipantThanks for the quick response, can you expound on the popup/popunder please?
Daniel Tara
KeymasterWell, 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')">
Viewing 5 posts - 1 through 5 (of 5 total)
Tagged: sidebar
You must be logged in to reply to this topic.