Holas...
hace unos dias tenia q hacer algo similar y esto es lo q use de referencia
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript" language="javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function()
{
$("#secondpane p.vertical_head").mouseover(function()
{
$(this).css({backgroundImage:"url(down.png)"}).next("div.vertical_body").slideDown(500).siblings("div.vertical_body").slideUp("slow");
$(this).siblings().css({backgroundImage:"url(left.png)"});
});
});
body {
margin: 10px auto;
font: 75%/120% Verdana,Arial, Helvetica, sans-serif;
}
.vertical_list {
width: 150px;
}
.vertical_head {
padding: 5px 10px;
cursor: pointer;
position: relative;
margin:1px;
font-weight:bold;
background: #eef4d3 url(left.png) center right no-repeat;
}
.vertical_body {
display:none;
}
.vertical_body a{
display:block;
color:#006699;
background-color:#EFEFEF;
padding-left:10px;
font-weight:bold;
text-decoration:none;
}
.vertical_body a:hover{
color: #000000;
text-decoration:underline;
}
<div class="vertical_list" id="secondpane"> <!--Code for vertical starts here--> <p class="vertical_head">Header-1
</p> <div class="vertical_body"> <p class="vertical_head">Header-2
</p> <div class="vertical_body"> <p class="vertical_head">Header-3
</p> <div class="vertical_body">
no se como ponerte el jquery mejor te pongo la version y te la descargas es la 1.2.3 o sino me dices una forma de pasartelo
Saludos.. espero q te sirva