June 30, 200818 yr How do I add links <a href> in the body text so that they are not affected by the javascript which controls the sub-heads opening and closing? Any help much appreciated, going around in circles..... http://www.sontinh.com/life.html
June 30, 200818 yr first mistake: you are using an id multiple times - use a class instead (.what rather than #what) second thing is that adding a link without the id/class should be enough to stop it affecting the script - if the events are binding to the non .what/#what elements there is something wrong with the accordion script. for a quiick (and bad) fix, add this line after the accordion line (after you've moved to class'es) $('a:not(.what)').unbind();
Create an account or sign in to comment