Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

Hi everybody...


I'm trying to install easymenu in my oscommerce site. I would like to include an horizontal menu onto my site so I think I DON'T need the latest version but the first one...


I use IE and the menu did not drop-down so:

1.- I included the javascript lines inside the "header.php" script at top as shown

2.- I changed ("LI") onto ("li"). Otherwise, it doesn't work. Submenus are not shown.

3.- At last, I included the little example code at the same file "header.php".


Now, I can see the home button and menu drops-down, but it's practically imposible choosing one submenu option. Submenu is shown at last 2cms to the right of the main menu, and when I left the main button, the submenu dissapears. What am I doing wrong?


Please help me. I'm really interested using this contribution.


Thank you very much.




<link rel="stylesheet" type="text/css" href="easymenu.css">

<script type="text/javascript">

sfHover = function() {

var sfEls = document.getElementById("nav").getElementsByTagName[b]("li");[/b]

for (var i=0; i<sfEls.length; i++) {

sfEls.onmouseover=function() {

this.className+=" sfhover";


sfEls.onmouseout=function() {

this.className=this.className.replace(new RegExp(" sfhover\\b"), "");




if (window.attachEvent) window.attachEvent("onload", sfHover);



/*$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions .............


Link to comment
Share on other sites

Is this the EasyMenu Maker contribution? If not, ignor the following. If so, the problem with the javascript is the javascript file has script lines in it. They should be deleted. Once they are, you should be able to include them. But even if you don't, the menu should work. You may have to adjust the css settings to make it appear corectly for your shop. If you can provide a link, I would be able to give you a better idea as to what might need to be changed.



Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...