In my php here what I have:
- <ul class="sf-menu sf-vertical">
- <?php wp_list_pages('title_li=&depth=4&exclude=9&sort_column=menu_order'); ?>
- </ul>
Here is my script call in the header:
- <!-- initialise Superfish -->
- <script type="text/javascript">
- var $j = jQuery.noConflict();
- $j(document).ready(function(){
- $j("ul.sf-menu").superfish({
- animation: {height:'show'}, // slide-down effect without fade-in
- delay: 1200, // 1.2 second delay on mouseout
- autoArrows: true,
- dropShadows: false
- });
- });
-
- </script>