Page 1 of 2 12 LastLast
Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for the header- With Categories!

    ...I installed a css drop down menu ages ago, its modified so that it dynamically generates the categories across the main top line, and subcategories/products drop down in a box when scrolled over. In modifying my website would like to add images to the top line when that dropdown category is selected, plus set of images to form a box around the dropdown category (one top image, one bottom image, and an image separating each li item), lastly an arrow on the side of submenus to the next submenu.

    I have the pics ready and its all working on another javascript menu, but am trying to apply the same to my css menu. This is my current css code:


    Code:
    :
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover {color: #eb2e83!important;background:#ffffff;}
    
    #dropMenuWrapper {
    	width:100%;
    	height:25px;
    	margin:0;
    	font-size:12px;
    	}
    div#dropMenu {
      	width:100%;
      	margin:0 auto;
        text-align:center;
    	z-index:1000;
    	position:relative;
    	}
    div#dropMenu ul {
    	margin: 0; 
    	padding: 0;
    	}
    div#dropMenu li {
    	position: relative; 
    	list-style: none; 
    	margin: 0; 
    	float: left; 
    	line-height: 1em;
    	}
    div#dropMenu ul.level1 {
    	width:75%; 
    	margin:0 auto; 
    	text-align:center;
    	background:#ffffff;
    	border-top:0px solid #ffffff;
    	border-bottom: 0px solid #ffffff;
    	height:25px;
    	z-index:1000;
    	}
    div#dropMenu li:hover {}
    div#dropMenu li.submenu {}
    div#dropMenu li.submenu:hover {}
    div#dropMenu li a {display: block; padding: 7px 25px ;text-decoration: none; color:#400000; text-align:center; border-left:1px solid #ffffff;} 
    div#dropMenu>ul a {width: auto;}
    div#dropMenu ul ul {position: absolute; width: 13em;display: none;}
    div#dropMenu ul ul li {background-image:url('images/hr.gif');
      background-repeat: repeat-x;
      background-position: left bottom; width:13em;}
    div#dropMenu li.submenu li.submenu {}
    div#dropMenu ul.level1 li.submenu:hover ul.level2, 
    div#dropMenu ul.level2 li.submenu:hover ul.level3,
    div#dropMenu ul.level3 li.submenu:hover ul.level4,
    div#dropMenu ul.level4 li.submenu:hover ul.level5 {display:block;z-index:1000;}
    div#dropMenu ul.level2 {top: 2.17em; background:#ffffff;z-index:1000;}
    div#dropMenu ul.level3, div#dropMenu ul.level4, div#dropMenu ul.level5 {top: 0; left: 13em; background:#ffffff}
    div#dropMenu ul.level2 a {padding: 0.5em 0.25em;color: #400000; text-transform:none;}  /* this is text color on drop-down submenu */
    div#dropMenu ul.level2 a:hover {color:#eb2e83;}
    The image I would like to appear behind the top selected category is "item1.png",
    The image I would like to appear at the top of the dropdown category box is "submenu-top.gif"
    The image for the bottom of the dropdown category box is "submenu-bottom.gif"
    The image to go in between submenu items is "hr.gif"
    The arrow to go next to submenu items which have further subcategories is "arrow.gif"

    How/where do I put those images in?

  2. #2
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by 1kell View Post
    ...I installed a css drop down menu ages ago, its modified so that it dynamically generates the categories across the main top line, and subcategories/products drop down in a box when scrolled over. In modifying my website would like to add images to the top line when that dropdown category is selected, plus set of images to form a box around the dropdown category (one top image, one bottom image, and an image separating each li item), lastly an arrow on the side of submenus to the next submenu.

    I have the pics ready and its all working on another javascript menu, but am trying to apply the same to my css menu. This is my current css code:


    Code:
    :
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover {color: #eb2e83!important;background:#ffffff;}
    
    #dropMenuWrapper {
    	width:100%;
    	height:25px;
    	margin:0;
    	font-size:12px;
    	}
    div#dropMenu {
      	width:100%;
      	margin:0 auto;
        text-align:center;
    	z-index:1000;
    	position:relative;
    	}
    div#dropMenu ul {
    	margin: 0; 
    	padding: 0;
    	}
    div#dropMenu li {
    	position: relative; 
    	list-style: none; 
    	margin: 0; 
    	float: left; 
    	line-height: 1em;
    	}
    div#dropMenu ul.level1 {
    	width:75%; 
    	margin:0 auto; 
    	text-align:center;
    	background:#ffffff;
    	border-top:0px solid #ffffff;
    	border-bottom: 0px solid #ffffff;
    	height:25px;
    	z-index:1000;
    	}
    div#dropMenu li:hover {}
    div#dropMenu li.submenu {}
    div#dropMenu li.submenu:hover {}
    div#dropMenu li a {display: block; padding: 7px 25px ;text-decoration: none; color:#400000; text-align:center; border-left:1px solid #ffffff;} 
    div#dropMenu>ul a {width: auto;}
    div#dropMenu ul ul {position: absolute; width: 13em;display: none;}
    div#dropMenu ul ul li {background-image:url('images/hr.gif');
      background-repeat: repeat-x;
      background-position: left bottom; width:13em;}
    div#dropMenu li.submenu li.submenu {}
    div#dropMenu ul.level1 li.submenu:hover ul.level2, 
    div#dropMenu ul.level2 li.submenu:hover ul.level3,
    div#dropMenu ul.level3 li.submenu:hover ul.level4,
    div#dropMenu ul.level4 li.submenu:hover ul.level5 {display:block;z-index:1000;}
    div#dropMenu ul.level2 {top: 2.17em; background:#ffffff;z-index:1000;}
    div#dropMenu ul.level3, div#dropMenu ul.level4, div#dropMenu ul.level5 {top: 0; left: 13em; background:#ffffff}
    div#dropMenu ul.level2 a {padding: 0.5em 0.25em;color: #400000; text-transform:none;}  /* this is text color on drop-down submenu */
    div#dropMenu ul.level2 a:hover {color:#eb2e83;}
    The image I would like to appear behind the top selected category is "item1.png",
    The image I would like to appear at the top of the dropdown category box is "submenu-top.gif"
    The image for the bottom of the dropdown category box is "submenu-bottom.gif"
    The image to go in between submenu items is "hr.gif"
    The arrow to go next to submenu items which have further subcategories is "arrow.gif"

    How/where do I put those images in?


    I'm not quite sure how to accomplish what you want to do, but I would like to take a look at your website to see your drop-down and also try to figure out this issue for you.

    Which add-on are you using that allows such a drop-down system? It is exactly what I need (categories across the top, subcats underneath those in a drop-down, and products under the subcats in a secondary drop-down).

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CSS Dropdown menu for the header- With Categories!

    Not to be the detail police or anything, but neither of these posts seem to be related to support for the Horizontal CSS Drop Down Menu with Categories add-on at all.. (just sayin')

    1kell - Based on your post are you using the Horizontal CSS Drop Down Menu with Categories add-on or is this a different menu?? If it is a different menu, you might get more assistance re-posting your question in the CSS forum.

    hockey2112 - What you want is possible with this menu with some modifications to grab the product information. However, to my knowledge there aren't any posts in this thread which outline how to make such a change to the Horizontal CSS Drop Down Menu with Categories add-on. You might wanna try searching this thread to see if this is indeed the case..

    Quote Originally Posted by 1kell View Post
    ...I installed a css drop down menu ages ago, its modified so that it dynamically generates the categories across the main top line, and subcategories/products drop down in a box when scrolled over. In modifying my website would like to add images to the top line when that dropdown category is selected, plus set of images to form a box around the dropdown category (one top image, one bottom image, and an image separating each li item), lastly an arrow on the side of submenus to the next submenu.

    I have the pics ready and its all working on another javascript menu, but am trying to apply the same to my css menu. This is my current css code:


    Code:
    :
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover {color: #eb2e83!important;background:#ffffff;}
    
    #dropMenuWrapper {
        width:100%;
        height:25px;
        margin:0;
        font-size:12px;
        }
    div#dropMenu {
          width:100%;
          margin:0 auto;
        text-align:center;
        z-index:1000;
        position:relative;
        }
    div#dropMenu ul {
        margin: 0; 
        padding: 0;
        }
    div#dropMenu li {
        position: relative; 
        list-style: none; 
        margin: 0; 
        float: left; 
        line-height: 1em;
        }
    div#dropMenu ul.level1 {
        width:75%; 
        margin:0 auto; 
        text-align:center;
        background:#ffffff;
        border-top:0px solid #ffffff;
        border-bottom: 0px solid #ffffff;
        height:25px;
        z-index:1000;
        }
    div#dropMenu li:hover {}
    div#dropMenu li.submenu {}
    div#dropMenu li.submenu:hover {}
    div#dropMenu li a {display: block; padding: 7px 25px ;text-decoration: none; color:#400000; text-align:center; border-left:1px solid #ffffff;} 
    div#dropMenu>ul a {width: auto;}
    div#dropMenu ul ul {position: absolute; width: 13em;display: none;}
    div#dropMenu ul ul li {background-image:url('images/hr.gif');
      background-repeat: repeat-x;
      background-position: left bottom; width:13em;}
    div#dropMenu li.submenu li.submenu {}
    div#dropMenu ul.level1 li.submenu:hover ul.level2, 
    div#dropMenu ul.level2 li.submenu:hover ul.level3,
    div#dropMenu ul.level3 li.submenu:hover ul.level4,
    div#dropMenu ul.level4 li.submenu:hover ul.level5 {display:block;z-index:1000;}
    div#dropMenu ul.level2 {top: 2.17em; background:#ffffff;z-index:1000;}
    div#dropMenu ul.level3, div#dropMenu ul.level4, div#dropMenu ul.level5 {top: 0; left: 13em; background:#ffffff}
    div#dropMenu ul.level2 a {padding: 0.5em 0.25em;color: #400000; text-transform:none;}  /* this is text color on drop-down submenu */
    div#dropMenu ul.level2 a:hover {color:#eb2e83;}
    The image I would like to appear behind the top selected category is "item1.png",
    The image I would like to appear at the top of the dropdown category box is "submenu-top.gif"
    The image for the bottom of the dropdown category box is "submenu-bottom.gif"
    The image to go in between submenu items is "hr.gif"
    The arrow to go next to submenu items which have further subcategories is "arrow.gif"

    How/where do I put those images in?
    Quote Originally Posted by hockey2112 View Post
    I'm not quite sure how to accomplish what you want to do, but I would like to take a look at your website to see your drop-down and also try to figure out this issue for you.

    Which add-on are you using that allows such a drop-down system? It is exactly what I need (categories across the top, subcats underneath those in a drop-down, and products under the subcats in a secondary drop-down).
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #4
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by DivaVocals View Post
    hockey2112 - What you want is possible with this menu with some modifications to grab the product information. However, to my knowledge there aren't any posts in this thread which outline how to make such a change to the Horizontal CSS Drop Down Menu with Categories add-on. You might wanna try searching this thread to see if this is indeed the case..

    I did search through this thread and I was unable to find a solution. Do you have any input on how it can be accomplished? I feel like it would be a fairly simple change to the code; I just have not been able to figure it out. Thanks!

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by hockey2112 View Post
    I did search through this thread and I was unable to find a solution. Do you have any input on how it can be accomplished? I feel like it would be a fairly simple change to the code; I just have not been able to figure it out. Thanks!
    As I said, I don't think anyone has ever posted a solution in this thread to make the change you are seeking.. If I had an inkling how to execute this, I would have been happy to share the solution..

    Absent anyone posting a solution to give you what you are looking to do with this mod perhaps you might want to look at the "Category Tab Simple Dropdown Menu". Seems you are only interested in the categories as a dropdown menu, and the "Category Tab Simple Dropdown Menu" is more suited for that specific type of menu.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by DivaVocals View Post
    As I said, I don't think anyone has ever posted a solution in this thread to make the change you are seeking.. If I had an inkling how to execute this, I would have been happy to share the solution..

    Absent anyone posting a solution to give you what you are looking to do with this mod perhaps you might want to look at the "Category Tab Simple Dropdown Menu". Seems you are only interested in the categories as a dropdown menu, and the "Category Tab Simple Dropdown Menu" is more suited for that specific type of menu.
    I know that no-one had posted a solution to the change I was seeking. That's why I asked if anyone could/would develop a solution for it to add to this add-on. I don't understand where you are coming from; isn't the point of a message board thread to discuss the items in question and ask about different ways to modify or use them? If you never ask, the solution might never be developed. ;)

    In any case, I tried the Category Tab Simple Dropdown Menu, and it works ok. The main issue is that it is working on two of my categories, but not on the other ones, even though they are all "just categories". I posted in that thread, asking if they could provide a solution.

    Meanwhile, my request for help in adding the products to this add-on's drop-down lists still stands, in case anyone has any ideas.

    By the way, the website in question is http://tinyurl.com/39h2ran

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by hockey2112 View Post
    isn't the point of a message board thread to discuss the items in question and ask about different ways to modify or use them?
    You betcha!! However, it doesn't appear that anyone reading or posting here has an answer for you at the moment.. So perhaps it's time to consider alternative solutions (one of which I posted) or giving some thought to paying a devloper to add this functionality..


    Quote Originally Posted by hockey2112 View Post
    That's why I asked if anyone could/would develop a solution for it to add to this add-on. I don't understand where you are coming from
    Quote Originally Posted by hockey2112 View Post
    If you never ask, the solution might never be developed. ;)
    Sure nothing wrong with asking, but if no solution is posted, or no one VOLUNTEERS to build it (I presume you would like this done for FREE), and/or you are not interested in seeking commercial options for getting the changes you are seeking, why keep asking the same question over and over again??

    Quote Originally Posted by hockey2112 View Post
    Meanwhile, my request for help in adding the products to this add-on's drop-down lists still stands, in case anyone has any ideas.
    If you are willing to pay for this development you should post your request in the commercial help forum..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Mar 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for the header- With Categories!

    Is it possible to toggle Login/Logoff on the menu ?

    Thanks, John

  9. #9
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: CSS Dropdown menu for the header- With Categories!

    Quote Originally Posted by johncrr View Post
    Is it possible to toggle Login/Logoff on the menu ?

    Thanks, John
    There's no "on/off" switch, but the file can be edited to NOT display it;

    Just look in includes/templates/CUSTOM/common/tpl_drop_menu.php at around lines 100-111. You can either comment them out or delete them totally. Either way the menu will not display those links.

    That section of code mentioned above should look exactly like this:

    Code:
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
                  <ul class="level2">
                    <?php if ($_SESSION['customer_id']) { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li>
                    <?php } else { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
                    <?php } ?>
                  </ul>
                </li>
    Hope this helps.
    Robert
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #10
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for the header- With Categories!

    I have this mod installed on my web site

    www.allforyourwedding.com


    I have a question. I have way to many categories. Is there any way they can be automatically set to say go 10 down and then a new column.
    Or could someone tell me a better way I can handle this? My only last thought would to just have a button called "Categories" that someone would click and it gives them them in the center...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Categories dropdown menu/css
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Apr 2013, 01:04 PM
  2. HIde categories mod with css dropdown menu
    By adowty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 01:05 AM
  3. How to use ezpages/categories as dropdown menu in the header?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Dec 2011, 06:32 PM
  4. whats wrong with this css for my dropdown menu?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 May 2010, 02:47 AM
  5. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 AM

Posting Permissions

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