Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8832681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:35:22+00:00 2026-06-14T08:35:22+00:00

I’ve created a dropdown menu in TS with following code: TS: MAIN_MENU = HMENU

  • 0

I’ve created a dropdown menu in TS with following code:

TS:

MAIN_MENU = HMENU
MAIN_MENU {
    entryLevel = 0
    1 = TMENU
    1 {
        expAll = 1
        # Always output all childs, hide/unhide them with JS
        wrap = <ul>|</ul>

        # Normal state properties
        NO.wrapItemAndSub = <li>|</li> |*| <li>|</li> |*| <li class="last">|</li>

        # Enable active state and set properties:
        ACT < .NO
        ACT = 1
        ACT.ATagParams = class="activelink"
        ACT.wrapItemAndSub = <li class="active">|</li>
    }

    2 = TMENU
    2 {
        wrap = <div class="scnd_menu"><ul>|</ul></div>
        NO.allWrap = <ul id="scnd_menu_wrapper"><li><ul class="menu_secondLevel"><li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || </ul></li><li><ul class="menu_secondLevel"><li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || <li>|</li> || </ul></li><li><ul class="menu_secondLevel"><li>|</li> || <li>|</li> |*||*|
        ACT < .NO
        ACT = 1
        ACT.ATagParams = class="activelink"
        ACT.allWrap = <li class="active">|</li>
    }
}

CSS:

    /* Main Menu */
#menu_main {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top:  45px;
    margin-bottom: 10px;
}
#menu_main ul {
    list-style: none;
}
#menu_main ul li {
    float: left;
    margin-bottom: 0;
    margin-left: 25px;
}

#menu_main ul li.active a {
    color: #AF0008;
}
#menu_main ul li a {
    color: #2c211a;
    width: 100%;
    text-align: center;
    display: block;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 5px;
    padding-right: 5px;
}
#menu_main ul li a:hover {
    text-decoration: none;
    color: #AF0008;
    background-color: #F1DED7;
}
#menu_main ul li:hover .scnd_menu, #menu_main ul li:hover ul.menu_secondLevel, #menu_main ul li:hover ul.menu_secondLevel_two, #menu_main ul li:hover ul.menu_secondLevel_three {
    display: block;
}
#menu_main .menu_main_sep_right, #menu_main .menu_main_sep_left {
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: block;
    width: 1px;
    height: 69px;
    overflow: hidden;
}
#menu_main .menu_main_sep_left {
    background-position: bottom right;
    left: 0px;
}


/* Sec Menue */
.scnd_menu {
    display: none;
    position: absolute;
    z-index: 999;
    padding-top: 5px;
    padding-bottom: 5px;
    letter-spacing: normal;
    width: auto;
    max-width: 1030px;
    max-height: 365px;
    background-color: #fff;
}

#scnd_menu_wrapper {
    margin: 0;
    width: auto;
}

#scnd_menu_wrapper li {
    diplay: block;
    margin-left: 5px !important;
}
#scnd_menu_wrapper li:last-child {
    float: right;
}
ul.menu_secondLevel {
    display: none;
}

#menu_main ul li ul.menu_secondLevel li {
    float: none;
    width: auto;
    margin-left: 0px;
    margin-right: 0.5em;
    margin-bottom: 5px;
    margin-top: 5px;
}
#menu_main ul li ul.menu_secondLevel li a {
    display: inline;
    width: auto;
    font-size: 0.85em;
    color: #AF0008;
    white-space: nowrap;
}
#menu_main ul li ul.menu_secondLevel li.active,
#menu_main ul li ul.menu_secondLevel li.active a,
#menu_main ul li ul.menu_secondLevel li a:hover {
    background: none;
    color: #2c211a;
}
#menu_main ul li ul.menu_secondLevel li.active a:hover {
    font-style: italic;
}

/* Exeptions */
#menu_main ul li.last {
    position: relative;
}
#menu_main ul li.last .scnd_menu {
    right: -26px;
}
#menu_main ul li:nth-child(3) .scnd_menu {
    margin-left: -155px;
}
#menu_main ul li:nth-child(7) .scnd_menu {
    margin-left: -613px;
}

It works fine, but the problem ist, if I go on the first page of a second level the menu gets destroyed.
It only happens there, nowhere else.

I am really tired right now after two days of trying.
It seems that somehow some of the

  • elements get ripped out of their original but i don’t know why!
    Maybe somebody sees my failure?!

    Thank You!

    • 1 1 Answer
    • 0 Views
    • 0 Followers
    • 0
    Share
    • Facebook
    • Report

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. Editorial Team
      Editorial Team
      2026-06-14T08:35:24+00:00Added an answer on June 14, 2026 at 8:35 am

      Ok, I figured it out.

      The problem was in two figures:

      1.) I had two <ul>'s right after each other in

      2 = TMENU
      2 {
      wrap = <div class="scnd_menu"><ul>|</ul></div>
      NO.allWrap = <ul id="scnd_menu_wrapper"><li><ul> </span>
      class="menu_secondLevel"><li>|</li> || ...
      

      Because of the allWrap another <ul> is set.

      So I changed it to wrapItemAndSub instead of allWrap.

      And:
      2.) WI was still splitting in NO and NO got copied to ACT and then ACT.allWrap the splitting was overwriten by allwrap….

      I apologize for that dump mistake!

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
        • Report

    Sidebar

    Related Questions

    I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
    I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
    Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
    link Im having trouble converting the html entites into html characters, (&# 8217;) i
    I have this code to decode numeric html entities to the UTF8 equivalent character.
    I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
    I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
    I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
    I have a text area in my form which accepts all possible characters from
    I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • SEARCH

    Footer

    © 2021 The Archive Base. All Rights Reserved
    With Love by The Archive Base

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.