Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > Web

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 04-12-2000, 04:56 PM
Will
Guest
 
Posts: n/a
Mouseover triggered before page load complete.


I have an application that contains an image map with mouseover and mouseout
events tied to each area of the map. The mouseover event displays a positioned
text element (inside div tags) that provides a description of area of the
image map. In some cases when the page is loading, it is possible for the
mouseover event to be triggered before the positioned and hidden text element
is actually loaded (or so it appears). When this happens, an error occurs
informing the user that the object to display cannot be found.

I tried moving the div tags to load before the image, but this seems to cause
problems for Netscape when rendering a <select> tag (it displays the text
as a paragraph, not a listbox). Any suggestions on how to prevent this error?

Thanks for any help.
Reply With Quote
  #2  
Old 04-13-2000, 08:15 AM
Pazit
Guest
 
Posts: n/a
Re: Mouseover triggered before page load complete.


"Will" <wvburke@lava.net> wrote:
>
>I have an application that contains an image map with mouseover and mouseout
>events tied to each area of the map. The mouseover event displays a positioned
>text element (inside div tags) that provides a description of area of the
>image map. In some cases when the page is loading, it is possible for the
>mouseover event to be triggered before the positioned and hidden text element
>is actually loaded (or so it appears). When this happens, an error occurs
>informing the user that the object to display cannot be found.
>
>I tried moving the div tags to load before the image, but this seems to

cause
>problems for Netscape when rendering a <select> tag (it displays the text
>as a paragraph, not a listbox). Any suggestions on how to prevent this

error?
>
>Thanks for any help.


You can replace the alt property of the image when the events fires

Reply With Quote
  #3  
Old 04-28-2000, 05:44 AM
Paul
Guest
 
Posts: n/a
Re: Mouseover triggered before page load complete.


Why don't you try attaching your event handlers after the page is loaded?

"Will" <wvburke@lava.net> wrote:
>
>I have an application that contains an image map with mouseover and mouseout
>events tied to each area of the map. The mouseover event displays a positioned
>text element (inside div tags) that provides a description of area of the
>image map. In some cases when the page is loading, it is possible for the
>mouseover event to be triggered before the positioned and hidden text element
>is actually loaded (or so it appears). When this happens, an error occurs
>informing the user that the object to display cannot be found.
>
>I tried moving the div tags to load before the image, but this seems to

cause
>problems for Netscape when rendering a <select> tag (it displays the text
>as a paragraph, not a listbox). Any suggestions on how to prevent this

error?
>
>Thanks for any help.


Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:34 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.