Results 1 to 2 of 2

Thread: li submenu losing focus

  1. #1
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default li submenu losing focus

    Hi , we have an application where we use smartclient components to display data in Grids. On top of all the grids we have a topLevel horizontal menu and subMenus within each menu. we are using ddSmoothMenu (hover) to display the submenus and upon clicking any option we make a server call and update the grids . Now the issue we see in IE is upon clicking the subMenu the server Call is made and while updating the grid the focus is shifting to the grid and the subMenu is disappearing though the mouse is on the subMenu. We have to hover again on the Menu for the subMenu to appear and make a new selection.

    One option we tried was to do jquery mouseOver on the menu where we hovered (trying to programatically hover after the grid is updated), but the subMenu did not dropdown.

    $('#periodGroupSearchCmpFilter').mouseout();
    $('#periodGroupSearchCmpFilter').mouseover();


    this issue does not happen in Chrome. But since majority of our users use IE we have to fix the issue. Can any one please provide a suggestion on how we could solve the issue ?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,131
    Thanks
    44
    Thanked 3,229 Times in 3,190 Posts
    Blog Entries
    12

    Default

    .

    In the future, please post about Dynamic Drive Scripts in the Dynamic Drive Scripts Help section here where I've moved this thread, and:

    Warning: Please include a link to the DD script(s) in question in your post. See this post for more information.


    I'm assuming you mean:

    http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    If so, the correct way to mimic what the script does is .mouseenter(), not .mouseover(). But you have to make sure you're doing it to the right element. It's the li tag, not the a tag.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. returning to selected submenu after mouse leaves submenu area
    By si.monday in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-04-2010, 10:42 AM
  2. DD: Nested Submenu - Submenu not appearing on IE 6 operating system
    By bbs914 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 12-17-2009, 07:24 PM
  3. Replies: 0
    Last Post: 08-23-2008, 07:56 AM
  4. div losing class
    By jon.heitz in forum CSS
    Replies: 3
    Last Post: 08-15-2008, 02:31 PM
  5. Replies: 6
    Last Post: 01-21-2008, 06:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •