473,651 Members | 2,645 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

scrollLeft and scrollRight cause image flicker in IE

Hi, I have set up the following page http://gertrudischale.com/cgi/
viewart.pl?lang =en&i=22 to scroll in the same direction one moves the
mouse. This works fine -except in IE- where the image tends to flicker
when the scrolling takes place.

Is there an alternative way to achieve the scrolling with out the
causing the flicker?

The code is as follows:
function moveImage(event )
{

if(!event) event = window.event;

if(document.las tX!=null&&docum ent.lastY!=null ) {

document.body.s crollLeft = (event.screenX document.lastX) ?
document.body.s crollLeft+3:
(event.screenX ==
document.lastX) ?
document.body.s crollLeft:docum ent.body.scroll Left-3;

document.body.s crollTop = (event.screenY document.lastY) ?
document.body.s crollTop+3:
(event.screenY ==
document.lastY) ? document.body.s crollTop:docume nt.body.scrollT op-3;

}

document.lastX = event.screenX;
document.lastY = event.screenY;
}
document.onmous edown=new Function('retur n false');
document.onmous emove=moveImage ;

Jan 30 '07 #1
4 9618
<hu************ **@gmail.comwro te in message
news:11******** **************@ q2g2000cwa.goog legroups.com...
Hi, I have set up the following page http://gertrudischale.com/cgi/
viewart.pl?lang =en&i=22 to scroll in the same direction one moves the
mouse. This works fine -except in IE- where the image tends to flicker
when the scrolling takes place.

Is there an alternative way to achieve the scrolling with out the
causing the flicker?

The code is as follows:
<snip script>

Using Internet Explorer 6 I did see the flicker, but *only* when the Image Toolbar
appeared on the image. Otherwise, if I put my cursor above the image and quickly move it
about (before the toolbar appears) the page scrolls fine without flickering the image. Is
this when you noticed it?

If so, my guess would be that the *only* solution is to:

Tools Internet Options... Advanced (tab) Multimedia "Enable Image Toolbar
(requires restart)"

....remove the check from that box and of course restart (as required). The image stopped
flickering for me then.

You could always state somewhere on the page or on a disclaimer page that if using
Internet Explorer you must disable the "Image Toolbar" and give instructions on how to do
so.

Hope this helps.

-Lost
Jan 30 '07 #2
On Jan 29, 9:44 pm, "-Lost" <spam_ninjaREMO V...@REMOVEMEco mcast.net>
wrote:
<huntingseason. ..@gmail.comwro te in message

news:11******** **************@ q2g2000cwa.goog legroups.com...
Hi, I have set up the following pagehttp://gertrudischale. com/cgi/
viewart.pl?lang =en&i=22 to scroll in the same direction one moves the
mouse. This works fine -except in IE- where the image tends to flicker
when the scrolling takes place.
Is there an alternative way to achieve the scrolling with out the
causing the flicker?


<snip script>

Using Internet Explorer 6 I did see the flicker, but *only* when the Image Toolbar
appeared on the image.
If so, my guess would be that the *only* solution is to:

Tools Internet Options... Advanced (tab) Multimedia "Enable Image Toolbar
(requires restart)"

...remove the check from that box and of course restart (as required). The image stopped
flickering for me then.

You could always state somewhere on the page or on a disclaimer page that if using
Internet Explorer you must disable the "Image Toolbar" and give instructions on how to do
so.

Hope this helps.

-Lost
Yes, that would seem to be the cause. Ok, well thanks, I'll have to
decide what I'm going to do.

Jan 30 '07 #3
On Jan 30, 5:44 pm, huntingseason.. .@gmail.com wrote:
On Jan 29, 9:44 pm, "-Lost" wrote:
<snip>
>Using Internet Explorer 6 I did see the flicker, but *only* when the Image
Toolbar appeared on the image.
If so, my guess would be that the *only* solution is to:
<snip>
Yes, that would seem to be the cause. Ok, well thanks, I'll have to
decide what I'm going to do.- Hide quoted text -- Show quoted text -
Adding the Microsoft proprietary - galleryimg="no" - attribute to IMG
elements discourages IE from putting up the image toolbar.

