Results 1 to 2 of 2

Thread: Accordion Menu - dynamic pages?

  1. #1
    Join Date
    Feb 2009
    Thanked 0 Times in 0 Posts

    Default Accordion Menu - dynamic pages?

    1) Script Title: Glossy Accordion Menu

    2) Script URL (on DD):

    3) Describe problem:
    Ok, no laughing!!
    I'm just getting started and have been doing my search but haven't really found the fix. On the Glossy Accordion Menu page I see the example with the 6 menu headers, and the headers are static.
    What I'm wondering is, if I would like to use this menu but with dynamic headers, can I simply substitute something like (I would be using this with Wordpress):
    <?php wp_list_pages('sort_column=menu_order&title_li='); ?>

    for all of the static pages in the example, like:
    <li><a href="">Horizontal CSS Menus</a></li>

    I'm sure this is absurdly basic, but I'm learning as I go...and haven't figured out quite how to get this working yet. I've added the script in the header and also the necessary sections to the my CSS style sheet...hmm.
    Will keep trying, though!!! Thx~

  2. #2
    Join Date
    Aug 2004
    Thanked 1,008 Times in 993 Posts
    Blog Entries


    In general, the checklist for using any server side language to dynamically output client side JavaScripts is the same. As long as what gets output to the browser looks identical to as if you've manually included the script (in this case Accordion Menu) on your page, it should work. While trying to get the output to work, use the browser's view source feature often to check that the code that's being output comes closer and closer to how it should look.
    DD Admin


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts