Re: window.open and IE6
From: Roger Withnell (rogerREMOVE_at_THISFIRSTupperbridge.co.uk)
Date: 08/05/04
- Previous message: Lee: "Re: Jscript if then else"
- In reply to: Randy Webb: "Re: window.open and IE6"
- Next in thread: Randy Webb: "Re: window.open and IE6"
- Reply: Randy Webb: "Re: window.open and IE6"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 5 Aug 2004 15:08:29 +0000 (UTC)
The function I'm using is simply:
function HelpPage(src, width, height)
{
var PortraitWindow = window.open(src, "HelpPage", "width=" + width +
",height=" + height + ",left=200,top=100, title=no,
resizable=no,toolbar=no,scrollbars=yes,menubar=no");
PortraitWindow.focus();
return false;
}
And I tried call it using onload="return HelpPage('HelpPage.htm', '400',
'500') in the body tag and by calling it between the body tags. Both work
on IE5.5 and not on both IE6's.
If, having loaded the page, I call the function with onclick in say an input
submit type, it works in IE6.
Can't find any pop-up blockers. Not sure what you're looking for when you
ask what's different about IE6 other than the version of IE.
One difference is that Norton Anti-Virus is installed on both the IE6
machines, but not on the IE5. But how is it the onclick works and the
onload doesn't?
"Randy Webb" <HikksNotAtHome@aol.com> wrote in message
news:U7ydna6uzdUyEYzcRVn-uA@comcast.com...
> Roger Withnell wrote:
> > I am using onload in the body tag to call a function that opens an
> > additional window using window.open.
>
> That may, or may not, work. Depending on other things.
>
> > The window opens using IE5.5 but not under IE6 (on ME or XP).
>
> Whats different about the IE6 from IE5.5 other than the version of IE?
> And, do the other computers have popup blockers on them? If all else
> fails, post some code.
- Previous message: Lee: "Re: Jscript if then else"
- In reply to: Randy Webb: "Re: window.open and IE6"
- Next in thread: Randy Webb: "Re: window.open and IE6"
- Reply: Randy Webb: "Re: window.open and IE6"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|