Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: css/jquery drop-downs

  1. #1
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default css/jquery drop-downs

    I am working on http://development.martz.me/theme/web.htm

    I am using http://www.sohtanaka.com/web-design/...-w-css-jquery/ for the css/jquery drop-downs. I have the drop-downs working great but I cannot get the drop-down to move left or right based on what tab Im workign with. In the tutorial, it wants me to set position: relative on the link's ul. I cannot do this due to how my menu works. Any suggestions?

  2. #2
    Orangey is offline Junior Member
    Join Date
    Aug 2010
    Location
    UK
    Posts
    23

    Default

    you could set the "left" parameter to be different for each dropdown eg:

    Code:
    div#menu li#cl .sub {
            left:190px;
    }
    div#menu li#art .sub {
            left:325px;
    }
    etc..

  3. #3
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    Thanks Orangey! I needed another set of eyes to look at that one. I just couldn't think. Thanks!