Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Script Callback in ASP.Net 2.0 events to handle

Reply
Thread Tools

Script Callback in ASP.Net 2.0 events to handle

 
 
=?Utf-8?B?UGl0Y2Fpcm5pYQ==?=
Guest
Posts: n/a
 
      05-25-2005
I have a page that simply displays a list of links as anchors<a>. The links
are generated from the database in a loop and written out to a table cell
<td> inner html property. The anchors each have an onmouseover javascript
that reads a short text description of the link, and writes it to a div that
was hidden. It also moves the div using absolute positining to be slightly
offset from the locus of the mouse click. The anchors each have an
onmouseout javascript that should rehide the div. Everything works fine
except for two problems.

1. If the user swipes the mouse quickly over the list of links it usually
fails to fire the last onmouseout event so the div is not hidden and instead,
is dragged around the window with the mouse until it runs over another link.

2. Whenever the callback returns the entire browser contents have a
pronounced flickerthat is somwhat annoying.

I am primarily concerned with the first problem. I want the div to remain
as long as the mouse is hovering on the link but it absolutely has to go away
when its not over one of the hyperlinks. IMHO if the mouse went over the the
link and the mouseover was fired as evidenced by the appearance of the div
contents, and the mouse no longer is over the link, then onmouseout should
have fired, and it usually does. But scroll across 5 links in a hurry it
should be five pairs of events fired, right?

There is a similar and real cool out of band callback thing going on at
netflix which you can see here if you rollover the links to the movies:
http://www.netflix.com/BrowseSelection

Thanks for any help guys.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Differentiate between user caused events and script generated events jmpinchot@gmail.com Javascript 1 04-27-2007 03:05 AM
Events Events Events Please Help Chris ASP .Net Web Controls 0 08-30-2005 08:21 PM
Handle events from central script Markus Ernst Javascript 6 06-27-2005 10:31 AM
events, messages og callback Thomas Korsgaard C++ 1 01-12-2005 04:17 PM
Adding client-script to handle client events Andrea Williams ASP .Net Datagrid Control 1 04-12-2004 10:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57