Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 17th, 2006, 06:35 AM
Authorized User
 
Join Date: Oct 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Curious image map issue... can you help?

Hi,

I have noticed a strange behaviour on my web page (I am testing with IE6 on a PC). Can you identify the cause?

www.naturalsouls.co.uk/map

As you move the mouse over the list or map, the cursor flickers with the mouse-hourglass cursor. When moving rapidly over the map, you can sometimes get the image to disappear (replaced with X-image box).

Now - if you click a region you will go to a "not found" page (no problem - I just haven't made it yet). NOW - click the back button to go back to the map page. Now you will see that the cursor flicker no longer occurs and the map no longer disappears. I want the behaviour of the map to be like that ALWAYS, even when you first come to the page.

So... what is going on here? Why the flicker? How can I get rid of the problem?

The source is available to view via the browser, of course. Please advise.

Thanks.

 
Old November 24th, 2006, 01:51 PM
Authorized User
 
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

>As you move the mouse over the list or map, the cursor flickers with >the mouse-hourglass cursor. When moving rapidly over the map, you can
>sometimes get the image to disappear (replaced with X-image box).

I suspect the images are not fully loaded when the page is loaded (slow internet connection). So when you roll over the images the image swap is having to trying to finish loading the image

http://www.pageresource.com/jscript/jpreload.htm

I was not able to recreate the behavior you describe in FF or ie7 using a cable connection.

Earl
www.jhdesigninc.com

 
Old November 29th, 2006, 03:10 PM
Authorized User
 
Join Date: Oct 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmmm... not sure. The images ARE preloaded on the page (see the source), so there's no reason for them to be re-loaded from the server on rollover.

At least you weren't able to see the glitch, but theoretically it shouldn't happen at all, regardless of IE version.

Anyone have any other ideas on this?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Heat Map over Google Map ajit Javascript 0 March 7th, 2008 09:01 AM
Map image or make graphic button dvukovic VB How-To 2 May 19th, 2007 11:45 PM
Use Map/image maps teresagoh Javascript 4 February 11th, 2006 03:54 AM
Image Map Coords interrupt Javascript How-To 1 March 8th, 2005 09:59 AM
Image Map? sporkman43 VB.NET 2002/2003 Basics 2 July 1st, 2004 10:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.