Hi,
I need to assign id's to the
tags that are created on the fly when ZP generates the menu lists in order to get a bit of jquery working.
Can anyone tell me where they are? I specifically need to edit the News, Albums and Pages opening
.
Anyone help me out here? Be appreciated!
Thanks, Simon
Comments
I want to assign a CSS ID to the opening `
` of the html lists that are created when the navigation menus are generated. Example: `
` By Default they do not have id's assigned.
I specifically need to assign id's to the News, Albums, Pages and Archive menus opening `
` so that I can control their behavior.
I am assuming I can edit this directly in one of the .php files, I am hoping someone can tell me where to look. Hope this is a but clearer?
Thanks in advance, Simon
S
But I discovered that the empty value in the passed parameters of the function was the ID, which was exactly what i needed!
Example: `<?php printAllNewsCategories("All news",TRUE,"expandNews","menu-active");` will output an unordered list with the following opening tag `<ul id="expandNews" class="menu-active">`
(which in my case allows me to apply a bit of jquery that writes a class to the specified `
` contextually, according to what ID I have specified, which sets my menu to expand or not).
Regarding validation, my suggestion should validate as well as `
` is actually allowed witin ``.