Forums / All Other Contributions/Addons / Header Dropdown Menu - Nice! - how add Down Arrows ?

Header Dropdown Menu - Nice! - how add Down Arrows ?

Locked

Views: 6,195

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
16 Feb 2007, 1:32 PM
#1
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Header Dropdown Menu - Nice! - how add Down Arrows ?

Thanks for this contrib. It's something that I've needed for ages, great!

One thing I'd like to add are Down Arrows in top menu items that also contain sub items.

If a top item contains sub items, then a down arrow is displayed. But, if a top item does not contain sub items, then a down arrow is not displayed.

Is there anyway to do this in the CSS ?

Thanks so much again :smile:

16 Feb 2007, 1:37 PM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

Sounds interesting - have you got a link to this? (Bearing in mind that the downloads section isn't yet searchable! )

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

16 Feb 2007, 2:31 PM
#4
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

DogTags:

Thanks for this contrib. It's something that I've needed for ages, great!:

DT-

Which contrib do you speak?

Are you referring to the horizontal menus feature integrated into the Apple Zen template contributed by jettrue?

Demo: http://www.zencart137.jadetrue.com/
Available at: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_53&products_id=449
Support thread: http://www.zen-cart.com/forum/showthread.php?t=55822

Or is there actually a contribution/mod named "Header Dropdown Menu" that is available for download somewhere on Zen Cart support site? If so I cannot locate.

Either way thinking your inquiry will be best responded to if directed to the "Contributed Templates" board. But let us know what you find out :wink2:

Woody

16 Feb 2007, 2:33 PM
#6
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

I wasn't quite sure where to post this. Please feel free to move it

16 Feb 2007, 2:35 PM
#7
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

DogTags:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_53&products_id=476

We posted at the same time. I swear before I posted I looked in the Templates download area and did not see the new mod!!! I suspect that an old page was caught in my broeser cache. Thanks for the pointer. Looks like a very useful contribution that I want to immediately play with ;wink2:

Woody

16 Feb 2007, 2:39 PM
#8
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

For displaying Down Arrows, here's something that I got from the Extended Menu module in Joomla:

ul.mainlevel-son-of-suckerfish-horizontal .expanded{
 background-image:url("../images/expanded_down.gif");
 background-position:right center;
 background-repeat:no-repeat;
 padding-right:10px;
}

Here's the joomla extended menu module location:
http://de.siteof.de/extended-menu.html

Here's the drop menu (without down arrows but otherwise totally nice):
http://de.siteof.de/extended-menu-templates.html#son_of_suckerfish_horizontal

16 Feb 2007, 2:44 PM
#9
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

DogTags:

I'm also trying to address the IE6 and older browser issues.

Netscape 4 issue:
http://javascript.about.com/library/blsfmenu3.htm

IE6 and earlier issue (hover issue):
http://javascript.about.com/library/blsfmenu4.htm

How would this all fit into this? Where would the js go?

Thanks :smile:

Netscape 4 solution? but where would it go?:

<style media="screen">
@import url(sfmenu.css);
</style>

IE6 and earlier solution? but where would it go?:

// Enhanced Suckerfish menu
// refer to http://javascript.about.com/library/blsfmenu1.htm
// for more information
// you may copy this code but please keep the comments intact

// fix for IE hover
sfh = function() {var sfE = document.getElementById("nav").getElementsByTagName("li"); for (var i=sfE.length-1; i >= 0; i--) {sfE[i].onmouseover=function() { this.className+=" sfh"; }; sfE[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfh\\b"), ""); }; }}; if (window.attachEvent) window.attachEvent("onload", sfh);

// fix for IE position:fixed bug
function posTop() {return typeof window.pageYOffset != 'undefined' ?  window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ? document.body.scrollTop : 0;} function moveit() {var y = posTop() + 'px';document.getElementById('nav').style.top = y;} window.onscroll = moveit;

Both solutions above provided on the About.com pages referenced also above

16 Feb 2007, 5:32 PM
#10
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

Why not go right to the Source? Checkout the Examples at page bottom.

SuckerFish Menus have long been used and recommended by many.

The learning is in the doing.

Potent Products

18 Feb 2007, 1:45 PM
#11
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

Website Rob:

Checkut the Examples at page bottom.
SuckerFish Menus have long been used and recommended by many.

Suckerfish... at page bottom. HA! :)

Thanks for the resource link!

Woody

18 Feb 2007, 1:59 PM
#12
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

Woodymon:

Or is there actually a contribution/mod named "Header Dropdown Menu" that is available for download somewhere on Zen Cart support site? If so I cannot locate.

Hey DogTags-

Jadetrue (jettrue) just announced the mod release of his updated dropdown menu system (which is integrated into the Apple Zen template, mentioned in previous post). That is the menu package is to be available as a separate mod contribution. It is an upgrade of earlier "CSS Flyout Header" mod. Should be in Zen Cart downloads area soon, if not already.

Announce is here:
CSS Dropdown menu for your header - With Categories!
http://www.zen-cart.com/forum/showthread.php?t=58629

Woody

19 Feb 2007, 4:45 AM
#13
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

The difference between this one, and the one I uploaded (see my sig) is that mine actually gets the categories dynamically, and displays them in the drop down menu. I've also added login links, links for contact, shopping cart, etc. This one, you have to manually add the links one by one. You can see it in action at http://www.zencart137.jadetrue.com.

19 Feb 2007, 9:19 AM
#14
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Header Dropdown Menu - Nice! - how add Down Arrows ?

From confused of Southport....

So is the one which dynamically gets the categories available?

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !