jQuery Accordion Menu V2: Make all top-level links clickable

jQuery based Accordion Menu with many themes.
Post Reply
norman
Site Admin
Posts: 1248
Joined: Sat Feb 07, 2004 9:55 pm

jQuery Accordion Menu V2: Make all top-level links clickable

Post by norman »

For jQuery Accordion Menu V2.
Go to Design /Library / Layouts / AccordionJQ / Accordion Setup.

To make all top-level links clickable:

Look for the line:

Code: Select all

		$('#dpacmn > div').each(function(){	// look for empty entries and disable arrows & click
Immediately above it insert:

Code: Select all

		$("#dpacmn h4 a").click(function() {
		 window.location = $(this).attr('href');
		 return false;
		});  
Norman
Post Reply