Results 1 to 4 of 4

Thread: can someone help with a simple alignment problem

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default can someone help with a simple alignment problem

    sorry this is a dumb question, but i want this menu to show up on the top right hand corner. when i change the css from float left to right, it messes up the whole jquery functionality.

    here it is:

    http://www.moscarda.com/haccordian

  2. #2
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    plus i'd like to change the functionality so that it expands onmouseover, instead of onclick, but i've looked at the code and cant figure it out. i know this is the css forum not the js forum, but i thought i'd kill two birds with one stone...

  3. #3
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    For the mouseover, inside jquery.haccordion.js, change:
    Code:
    jQ("."+params.headerclass,this).click(function(){
    To:
    Code:
    jQ("."+params.headerclass,this).mouseover(function(){
    Nothing is wrong for me when I change: float: left, to: float: right.
    Do you have an example page?
    Jeremy | jfein.net

  4. #4
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    thanks, and to collapse onmouseout?

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
  •