Gath Posted May 7, 2013 Share Posted May 7, 2013 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. Quote Link to comment Share on other sites More sharing options...
ginerjm Posted May 22, 2013 Share Posted May 22, 2013 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.