PHP / jQuery - Geçerli sayfa ile menüyü vurgulayın

0 Cevap php

Hi
I am going to highlight a menu item according to the page that is reading currently, when user click on different page through the menu, that menu item will be highlighted, example is http://templates.joomlart.com/ja_pyrite/index.php?option=com_content&view=article&id=44&Itemid=53.

Ben url kontrol menüsünü vurgulamak için PHP / jQuery kullanıyorsanız, url "http://example.com/contact" gibi bakarsanız iyi olacak, ama yukarıdaki örnekte kötü.

Ben url kontrol ve menü öğesini vurgulamak için gidiyoruz yoksa, birisi bana aynı etkiyi ile yapılabilir bir fikir / yöntem verebilir?

Teşekkür ederim

0 Cevap