Go Back   Aural Moon - Progressive Rock Discussion > Station News > Website
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 04-05-2008, 08:30 AM
VAXman's Avatar
VAXman(Admin) VAXman is offline
progger propellerhead
 
Join Date: Dec 2003
Location: Presently reside in Jackson (southern) NJ (20 miles east of NEARfest 2002 & 2003
Posts: 2,362
Send a message via AIM to VAXman Send a message via Skype™ to VAXman
Re: Now Playing Peel Box

Quote:
Originally Posted by VAXman View Post
If the browser refused to obey the commands given to it, there's little I can do.

The window.open() call is invoked with parameters to disable that. Your browser, IE7, refuses to honor it. No surprise there!
FWIW, here is the command when you click on the "Now Playing" tab:

javascript:
  1. node=document.getElementById('nowplaying');
  2. node.parentNode.removeChild(node);
  3. window.open('playingdetached.php','x','menubar=0,t oolbar=0,width=900,height=161,status=0,scrollbars= 0');
  4. window.self();

What this deos:
  1. obtains the node object for the 'Now Playing' DIV on the main page.
  2. removes the 'Now Playing' DIV object from the main page
    These first 2 lines cause the 'Now Playing' to disappear when you click on the tab.
  3. This creates the popup window with the ''Now Playing' information.
    This command has several options specified:
    • menubar=0; open new window without a menu bar.
    • toolbar=0; open new window without a tool bar.
    • status=0; open new window without a status bar.
    • scrollbars=0; open the window without scrollbars.
    • height=161;
    • width=900;
  4. set focus.

I've added 'location=0' to the list of parameters. Let me know if that helps alleviate your problem.
__________________
VAXman -- Watcher of the moon, watcher of all.
----------------Mopper of the moon, mopper of all.
-------------------- Aural Moon's Janitorial Services
---------------------and Restroom Supplies, and Techno-patsy --

Cogito ergo iMac.         
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 06:29 AM.