CottageLabs/cl

dynamic page content based on search results

Closed this issue · 2 comments

On the /projects page, there are 3 buttons:

  • current projects
  • completed projects
  • all projects

each is bound to a search feature which allows the user to hit the button and see the results. What it doesn't do is tell the user which one they are currently looking at.

Would be great if we could highlight the button which meets the current search terms, or have different page headers for different terms.

Don't know how this can be achieved! Embed javascript in the page, perhaps?

yes, probably best by as discussed having an option to provide a js file for a given page (along with css if necessary). and also fixing the embedded js problem just in case people want it.

closing this in reference to ticket #69 which regards javascript for a given page