I'm trying to make an according side navigation menu, but I'm running into
some issues. I'm following the code on the documentation page and it's not
working when I try to implement it on the page I'm working on. I played
around with the given code and it's working fine. This is my first time
using jQuery, so I might be overlooking something.
Here's what I have so far.
Script
Copy code
1. <link rel="stylesheet" type="text/css" href="style2_DM.css"
media="screen" />
<script type="text/javascript" src="jquery-1.4.2.js"></script>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript"
src="jquery-ui-1.8.5.custom.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#menu div").hide();
$("#menu").accordion({ event: 'mouseover'});
)};
</script>
HTML
Copy code
1. <div id="menu">
<h1> index.html WORK </h1>
<div></div>
<h1> # INFORMATION </h1>
<div>
# Information
# CV
# Articles
# Awards
</div>
<h1> # CONTACT </h1>
<div></div>
</div>
CSS
Copy code
1. #menu a {width:100%; float:left;}
#menu p {width:100%; float:left;}
#menu div {width:100%; float:left; padding-left:5px;}
#menu h1 { font-weight:100;}
--
View this message in context:
http://old.nabble.com/New-to-JQuery%3A-Accordion-Menu-tp29754127s27240p29754127.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.