Working around IE7 scroll problem

A

Amir Michail

Hi,

I have a gwt widget in an iframe in a Facebook page. Unfortunately,
under IE7 when the user clicks on an image hyperlink in the widget,
the whole page scrolls down for some strange reason. This doesn't
happen with Firefox & Safari.

So how do I work around this problem? I tried to hack it by scrolling
the page back up from the widget javascript, but this doesn't work in
Facebook presumably because of the same origin policy.

Any suggestions?

Amir

P.S. This is the image hyperlink I mentioned:

http://gwt.components.googlepages.com/imagehyperlink
 
D

David Mark

Hi,

I have a gwt widget in an iframe in a Facebook page.  Unfortunately,

You used JavaScript written a piece of Google software. If Google's
developers can't write competent script, there is not much chance they
can write programs to write competent script.

[snip]
So how do I work around this problem?  I tried to hack it by scrolling
the page back up from the widget javascript, but this doesn't work in

There is even less chance that you can hack their widget into a usable
state.
Facebook presumably because of the same origin policy.

Any suggestions?

Beware of Google programs bearing script.
 
T

Thomas 'PointedEars' Lahn

Amir said:
I have a gwt widget in an iframe in a Facebook page. Unfortunately,
under IE7 when the user clicks on an image hyperlink in the widget,
the whole page scrolls down for some strange reason. This doesn't
happen with Firefox & Safari.
[...]
P.S. This is the image hyperlink I mentioned:

http://gwt.components.googlepages.com/imagehyperlink

That is *Java* code (unnecessary one, I should add). Try
comp.lang.java.programmer if contacting the author did not help.


PointedEars
 
D

David Mark

On Dec 24, 4:58 pm, Thomas 'PointedEars' Lahn

[snip]
That is *Java* code (unnecessary one, I should add).  Try
comp.lang.java.programmer if contacting the author did not help.

GWT is Java that generates JavaScript.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top