Alter this Simple Jquery Accordion Menu Code to Highlight Active Link

In Progress Posted Jan 15, 2012 Paid on delivery
In Progress Paid on delivery

I need the following Jquery code to be altered so that the active link is highlighted red. I need this fast. function initMenus() { $('[login to view URL] ul').hide(); $.each($('[login to view URL]'), function(){ var cookie = $.cookie([login to view URL]); if(cookie === null || String(cookie).length < 1) { $('#' + [login to view URL] + '.expandfirst ul:first').show(); } else { $('#' + [login to view URL] + ' .' + cookie).next().show(); } }); $('[login to view URL] li a').click( function() { var checkElement = $(this).next(); var parent = [login to view URL]; if($('#' + parent).hasClass('noaccordion')) { if((String(parent).length > 0) && (String([login to view URL]).length > 0)) { if($(this).next().is(':visible')) { $.cookie(parent, null); } else { $.cookie(parent, [login to view URL]); } $(this).next().slideToggle('normal'); } } if(([login to view URL]('ul')) && ([login to view URL](':visible'))) { //$('#' + parent + ' ul:visible').slideUp('normal'); if($('#' + parent).hasClass('collapsible')) { $('#' + parent + ' [login to view URL]:visible').slideUp('normal'); } return false; } if(([login to view URL]('ul')) && (![login to view URL](':visible'))) { $('#' + parent + ' ul:visible').slideUp('normal'); if((String(parent).length > 0) && (String([login to view URL]).length > 0)) { $.cookie(parent, [login to view URL]); } [login to view URL]('normal'); return false; } } ); } $(document).ready(function() {initMenus();});

CSS PHP Software Architecture Software Testing Web Hosting Website Management Website Testing

Project ID: #2701268

About the project

3 proposals Remote project Active Jan 16, 2012

3 freelancers are bidding on average $6 for this job

craigcooke

See private message.

$7 USD in 1 day
(13 Reviews)
3.7
man5to6

See private message.

$5 USD in 1 day
(11 Reviews)
3.0
toddwhittenvw

See private message.

$7 USD in 1 day
(2 Reviews)
1.4