Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Validating WordPress dropdown Re: [Solved] Validating WordPress dropdown

#63627
blue642
Member
Code:

This code is what generates your menu, specifically <?php wp_list_pages(‘sort_column=menu_order&title_li=’); ?>
In firebug, I see that each link that has child pages has some javascript attributes "onclick" and "onmouseover" like the two in your error message, but they are all lowercase as the error suggests. I also don;t get the error you do in IE7 here at work, the dropdown does not work and when I check the log I get a syntax error about line 2, characters 1 and 3 ( I can’t copy and paste sadly…)

From the code you posted, I don’t see what is injecting the javascript attributes into the navigation links.
the only onmouseover function I see in the header file is in the suckerfish JS

Code: