Jump to content

displaying dynamic data in div on same page


Recommended Posts

hi I'm new here, and new to php so please be gentle.  I'm not totally sure php is the answer to my question, but here goes.

 

I have 2 divs on my site.  One div, called categories, contains a static, unordered list of hyperlinks: link1, link2, link3... etc.  The other div, resources, loads a different unordered list of links dynamically based upon what link is clicked in "categories."

 

Ideally, when a user clicks link1 in "categories" an unordered list of links would appear in "resources"- link1a, link1b, link1c... etc.  Same for when link2 is clicked, only the ul would contain link2a, link2b, link2c data.

 

Can this be done with php?  I'm not looking for code, but more an idea of how it should be structured.

Thanks,

skarg

 

 

thanks for the quick reply.  what a great forum.

 

avoiding a page load would be the best.  so i guess javascript is the way to go.  but i'm still without the next step.  how?

thanks so much for your help.

 

Archived

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

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