IE always jumps to Google Iframe maps - WHY?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

IE always jumps to Google Iframe maps - WHY?

Post by simonmlewis »

Code: Select all

<iframe width="500" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&source=embed&hl=en&geocode=&q=RG1+8EQ&aq=&sll=53.800651,-4.064941&sspn=14.171015,53.393555&ie=UTF8&hq=&hnear=Reading+RG1+8EQ,+United+Kingdom&t=h&layer=c&cbll=51.464274,-0.983925&cbp=12,344.07,,0,7.11&ll=51.465572,-0.984263&spn=0.002593,0.029311&z=14&panoid=K3K3JIk10_7imqDCif6pLw&output=svembed"></iframe><br /><small<br/><br/><a href="http://maps.google.co.uk/maps?f=q&source=embed&hl=en&geocode=&q=RG1+8EQ&aq=&sll=53.800651,-4.064941&sspn=14.171015,53.393555&ie=UTF8&hq=&hnear=Reading+RG1+8EQ,+United+Kingdom&t=h&layer=c&cbll=51.464274,-0.983925&cbp=12,344.07,,0,7.11&ll=51.465572,-0.984263&spn=0.002593,0.029311&z=14&panoid=K3K3JIk10_7imqDCif6pLw" style="color:#0000FF;text-align:left">View Larger Map</a></small>
We have this code in our database.
It renders it onto the browser perfectly, and views the map.

But - when you load the page in IE8, and the map is about 2/3s the way down the page where it should be, BUT it jumps straight down to that page.

In Firefox, it's fine. Page loads at the top and you can scroll down.
IE8 - jumps straight down to it.

Has anyone come across this before, and if so, how can u fix it??

Simon
Last edited by califdon on Wed Feb 23, 2011 3:44 pm, edited 1 time in total.
Reason: Moved by moderator to HTML/CSS UI forum
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
benacheson
Forum Newbie
Posts: 15
Joined: Wed Feb 23, 2011 12:59 pm

Re: IE always jumps to Google Iframe maps - WHY?

Post by benacheson »

I can't replicate your problem, it seems to work fine. Can you paste the URL of the page in question, without "http : //www."
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: IE always jumps to Google Iframe maps - WHY?

Post by simonmlewis »

At the moment, sorry no I can't, as it is in BETA stage and behind passwords, that I obviously cannot post here.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
benacheson
Forum Newbie
Posts: 15
Joined: Wed Feb 23, 2011 12:59 pm

Re: IE always jumps to Google Iframe maps - WHY?

Post by benacheson »

If you want to PM me the password, I'm happy to help.
benacheson
Forum Newbie
Posts: 15
Joined: Wed Feb 23, 2011 12:59 pm

Re: IE always jumps to Google Iframe maps - WHY?

Post by benacheson »

If you want to PM me the password, I'm happy to help.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: IE always jumps to Google Iframe maps - WHY?

Post by simonmlewis »

Not to be rude, but I genuinely don't think showing it live to you will make an difference to finding the fault.
I think it is something to do with the Flash or software Google uses, and IE8 just decides to jump down to it.
FF never does it.

I've tried putting an ancor at the top, and making the link go to that ancor when the page loads, but it has no effect.

Have you tried putting that HTML into a page, further down the page, then linking to the page? If you have, let me know. I'll try the same, rather than doing it via the db.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: IE always jumps to Google Iframe maps - WHY?

Post by simonmlewis »

No I didn't. This was ages, and I think we ditched the idea in the end.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply