Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Opera doesn't work with iframe and anchors

It works in chrome, but not opera

6:14 am on Oct 15, 2009 (gmt 0)

New User

5+ Year Member

joined:Oct 15, 2009
posts: 2
votes: 0

Hi, I used Opera's kiosk mode, to load a page. I have put a iframe above the page, with the weather. The problem is I couldn't find any decent weather, but I could use Google's weather.

Is the page, which will just let you see the result. I also measured it's height, and added scrolling=no . It works perfectly in Chrome, however in Opera it don't seem to work - it just shows the top of the page.

[edited by: incrediBILL at 7:23 am (utc) on Oct. 15, 2009]
[edit reason] removed link [/edit]

5:08 pm on Oct 15, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

Hello lailai, and welcome to the forums.

As you see, we don't allow personal links. That's because we want this thread to be useful to others in the future, even after you've fixed the problem on the actual page.

Here's how we can help. First, run your page through the W3C HTML Validator [validator.w3.org].

If there are no errors, then post just enough of your HTML to reproduce the problem. There are guidelines and suggestions for how to do that in this thread: LINKS and posting CODE [webmasterworld.com]

11:11 pm on Oct 15, 2009 (gmt 0)

New User

5+ Year Member

joined:Oct 15, 2009
votes: 0

Okay, so I used google's result page to display the answer. I did this with a #res anchor on google's result pgae.
Doctype: HTML 4.01 Transitional (full version)

I ran it through the w3c validator, and there isn't any problem. Here is the code that fails:

<iframe id="w" src="http://example.com/#res" height="105" width="325"></iframe>

In Opera, it doesn't jump to #res