PDA

View Full Version : Chromeless windows 3.0 problem??


Roger Sherwin
17.06.2001, 18:55
I am trying to do a revamp of my site and have encountered a little problem

I have a demo setup at http://www.beacon77.freeserve.co.uk/scrollareaproject/scroller2.htm

If you load the external page Cerv-1 into the scroller and then click on the picture a larger picture opens in a chromeless window
This works fine on my computer with a 800 x 600 screen with ie5.5
On my daughter's computer running ie5.5 but with a 1024 x 768 screen she gets an error "Access denied"
Could anybody try it on their system and let me know if it works for them perhaps something is clashing on her computer or I have made an error somewhere

Thanks in advance


Roger Sherwin
URL=http://corvette-online.net
Mail=roger@beacon77.freeserve.co.uk

DCage
17.06.2001, 20:47
Hi.

Your problem might be this line at the bottom of chromeless_30.js:

splashWin.focus();

IE has a bug where it sometimes kicks back an Access Denied error when trying to focus a popup window too soon after creation. Try commenting it out:

//splashWin.focus();

and adding this line:

onload="self.focus()"

inside the BODY tag of CarID_1343.htm:

<BODY bgcolor="#000000" onload="self.focus()">

If it clears up the trouble, then add it to every page that gets loaded into the popup.

Roger Sherwin
18.06.2001, 14:28
Message for D.Cage

Thanks for your help - the problem is now cured

thanks again


Roger Sherwin
URL=http://corvette-online.net
Mail=roger@beacon77.freeserve.co.uk