ACCORDIAN - link not working
Hey there,
I am using according and it all works as expected EXCEPT that where
there is a link in the expanded DIV, clicking on the link simply
closes the DIV again and doesn't shove off to the next page.
Any thoughts on why?
I have looked at the demos and I can't see that I am doing anything
different.
CODE:
<script type="text/javascript" src="includes/jquery.accordion.js"></
script>
<script type="text/javascript">
jQuery().ready(function(){
jQuery('#list1b').accordion({
autoheight: false
});
var accordions = jQuery('#list1b');
jQuery('#switch select').change(function() {
accordions.accordion("activate", this.selectedIndex-1 );
});
jQuery('#close').click(function() {
accordions.accordion("activate", -1);
});
jQuery('#switch2').change(function() {
accordions.accordion("activate", this.value);
});
jQuery('#enable').click(function() {
accordions.accordion("enable");
});
jQuery('#disable').click(function() {
accordions.accordion("disable");
});
jQuery('#remove').click(function() {
accordions.accordion("destroy");
wizardButtons.unbind("click");
});
});
</script>
and then
<a>Do I have to register with you, and what details do you ask for?</
a>
<div class="faq">
If you just want to look at someone's announcement you don't
have to register with us. However, if you want to create a profile or
add comments to other people's profiles, you have to register.<br /