Get help. Give help. A Web Design and Development Community.

e.targ equivalent

  • # August 23, 2009 at 11:08 pm

    Yooyoyoyoyo I’ve found jQuery pretty useful but I’m having a problem with mouse positions on target elements. … stween.php

    On that menu for instance, if you try to bring the mouse onto the dropdown menu "slideUp" event triggers and the drop down goes away. How do you achieve this?

    $(document).ready(function () {
    $(‘a.home’).mouseover(function () {

    $(‘a.home’).mouseout(function () {

    I basically want to be able to do something like:

    if(e.targ != dropdown) {
    run the slideUp function

    Unless there’s an easier way


    # August 24, 2009 at 4:10 am



    if its nested then you can do something like

    $(‘#menu li).hover(function(){
    $(this, ‘ul’).slideDown(500);
    $(this, ‘ul’).slideUp(500);

    Its defiantly not tested… but you should get the idea

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.