HighTechTalks DotNet Forums  

Document Dom / Table Events Problems

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Document Dom / Table Events Problems in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Just Me
 
Posts: n/a

Default Document Dom / Table Events Problems - 12-18-2007 , 03:55 PM






Hi Guys

Again, I know this isnt an IE group, but this is where the experts are and I
am working on an asp,net project. In this scenario im working ont the
client javascript handling tables mouse events.


Essentially the problem description is very simple.

I have a table with rows and cells. I want the mouseLeave and mouseEnter
event to fire when a row is entered or left.

What is happening is whenever I leave or enter a TD element the event also
fires even tho im not leavin the row. The events are defined when entering
or exiting a td in the same row.

<tr mouseleave="afunctionleave()" mouseenter="afunctionenter() > < td><td>
.. . . . .


How can I trigger the event or filter the event to I only process code wen
the row has changed.



Reply With Quote
  #2  
Old   
Coskun SUNALI [MVP]
 
Posts: n/a

Default Re: Document Dom / Table Events Problems - 12-25-2007 , 01:42 PM






Hi,

Would you like to try "onmouseover" and "onmouseout" events?

<tr onmouseout="afunctionleave()" onmouseover="afunctionenter() > < td><td>

--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com



"Just Me" <news.microsoft.com> wrote

Quote:
Hi Guys

Again, I know this isnt an IE group, but this is where the experts are and
I am working on an asp,net project. In this scenario im working ont the
client javascript handling tables mouse events.


Essentially the problem description is very simple.

I have a table with rows and cells. I want the mouseLeave and mouseEnter
event to fire when a row is entered or left.

What is happening is whenever I leave or enter a TD element the event
also fires even tho im not leavin the row. The events are defined when
entering or exiting a td in the same row.

tr mouseleave="afunctionleave()" mouseenter="afunctionenter() > < td><td
. . . . .


How can I trigger the event or filter the event to I only process code wen
the row has changed.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.