expandable and contractable menu

Discussion in 'HTML' started by Nospam, Mar 25, 2007.

  1. Nospam

    Nospam Guest

    I am trying to have an expandable menu each time it's clicked expands, and
    if it's clicked again, if it is already expanded contracts, and if
    contracted expands, following this example
    http://www.dynamicdrive.com/dynamicindex1/navigate1.htm, I notice the
    example works in each sub folder and folder, it contracts and expands if it
    is alreadt contracted/expanded, what do I add to this: <a
    href="javascript:ddtreemenu.flatten('treemenu1services', 'expand') ?
    ddtreemenu.flatten('treemenu1services', 'contact')"> to cause the same
    effect?
    Nospam, Mar 25, 2007
    #1
    1. Advertising

  2. Nospam

    Neredbojias Guest

    On Sun, 25 Mar 2007 18:49:13 GMT Nospam scribed:

    > I am trying to have an expandable menu each time it's clicked expands,
    > and if it's clicked again, if it is already expanded contracts, and if
    > contracted expands, following this example
    > http://www.dynamicdrive.com/dynamicindex1/navigate1.htm, I notice the
    > example works in each sub folder and folder, it contracts and expands
    > if it is alreadt contracted/expanded, what do I add to this: <a
    > href="javascript:ddtreemenu.flatten('treemenu1services', 'expand') ?
    > ddtreemenu.flatten('treemenu1services', 'contact')"> to cause the
    > same effect?


    Why don't you try comp.lang.javascript? It's a matter of the j/s coding
    detail.

    --
    Neredbojias
    He who laughs last sounds like an idiot.
    Neredbojias, Mar 26, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rathtap
    Replies:
    0
    Views:
    407
    Rathtap
    Jun 23, 2004
  2. Andrew Ng
    Replies:
    1
    Views:
    351
    Gerbrand van Dieijen
    Oct 12, 2003
  3. Nico Schuyt

    Expandable menu

    Nico Schuyt, Jan 9, 2004, in forum: HTML
    Replies:
    2
    Views:
    2,391
    Nico Schuyt
    Jan 10, 2004
  4. ste
    Replies:
    11
    Views:
    34,838
    nobbiesp
    Jul 5, 2010
  5. Jonathan
    Replies:
    5
    Views:
    669
    BootNic
    Jan 6, 2007
Loading...

Share This Page