Displaying 2 results from an estimated 2 matches for "myparentelement".
2006 Jan 11
0
RE: Event.observer - unordered list problems
...etting the timer mechanism). It also requires you to keep
track the mouseover state of your parent element. (Hopefully I''m using
descriptive enough variable names so you can figure out what you need to
do). You might use the Event.findElement() function in your case to get
the reference to myParentElement.
onMouseOver: function(event) {
if (!myParentElement.hasBeenMousedOver) {
// do mouseover stuff
myParentElement.hasBeenMousedOver = true;
setTimeout(this.countDown.bind(this), 1000); //
1 second
}...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...etting the timer mechanism). It also requires you to keep
track the mouseover state of your parent element. (Hopefully I''m using
descriptive enough variable names so you can figure out what you need to
do). You might use the Event.findElement() function in your case to get
the reference to myParentElement.
onMouseOver: function(event) {
if (!myParentElement.hasBeenMousedOver) {
// do mouseover stuff
myParentElement.hasBeenMousedOver = true;
setTimeout(this.countDown.bind(this), 1000); //
1 second
}...