Jump to content

Dynamic JavaScript menu creation...problem


ScottRiley

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

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.