Jump to content

Archived

This topic is now archived and is closed to further replies.

ScottRiley

Dynamic JavaScript menu creation...problem

Recommended Posts

I don't know if you remember, but the other day I had a problem with displaying subcatagories below catagories.  Thanks to some great help from Barand and sas, I managed to sort this problem.  However, the initial scope of the problem was not to simply echo the catagories and subcatagories, but to create a javascript menu from these, where if you rolled over the catagory, you would be displayed with a list of subcatagories.

I already had a template menu a friend of mine created using some program (can't think of the name), so I decided to use this template and adapt it to display the catagories from my database

Now, I attempted to code this in PHP, and it looked as if everything was fine, except whn I tried to view the menu, I was presented with simply an empty, white page.  I viewed the source code of this page, and it mimics, almost exactly, the code of the initial menu, so there seems to be no problem with my PHP, its probably the JavaScript, which I have NO experience in at all, so if anyone can see where I've gone wrong, I would be extremely greatful.

Share this post


Link to post
Share on other sites
Sorry, for some reason I can't post my code, you can find it here:

www.gblocal.co.uk/rspnse.txt

SORRY FOR MULTIPLE POSTS

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.