SitePoint Sponsor

User Tag List

Results 1 to 1 of 1

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Nov 2008
    0 Post(s)
    0 Thread(s)

    CSS Mega Menu - one tab open on page load - jQuery?

    I am using this mega menu:

    What I would like is for one tab (the second tab) to be open when the page loads without someone having to hover over it first - I would still need it to change to the other tab contents if a different one is hovered though. I tried adding:

        $(document).ready(function() {
            $(' li.fullwidth:first div.dropdown_fullwidth').css('left','0px');
    which kept the content open but didnt have the tabs hover state nor did it change when i hover on another - can someone help a jquery newbie out?
    Last edited by t3stin; Jul 25, 2012 at 03:40. Reason: typo

Tags for this Thread


Posting Permissions

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