Jump to content

Updating a menu list, without reloading older links


Gath

Recommended Posts

Hi. I'm looking at this site i'm building for so long, i'm kind of blocked...

 

Having a menu list, with several links (Link1, Link2, Link3), and then when certain conditions are met (server wise) Link 4 is visible, then eventually Link 5, and so on.

I would prefer not to have the links already in the page (invisible), for security reasons, and make them "visible" only when the user achieved certain steps (server side).

I would also like this to be "server resources friendly" as possible. This point is very important.

What i got so far is updating the full menu list everytime the user does something, and check the conditions to see certain links. But this isnt cutting it.

 

Any ideas?

 

Not sure if this should be a JavaScript / jQuery question. Only started in jQuery a few days back, i'm still very green in it.

 

 

Thanks.

  • 2 weeks later...

If I understand you, you want to modify your "menu" as a results of some user interaction with your page.  This and perhaps some database content involvement as well.   If so - this sounds like an ajax thing wherein you make your call to the server, get the response and output that response to the html div or element that contains your menu.  Does that sound right? 

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.