HelloBD
HelloBD

Reputation: 387

Div mouse hover

Work on ASP.NET 2.0 C# on the web. In my site, I have three divs. Each div contain several elements. When I mouse hover a div then it expands on vertically, initially, all div are in Collapsible. How to write this mouse hover event. How to set all div content in collapsible. I want Accordion but the Accordion header takes place vertically not horizontally.

Upvotes: 0

Views: 505

Answers (2)

jbochi
jbochi

Reputation: 29654

You can use a jquery Accordion.

To make the sections expand and collapse on mouse over, use this:

$('.selector').accordion({ event: 'mouseover' });

Upvotes: 1

marcgg
marcgg

Reputation: 66525

Sounds like you want an Accordion

Upvotes: 5

Related Questions