Results 1 to 3 of 3

Thread: ddaccordian - link

  1. #1
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ddaccordian - link

    1) Script Title: Apple style Accordion Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu-apple.htm

    3) Describe problem: So I have the script working great, but I'm wondering how can I make it so that a <a class="menuitem submenuheader" href="/index.php?page=raverbus" >Raver Bus</a> sends the link to the browser?

    I would obviously change the link to:
    <a class="menuitem submenuheader" href=/index.php?page=raverbus&?submenuheader=0" >Raver Bus</a> so it still pulls down.



    thanks!
    Last edited by ddadmin; 03-27-2009 at 08:59 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    If you're basically asking how to enable the link inside the header (so clicking it takes the user to the URL as well), there are two ways:

    1) Set the revealtype to "mouseover" inside the config code.
    2) Or in v1.7, set the revealtype to "clickgo" instead.

    This is the portion of the config code I'm talking about:

    Code:
    //Initialize first demo:
    ddaccordion.init({
    	headerclass: "mypets", //Shared CSS class name of headers group
    	contentclass: "thepet", //Shared CSS class name of contents group
    	revealtype: "mouseover", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
    	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
    DD Admin

  3. #3
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    easy enough! thanks for the help.

Bookmarks

Posting Permissions

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