Web Menu Issues

Please look at tchristy.net

Note on the left, there is a menu structure & on the right broad product groups.

Choose one of the Product groups between Sealants, Lubricants & Epoxies & Waterworks (inclusive). Note as you click on a product group, the menu expands for that group & lists what we call categories. Note that the right (page body) does the same. Click a category; the subcategories expand out in the menu & on the page body. This all works good.

Now look at the last two groups (Copper Fittings & Plumbing). These do NOT work properly.

The question is, does anyone know of a generic web menu system that I could acquire that I could use to replace this? I have a lot of web development experience & I have spent perhaps 8 hours trying to debug the issue, unsuccessfully.

Of course the menu system has to be able to be tied into the display on the page body so the two are sync.

Thanks
Richard KortsAsked:
Who is Participating?
 
COBOLdinosaurConnect With a Mentor Commented:
Okay, I see what you see.  I did not fully understand. Thanks for sticking with it and giving me that description.  At the point where it fails, it appears that the scripting has just collapsed.  

When I validate the page, it throws over 2200 errors.  Most of them are just because the validator does not like the links.  However there are also duplicate id declarations.  Those are serious structural errors and could account for the failure of the scripting.  The Document Object is probably getting shredded.

I assume that the duplicate ids are probably getting generated by the menu plugin or extension you did to it.  So the menu itself is not the problem, but generation seem to be the issue.

As the problem shows up on the final two top-level entries.  try removing them and see if the problem disappears or move up to the new final two.  If it disappears then the problem might just be some limitation in the plugin.  If it migrates then the logic generating the menu is flawed.

Sorry I can't be more help.

Cd&
0
 
COBOLdinosaurCommented:
What browser, because it looks like it is working correctly for me.  Any chance you have an old version of something in cache?

Cd&
0
 
Richard KortsAuthor Commented:
COBOLdinosaur

I'm using FireFox. I didn;t check it in IE (this time) but I did previously; same issues.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
Richard KortsAuthor Commented:
COBOLdinosaur

The behavior that is a problem is described more specifically as follows.

Click on Copper Fittings on the lower right. The correct categories display in the menu & on the page body. Click any category. The correct subcategories show in the left menu & in the page body. Click on of the subcategories in the page body, The correct product list in the selected subcategory shows in the page body. The left menu switches to Plumbing with the 3 categories.

Start over. Select Plumbing. The correct categories show on the left menu & in the page body.

Click any category in the left menu. Nothing happens. Click any category in the page body. The correct subcategories show in BOTH the left menu & the page body. Click on any subcategory. The correct product list in the selected subcategory shows in the page body. On the left menu, everything disappears (as if NOTHING had been selected).

It seems like ALL the product groups down through Waterworks function correctly. The last two (Plumbing & Copper Fittings) do not.
0
 
Richard KortsAuthor Commented:
Can you give me an example of a duplicate id generation?

Thanks
0
 
COBOLdinosaurCommented:
When two elements in the page have the same value for the id attribute it is invalid.  There is no way for the browser to resolve the ambiguity and the Document Object cannot be used to reference the elements.  The results are unpredictable and the page is not going to execute scripting correctly.

It is like putting the same address on every house in a small town.  How do you deliver mail, dispatch the fire department or find any particular instance of the address?

Cd&
0
 
Richard KortsAuthor Commented:
OK, the id element names are generated by php. I will have to try to do something to make them unique.

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.