View Single Post
Old 04-05-2008, 08:30 AM
VAXman's Avatar
VAXman(Admin) VAXman is online now
progger propellerhead
Join Date: Dec 2003
Location: Presently reside in Jackson (southern) NJ (20 miles east of NEARfest 2002 & 2003
Posts: 2,355
Send a message via AIM to VAXman Send a message via Skype™ to VAXman
Re: Now Playing Peel Box

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

The 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:

  1. node=document.getElementById('nowplaying');
  2. node.parentNode.removeChild(node);
  3.'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