I was looking to use Position.within in some code I am writing, but se  
it is deprecated (all of Position)

The problem is there doesn't seem to be anything to replace it..

Am I missing something??

For reference, here is what I am trying to achieve,

I have an element that I want to trigger an Effect.blindDown on, when  
the user mouses over. The problem is I don't want it to fire if the  
user simply passes over the event on the way some where else. Instead  
I want to make sure they are hovering over it for a second or so  
before firing the BlindDown Effect. (yes I know, just putting it on  
click would be easier, but I have other reasons to do it this way)

So the thought was to wait a second after firing and then see if the  
curser is still "within" the original element. If so , fire the  
BlindDown.

Any ideas how to do this?? Do I need to roll my own "Within"???

Cheers.
______________________________________________________________________
Alex Duffield ❖ Principal ❖ InControl Solutions . http://www.incontrolsolutions 
.com




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to