accordion - jQuery Accordian is completely ignoring any settings I make in the javascript call -


i added accordian site easier viewing , management of content, not behaving , suspect, firstly ignoring settings make in javascript call, example if change autoheight either true or false, absolutely no changes visibly made.

<div id="accordion"> <h3><a href="#">accordion header #1</a></h3> <div> lots of content here belong accordion menu selected, larger other 2 contents. </div>  <h3><a href="#">accordion header #2</a></h3> <div> not as #1, therefore height reduced support without leaving huge gap </div>  <h3><a href="#">accordion header #3</a></h3> <div> line of writing, don;t want huge gap </div>  </div> 

sadly, whatever accordion absolutely not responsive, don't want huge gaps smaller contents, , understand possible remove these because very ugly. however, stated, script not respond.

i have in header of document:

<script>   $(document).ready(function() {     $( "#accordian" ).accordion({ clearstyle: true, autoheight: false });   });   </script> 

i appreciate time in trying resolve matter.

you have <div id="accordion"> call $( "#accordian" ).


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -