Aural Moon - Progressive Rock Discussion

Aural Moon - Progressive Rock Discussion (http://auralmoon.com/forum/index.php)
-   Website (http://auralmoon.com/forum/forumdisplay.php?f=27)
-   -   Now Playing Peel Box (http://auralmoon.com/forum/showthread.php?t=3794)

gr8sho92 04-04-2008 09:37 AM

Now Playing Peel Box
 
In IE7, the popup window has the address bar shown which causes some of the content to be shifted down and not be legible. If the address bar can be suppressed, it would work as intended.

MrMagoo 04-04-2008 12:56 PM

Re: Now Playing Peel Box
 
Must be an IE7 bug, I don't have the addr bar in XPP 2K2 SP2, IE6 or FF2, or OS10.3.9 & FF2

KeithieW 04-04-2008 01:27 PM

Re: Now Playing Peel Box
 
Quote:

Originally Posted by gr8sho92 (Post 33145)
In IE7, the popup window has the address bar shown which causes some of the content to be shifted down and not be legible. If the address bar can be suppressed, it would work as intended.

I get the same thing in FF gr8:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

But as it's a function I don't use it's not a problem for me personally....:)

RogorMortis 04-04-2008 01:48 PM

Re: Now Playing Peel Box
 
Mine disappears completely in FF but then I'm different....:D

VAXman 04-04-2008 08:27 PM

Re: Now Playing Peel Box
 
Quote:

Originally Posted by gr8sho92 (Post 33145)
In IE7, the popup window has the address bar shown which causes some of the content to be shifted down and not be legible. If the address bar can be suppressed, it would work as intended.

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!

VAXman 04-05-2008 08:30 AM

Re: Now Playing Peel Box
 
Quote:

Originally Posted by VAXman (Post 33156)
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.

gr8sho92 04-06-2008 11:38 AM

Re: Now Playing Peel Box
 
Vax, I don't see any difference.

FYI, I installed Safari 3.1 onto my XP machine out of curiosity. Apple's interpretation of the commands is very different in that the location and status bar are omitted, and consequently the popup is very clean and proper. The popup in IE7 shows the status bar in addition to location bar, and both need to be suppressed. Not sure if there's a manual way to toggle them on and off. If so, I could deal with it myself.

Re. Safari, the shout peel box works but if you try to move it, the thing spazzes out and changes size to a little larger with scroll bars.

gr8sho92 04-06-2008 11:41 AM

Re: Now Playing Peel Box
 
Quote:

Originally Posted by KeithieW (Post 33148)
I get the same thing in FF gr8:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

But as it's a function I don't use it's not a problem for me personally....:)

KW, It's all good. I just wanted to provide some observations. No loss of sleep involved.

VAXman 04-06-2008 05:55 PM

Re: Now Playing Peel Box
 
Quote:

Originally Posted by gr8sho92 (Post 33181)
KW, It's all good. I just wanted to provide some observations. No loss of sleep involved.

Defective browsers.


All times are GMT -5. The time now is 01:47 AM.

Integrated by BBpixel Team 2024 :: jvbPlugin R1011.362.1
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.