Results 1 to 2 of 2

Thread: Link on a class="menuitem submenuheader"

  1. #1
    Join Date
    May 2009
    Location
    Racale in province of Lecce (South Italy)
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Link on a class="menuitem submenuheader"

    1) Script Title:
    DD Accordion Glossymenu
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...enu-glossy.htm
    3) Describe problem:
    Good morning,
    i need to activate a direct link not just in the submenu <li><a> but in the title of glossymenu too but it is impossible to me now.

    egs:
    Code:
    <a class="menuitem submenuheader" href="/bin/link.htm"><img src="/img/img.png" width="5" height="7" border="0" />&nbsp;Title</a>
    
         <div class="submenu">
            <ul>
            ...etc...
    may someone helps me?

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

    Default

    A link if defined inside the header itself is intentionally disabled by the script, since otherwise, clicking on it will take the user straight to the new destination, instead of expanding the corresponding sub menu. What you can do is set the "revealtype" option of the script to "clickgo", which overcomes this problem by first expanding the sub menu, and upon completion, take the user to the URL specified inside the header:

    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: "clickgo", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
    	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds 
    "
    "
    This feature is demonstrated in the example Arrow Side Menu.
    DD Admin

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
  •