Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with a List

Discussion in 'Website Design Forum:' started by Will, Mar 24, 2010.

  1. Will

    Will Member

    Hi guys,

    I'm drawing a blank with how to tackle a list I've designed for a web app.

    I've added a link below to an image showing how the items should function, but can't figure out the best way to tackle this.

    Any help would be much appreciated.

  2. Levi

    Levi Moderator Staff Member

    no expert but what about a javascript onclick function?
  3. Hoxxy

    Hoxxy Junior Member

  4. Sunburn

    Sunburn Active Member

    ul li a + css job done.

    if its more fancy then that ul li a + css + javascript job done.

    or am i missing something?
  5. Jazajay

    Jazajay Active Member

    Well Will that would have to be a JavaScript solution TBH as it needs to know what was selected.
    Here's how I would do it if you need help implamenting the code let me know.

    1) We create it without JS first then add it to enhance it. Link all the links into one page and add a get variable to test on that page.

    2) When the link is clicked we save the get variable into a cookie and redirect the user back to the page.

    3) We then parse the cookie and add a class to the li and change it's appearance with CSS

    4) We add JS to make it a one page show and stop the link from executing.

    5) Relax and put the kettle on. : )

Share This Page