Page 1 of 1

Making only final links click-able

Posted: Mon Jan 07, 2013 7:52 pm
by norman
To make only the final links click-able, do the following:

Go to Design / Library / Layouts / NorList Menu / NorList Support Code.

Look for the line:

Code: Select all

		$("#norlist").menu();
Immediately below it paste in:

Code: Select all

		$('#norlist li').each(function(){if($(this).has('ul')[0])$('a:first',this).click(function(e){e.preventDefault();})});
Note that this will make it difficult for customers to get to Sections that contain both Products and sub-Sections.