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.

Link to comment
Share on other sites

  • 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? 

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.