Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-10-2009 07:03:52

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Popup Menus for the Store

wwwthreedogsportinggoods.com

I want to replace the Store Menu with a tiered popup menu using code from Deluxe Menu. With this new configuration the user would not need to click on successive categories until they reached the product level but instead would be able to go directly to the product list.

I have the code written for the menu but need specific help with the following:
1) How do I create a link to the lowest category where the product list exists?
2) Where do I put the menu code?

I've searched the site and found nothing similar. If anyone has done this I would very much appreciate some assistance.

Thanks in advance.

Offline

 

#2 11-10-2009 08:22:06

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

Read this .

John

Offline

 

#3 11-10-2009 08:42:16

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Re: Popup Menus for the Store

Thanks John

Offline

 

#4 11-11-2009 17:21:50

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

I have been watching your site to see if you have got this menu running and have noticed several attempts but not yet up and running. The last attempt you had the menu list (as seen in the raw html code) but I noticed that you still had css problems and maybe you where not pulling the java script, are you trying to use the java code that I had in the post or are you trying to get it to work with the menu code you had?

John

Offline

 

#5 11-11-2009 18:06:30

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Re: Popup Menus for the Store

John,
Thanks for the followup.

You are correct, I've not been able to get it to work. I sued all of your code and suggestions. In fact I pasted your code where possible. I had an issue with a bad file name for the femenu.js file but have resolved that. Can you look at thte site now please and let me know if you have any idea what might be the issue.

Also, it seems to be very slow. I'm hoping that is because I've fat fingered something.

Is the following correct?  I created media/scripts in my store's private folder and used your line of code for the script file --- <script type="text/javascript" src="media/scripts/femenu.js"></script>

Thanks a lot for your help.

Chuck

Last edited by chuck6478 (11-11-2009 18:06:44)

Offline

 

#6 11-11-2009 18:16:29

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

The site is not finding the menu java scripts, as I see a 404 not found in FF  web tools when pulling info on the java scripts.

John

Offline

 

#7 11-11-2009 18:27:14

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

In w3c validator you have 17 code errors but they don't seem major ones. Try the java script pull like

Code:

<script type="text/javascript" src="/media/scripts/femenu.js"></script>

John

Offline

 

#8 11-11-2009 18:35:07

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Re: Popup Menus for the Store

I made the change but it didn't seem to help.

The js file is in /store-private/media/scripts where /store-private is the private folder off my root. Is the code correct?

Offline

 

#9 11-11-2009 18:38:08

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

The js script should be in your public_dir/media/scripts directory.

John

Offline

 

#10 11-11-2009 18:44:45

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Re: Popup Menus for the Store

That did it.

Check the original posting. I believe it says the JS file goes in the private_dir.


Thanks for sticking with me.

Chuck

Offline

 

#11 11-11-2009 18:44:59

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

I corrected the path in the original post, sorry I had it listed wrong.

John

Offline

 

#12 11-11-2009 18:49:06

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Re: Popup Menus for the Store

No problem.

Can you tell me if I can do anything about speeding it up. Is it because of the number of categories?

Please ignore the ugly arrow icon. I will deal with it later.

Chuck

Offline

 

#13 11-11-2009 18:58:46

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Popup Menus for the Store

I would start with trying to clean up the xhtml errors. I don't see a really long load time in Safari but FireFox does take some time to load, I don't know if that is because of the web tools mod I have installed on FF or not.

John

Offline

 

#14 11-11-2009 19:20:56

chuck6478
Member
From: Missouri
Registered: 09-05-2009
Posts: 119
Website

Re: Popup Menus for the Store

I've cleaned up the CSS errors. I'm working on the HTML now.


I just tried Safari and it was very fast. You may have a point about the tools. I have them loaded in Firefox. I tried IE8 and it was not as fast as Safari but faster than Firefox with the tools.

Good job John. Thanks again.

Offline

 

Board footer