Home › Forums › Other › Dynamic Content, best practice question › Re: Dynamic Content, best practice question
January 30, 2013 at 5:45 am
#122811
Member
I would go this route: Write the markup for every single category container on this page, serve the content server side on the first load and then hide them with JavaScript. If the user clicks on a category link, display the according container.
So you have a valid fallback for users with no JavaScript and an easy solution to your problem. The only challenge I can imagine is the page weight if you are heavily relying on images within the categories. Then you should consider AJAX or taking the reload into account.