SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Strange behavior in Safari when drop down lay over Youtube embed code

    This bug only appears in Safari. When the drop down menu touches the YouTube video in the side column, the text scrambles. Hovering over the text in the menu returns it to normal.

    I've pinned it down to the slideDown() behavior. If I change it to show('fast'), the problem goes away.
    It also doesn't appear without Javascript relying on the css hover states.

    page:
    http://www.cynergydata.webventions.c...donatewisenow/

    Code:
           $('.nav2').removeClass('nojs');
    
    	$('nav li').hoverIntent(
    		function(){
    			$(this).find('.nav2').slideDown('fast');
    			$(this).addClass('active');
    		},
    		function(){
    			$(this).find('.nav2').slideUp('fast');
    			$(this).removeClass('active');
    		}
    	);
    Does anyone have any ideas how to fix it?

    Thank you,

    E

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    We need login details to view that page.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


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
  •