Hi Jorn
forgive me if this is a double post - my other post didn't seem to work Your accordion plugin is excellent and works perfectly in my page http://www.esma-test.com/accueil.php?menu_id=c3 but the links in the content don't work - i see there's a solution in the post above but I don't understand where i have to do the header-option: { header: ".ui-accordion-header" }. could you just explain briefly where i would need to modifiy the code ? many thanks for all your work On Oct 5, 5:19 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Add a class to the first anchor, something like ui-accordion-header. > Then use the header-option: { header: ".ui-accordion-header" }. > > Jörn > > On Fri, Oct 3, 2008 at 11:27 PM, Microbe <[EMAIL PROTECTED]> wrote: > > > 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"> > > <p>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 / > >><br />Registration only involves supplying your user name, a valid > > email address, and agreeing to our terms of use, which is written in > > plain English on our <a href="http://test.website.com/ > > policies.php">Policies and Legal</a> page. > > </p> > > </div> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
