homepage Welcome to WebmasterWorld Guest from 54.242.18.232
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
Opera not liking iframes?
Opera doesn't load iframes on initial open
moglite




msg:3514187
 3:20 am on Nov 27, 2007 (gmt 0)

I have a website that uses iframes to display dynamic content from a database. Works ok with all browsers except opera (and apparently safari but cant check that on my windows pc - even the new beta version wont work)

When I first open the site in opera, it doesn't load any dynamic content, but if I click on a menu item it then loads everything properly.

The initial load is triggered with this:

<body onLoad="this.open('blockNav.asp?sectionID=8', 'navigation')">

Is there any reason this would work with ie & firefox but not opera?

Thanks

 

encyclo




msg:3559952
 7:54 pm on Jan 28, 2008 (gmt 0)

Welcome to WebmasterWorld moglite, sorry it took so long to reply to your post. Did you find a solution to this? Are you using any Javascript for compatibility checking (eg. document.all etc.)? Have you tried disabling the pop-up blocker?

moglite




msg:3561941
 1:51 pm on Jan 30, 2008 (gmt 0)

Hi encyclo

Sorry, yes i did find a solution. Apparently the problem was 'this.open' - i replaced it with 'window.open' and this fixed the problem. so now i use:

<body onLoad="window.open('blockNav.asp?sectionID=1', 'navigation')">

Thanks for replying. Hope this is useful for someone else

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved