|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Zealot
![]() ![]() Join Date: Mar 2005
Posts: 141
|
Mouse down then mouseover
Is it possible to combine these two events so that the onmouseover event doesn't occur until the onmousedown event occurs and then the onmouseover finishes when the onMouseout event occurs? Excuse all the mice!
|
|
|
|
|
|
#2 |
|
I'll take mine raw
![]() Join Date: Dec 2002
Location: Alabama, USA
Posts: 2,562
|
Please clarify your question. What are trying to accomplish? Is it a "click and drag" script?
|
|
|
|
|
|
#3 |
|
SitePoint Zealot
![]() ![]() Join Date: Mar 2005
Posts: 141
|
I have series of checkboxes in a table that are selected when the table cell is clicked. I would like to be able to do this by clicking on the first cell then dragging the cursor over the next cells rather than having to click on each one. I can do it by using onmouseover but that is not selective enough.
|
|
|
|
|
|
#4 |
|
I'll take mine raw
![]() Join Date: Dec 2002
Location: Alabama, USA
Posts: 2,562
|
|
|
|
|
|
|
#5 |
|
SitePoint Zealot
![]() ![]() Join Date: Mar 2005
Posts: 141
|
Man...that's professional!! Perfect, thanks.
|
|
|
|
|
|
#6 |
|
I'll take mine raw
![]() Join Date: Dec 2002
Location: Alabama, USA
Posts: 2,562
|
![]() |
|
|
|
|
|
#7 |
|
SitePoint Member
Join Date: Sep 2007
Posts: 3
|
This is exactly what I was looking for. Great javascript
I've been playing around with your code trying to highlight de row but with no luck . I can highlight a row with:JavaScript Code:
But how do I get the Id for the row? JavaScript Code:
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 05:41.







. I can highlight a row with:


Linear Mode
