Free Photos
WordPress Themes

Difference between menus on load and after load

This is how one of the menu items looks like when it is shown on site load. Look at row 5 <li id="menu-589-1" class="middle odd sf-item-5 sf-depth-1 sf-total-children-5 sf-parent-children-0 sf-single-children-5 menuparent"> <a href="/page/484" class="sf-depth-1 menuparent">ספריה</a> <ul> <li id="menu-667-1" class="first odd sf-item-1 sf-depth-2 sf-no-children"> <a href="/page/484" class="sf-depth-2">מאמרים</a> </li> <li id="menu-670-1" class="middle even sf-item-2 sf-depth-2 sf-no-children"> <a href="/page/487" class="sf-depth-2">סוטרות ותרגומים</a> </li> <li id="menu-708-1" class="middle odd sf-item-3 sf-depth-2 sf-no-children"> <a href="/simplepage/760" class="sf-depth-2">ספרים מומלצים</a> </li> <li id="menu-706-1" class="middle even sf-item-4 sf-depth-2 sf-no-children"> <a href="/simplepage/758" class="sf-depth-2">ספריית בית הסנגהה</a> </li> <li id="menu-1145-1" class="last odd sf-item-5 sf-depth-2 sf-no-children"> <a href="/simplepage/4452" class="sf-depth-2">ספרית הקלטות</a> </li> </ul> </li> Then js code runs and adds sf-hidden class to ul (from row 5) This is how same menu item looks like when it is hidden look at row 30 <li id="menu-589-1" class="middle odd sf-item-5 sf-depth-1 sf-total-children-5 sf-parent-children-0 sf-single-children-5 menuparent"> <a href="/page/484" class="sf-depth-1 menuparent sf-with-ul">ספריה<span class="sf-sub-indicator"> »</span></a> <ul class="sf-hidden" style="float: none; width: 12em;"> <li id="menu-667-1" class="first odd sf-item-1 sf-depth-2 sf-no-children"> <a href="/page/484" class="sf-depth-2" style="">מאמרים</a> </li> <li id="menu-670-1" class="middle even sf-item-2 sf-depth-2 sf-no-children"> <a href="/page/487" class="sf-depth-2" style="">סוטרות ותרגומים</a> </li> <li id="menu-708-1" class="middle odd sf-item-3 sf-depth-2 sf-no-children"> <a href="/simplepage/760" class="sf-depth-2" style="">ספרים מומלצים</a> </li> <li id="menu-706-1" class="middle even sf-item-4 sf-depth-2 sf-no-children"> <a href="/simplepage/758" class="sf-depth-2" style="">ספריית בית הסנגהה</a> </li> <li id="menu-1145-1" class="last odd sf-item-5 sf-depth-2 sf-no-children"> <a href="/simplepage/4452" class="sf-depth-2" style="">ספרית הקלטות</a> </li> </ul> </li>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.