473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Working around IE7 scroll problem

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
Dec 24 '07 #1
2 1658
On Dec 24, 12:07*pm, Amir Michail <amich...@gmail.comwrote:
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.
Dec 24 '07 #2
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.
Dec 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Don Leckie | last post by:
Hi, I'm upgrading our software from JDK 1.3.1_03 to JDK 1.4.2_07 and I'm having trouble with ComponentOrientation.RIGHT_TO_LEFT working correctly in a JScrollPane. One of my windows has a...
4
by: Ross | last post by:
I have been using the following script to return a scrollbar to the position it was in before the data was posted. It works in ie but not in firefox. Thanks, R. <script...
1
by: Daves | last post by:
Sorry folks but I will be reposting this question from 6/5 until someone gives me an answer - the question is very easy and so ought the answer to be. I really need the answer! ------- I'm...
1
by: AlmasKhan01 | last post by:
Hi I have been for sometime now been working on a MineSweeper program and I'm 90% complete on it it involves a window interface and is quite simple but the issue is not. The program is long(to me)...
3
by: PrabodhanP | last post by:
I have CSS based mouseover scrolling for divContent embeded in my webpage.It works fine in IE,but not working in mozilla-FF. It is located at the location.....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.