Richard.

Jan 30 '07 #4
On Jan 30, 10:08 am, "Richard Cornford" <Rich...@litote s.demon.co.uk>
wrote:
On Jan 30, 5:44 pm, huntingseason.. .@gmail.com wrote:
On Jan 29, 9:44 pm, "-Lost" wrote:
<snip>
Using Internet Explorer 6 I did see the flicker, but *only* when the Image
Toolbar appeared on the image.
If so, my guess would be that the *only* solution is to:
<snip>
Yes, that would seem to be the cause. Ok, well thanks, I'll have to
decide what I'm going to do.- Hide quoted text -- Show quoted text -

Adding the Microsoft proprietary - galleryimg="no" - attribute to IMG
elements discourages IE from putting up the image toolbar.

Richard.
Alright, that works! Thanks!

Jan 30 '07 #5

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

Similar topics

1
1767
by: zelnugget | last post by:
I'm using a fading image script that I found via Google Groups on this newsgroup, and am having some difficulty with it. First, here's a link to the Google Groups posting: http://groups-beta.google.com/group/comp.lang.javascript/msg/3f287a2f20de1b10 I've modified the page linked to in the above URL by making one of the images an input element whose type is an image and am now encountering flickering problems. Here's the webpage:
0
2133
by: Deborah V. Gardner | last post by:
I am using Access 2000 and have a form with an image background (the clouds that came with Office). I also have an OnChange event on the Item control. Me.txtLength = 55 - (Len(Me.Item.Text)) Everthing works just fine. I then added a tab control. Now, whenever I add/change/delete data in the Item control, the screen flickers. If I take out the event, there is no flicker. If I use the event and remove the image, there is no flicker. If...
5
5187
by: | last post by:
Hi, I'm not sure if what I'm trying to do is possible and there is a limit to my CSS knowledge. I'm trying to generate a CSS drop-down menu from a <li> that has been replaced by an image. The drop-down menu script comes from the book "More Eric Meyers." Unfortunately, I found that my image was flickering in IE and attempted to remedy that by preloading the image (see:...
2
11139
by: AS | last post by:
Hi, I have a windows form with a background image - set through the forms background image property. The form also has panels and icons on top of it. When this form is loading, there's a lot of flicker in the screen.
0
1450
by: Blue Apricot | last post by:
I think this is straighforward enough so I don't need sample code, but I will make an example if someone doesn't understand. BACKGROUND: We have built a "skinnable" interface, which uses rollover effects using simple javascript. Before these images were defined in the HTML (IMG src and TD Backgrounds), and it worked fine. You moused over a button, for instance, and it changed immediately. Now we have switched everything to external...
1
1696
by: phrnck | last post by:
Hey all, I'm updating and adapting a gallery-type website that was done in FrontPage, in an old version. I've gotten most of it to work in modern browsers, but am stuck on one function... I am hoping someone can take a look and see where my trip-up lies. I've included just a snip from the html - where the debugger stops, thinking the problem is in the external js. Thanks in advance for any guidance!! Really stuck on this!! here is the...
3
5666
by: seamlyne | last post by:
The first method I ever used for multiple state buttons was to create a graphic for each button for each state: AboutUs_on, AbooutUs_over, AboutUs_out, etc. That works great when there are just a few buttons. I'm creating interfaces now with many more buttons than "just a few". I solved the maintenance problem by having generic button images, one for each state, and having them be background images for text containers, DIVs in this...
8
7667
by: Rainer Queck | last post by:
Hello NG, I had/have a bad flicker Problem with my Application. On starting some applications, while my app was running, the whole Display started to flicker. Even the desktop Icons! Looking for help on this issue, I ran over a anser Linda Liu at : http://groups.google.de/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/39e9f7d0b96b048f?hl=de where I found the following (quick and dirty )solution to the flicker
0
8695
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8460
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8576
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.