On 9 Mag, 23:11, Panman <[EMAIL PROTECTED]> wrote:
> Andrea, when I changed to hover() the stopPropagation() effected
> negatively. Once I removed that it started working ok. Also, what is
> variable e when passing it to the function? Thanks

e stands for event (you can use the entire word as well).
the stopPropagation() method is useful when you want to limit the
action of an handler.
because, say, if you click on a <li>, you're implicitly clicking on a
<ul>, and if the <ul>'s inside a <div>, you've clicked that <div>,
too. so if you have actions bound to those elements, you'll fire them.
I thought it might have helped, but it did not :))
anyway I checked the page, and now it works way better!

Reply via email to