Log in

View Full Version : can someone help with a simple alignment problem



moscarda
03-01-2009, 04:55 AM
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

moscarda
03-01-2009, 05:01 AM
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...

Nile
03-01-2009, 05:14 AM
For the mouseover, inside jquery.haccordion.js, change:


jQ("."+params.headerclass,this).click(function(){
To:


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?

moscarda
03-01-2009, 05:17 AM
thanks, and to collapse onmouseout?