Results 1 to 3 of 3

Thread: Merge text list into dropdown menu

  1. #1
    Join Date
    Jan 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Merge text list into dropdown menu

    hi. the code below creates a textual list of category items on our webpage. the code is default of the shopping cart, however i'd prefer the text categories be contained in a dropdown menu. anyone know how to do that?
    Code:
    <!--START: SUB_CATEGORIES-->
        <div id="subcategoriesBlock">
            <div class="titles">[category_Header-subcategories]</div>
            <div class="sub-categories-format">
            <!--START: SUB_CATEGORIES_FORMAT-->
            <li>
            <div class="sub-categories">
                  <a href="view_category.asp?cat=[CATID]">
                  <!--START: SUB_CATEGORY_IMAGE-->
                  <span class="img"><img src="[SUB_CATEGORY_IMAGE]" title="[SUB_CATEGORY_NAME]"/> </span>
                  <!--END: SUB_CATEGORY_IMAGE--> 
    
    
                  <!--START: SUB_CATEGORY_NAME-->
                  <span class="name"><U><font size=1><sup><font color=#045FB4><B>[SUB_CATEGORY_NAME] </u>  </font></font> </span>
                  <!--START: SUB_CATEGORY_NAME--></a> 
                  <div class="desc">[SUB_CATEGORY_DESCRIPTION]</div>
                </div>
            </li>
    
    
            <!--END: SUB_CATEGORIES_FORMAT-->
            </div>
        </div>
    Last edited by Beverleyh; 01-21-2016 at 10:31 PM. Reason: Formatting

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    First you would source a dropdown menu that you like the look of - you can find lots if you do a Google search, or try searching the DD library here http://www.dynamicdrive.com/dynamicindex1/index.html

    Then install it on your website to make sure it works as expected using placeholder text.

    Lastly, transfer your own category links to the menu.

    You say you're using a shopping cart so you might need to research to find out which template files to edit - asking in the forums of whatever shopping cart script/plugin you're using is usually a good place.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Jan 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks for the suggestions!

    Thanks for the suggestions!
    Last edited by jscheuer1; 04-28-2016 at 02:51 AM. Reason: excessive quoting

Similar Threads

  1. Smooth Navigational Menu (v2.0) : vertical menu and dropdown list hidden
    By pepitr in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-17-2013, 07:04 PM
  2. Using dropdown list option to select tab menu content
    By veiga in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 11-11-2011, 04:35 PM
  3. Smooth Navigational Menu - changing dropdown list colour & transparency
    By caterpillar in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 07-23-2011, 04:45 PM
  4. Dropdown list showing above Dropdown/Overlapping Content Script in IE6/Win
    By captcashew in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-17-2007, 03:36 PM
  5. line up text in list/menu (drop down menu)
    By no1uknow in forum HTML
    Replies: 1
    Last Post: 01-13-2006, 11:15 AM

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
  •