Advanced Search

Results 1 to 3 of 3

Thread: Menu accordion don't remote link expand menu

  1. #1
    Join Date
    Feb 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Menu accordion don't remote link expand menu

    1) Script Title: Menu accordion don't remote link expanded menu

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

    3) Describe problem: This website does not need more ?submenuheader=1 url but still open at the end of the tabs.
    how can do that
    Help me!
    Last edited by antiblood1; 02-11-2014 at 12:11 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,156
    Thanks
    262
    Thanked 690 Times in 678 Posts

    Default

    1) Script Title: Menu accordion don't remote link expanded menu

    2) Script URL (on DD): home.thegioihoanmy.net
    This should be about the script here on this website. It's also helpful to see your webpage, but we need to know the first you're using first!
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Feb 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry, I will say more:
    ex: I have code
    file 1.php
    PHP Code:
    <a href="2.php?submenuheader=1" target="_blank">click test link</a
    file 2.php
    PHP Code:
        <script src="content/jquery-latest.js" type="text/javascript"></script>

    <script src="content/ddaccordion.js" type="text/javascript"></script>

    </script>


    <script type="text/javascript">


    ddaccordion.init({
        headerclass: "submenuheader", //Shared CSS class name of headers group that are submenuheader
        contentclass: "submenu_", //Shared CSS class name of contents group
        revealtype: "click", //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
        collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
        defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
        onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
        animatedefault: false, //Should contents open by default be animated into view?
        persiststate: true, //persist state of opened contents within browser session?
        toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
        togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
        animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
        oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
            //do nothing
        },
        onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
            //do nothing
        }
    })


    </script>

    <link href="content/css2_.css" rel="stylesheet" type="text/css"><link href="content/flexdropdown.css" rel="stylesheet" type="text/css"><link href="content/css_page.css" rel="stylesheet" type="text/css">
    <div class="glossymenu">

    <h3 class="menuheader submenuheader">Mainmenu 1</h3>
    <ul class="submenu_">
    <li><a href="#">Submenu 1</a></li>
        <li><a href="#">Submenu 2</a></li>
        <li><a href="#">Submenu 3</a></li>
        <li><a href="#">Submenu 4</a></li>
    <li><a href="#">Submenu 5</a></li>
        <li><a href="#">Submenu 6</a></li>
        <li><a href="#">Submenu 7</a></li>
    </ul>


    <h3 class="menuheader submenuheader">Mainmenu 2</h3>
    <ul class="submenu_">
            <li><a href="#">Submenu 1</a></li>
            <li><a href="#">Submenu 2</a></li>
        <li><a href="#">Submenu 3</a></li>
        <li><a href="#">Submenu 4</a></li>
            <li><a href="#">Submenu 5</a></li>
        <li><a href="#">Submenu 6</a></li>
        <li><a href="#">Submenu 7</a></li>
    </ul>


    <h3 class="menuheader submenuheader">Mainmenu 3</h3>
    <ul class="submenu_">
            <li><a href="#">Submenu 1</a></li>
            <li><a href="#">Submenu 2</a></li>
        <li><a href="#">Submenu 3</a></li>
    </ul>


    <h3 class="menuheader submenuheader">Mainmenu 4</h3>
    <ul class="submenu_">
            <li><a href="#">Submenu 1</a></li>
            <li><a href="#">Submenu 2</a></li>
        <li><a href="#">Submenu 3</a></li>
    </ul>



    </div> 
    when I click on the link "http://localhost/2.php?submenuheader=1", main menu 2 => expand
    but I want deleted ?submenuheader=1 but still show mainmenu 2, yes or no?
    I found one web site home.thegioihoanmy.vn to do that...
    Last edited by antiblood1; 02-11-2014 at 11:34 PM.

Similar Threads

  1. Glossy Accordion Menu: need ability to have header used as a link as well as expand
    By apostle_of_hustle in forum Dynamic Drive scripts help
    Replies: 13
    Last Post: 06-05-2013, 08:26 PM
  2. bullet list accordion menu header expand + link
    By premier in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-22-2011, 04:58 PM
  3. getting Glossy accordion menu header to link and expand
    By artistcsi in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-27-2010, 07:23 PM
  4. Expand menu (Smooth Navigational Menu) via link in text
    By annes in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-10-2009, 09:11 AM
  5. Accordion menu to equalize collumns on expand
    By cjordan in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-20-2009, 01:47 PM

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
  •