Alter this Simple Jquery Accordion Menu Code to Highlight Active Link

En curso Publicado Jan 15, 2012 Pagado a la entrega
En curso Pagado a la entrega

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 Arquitectura de software Verificación de software Web Hosting Gestión de páginas web Verificación de páginas web

Nº del proyecto: #2701268

Sobre el proyecto

3 propuestas Proyecto remoto Activo Jan 16, 2012

3 freelancers están ofertando un promedio de $6 por este trabajo

craigcooke

See private message.

$7 USD en 1 día
(13 comentarios)
3.7
man5to6

See private message.

$5 USD en 1 día
(11 comentarios)
3.0
toddwhittenvw

See private message.

$7 USD en 1 día
(2 comentarios)
1.4