Send to a Friend

ETpro's avatar

Name that Script. Can you help me find a JavaScript for this?

Asked by ETpro (34605points) April 12th, 2010

This probably already exists, but I am not sure what to call it to Google for it. If you know of such a script, or even what to call it, that would steer me to a successful search.

What I want to do is put a checkbox beside each thumbnail and product description on the section pages of the website. I want to put a “I Liked These” section at the top of the right column, and each time a user clicks a checkbox beside an item, add a copy of it to the “I Liked These” list on the right. Here is a sample of a page I’d like to put this on.

I am not looking for a voting system. This is for an individual user. Say a large section has 200 products in it. I paginate it into 10 pages of 20 items each. By the time a user gets to page ten, they realize the items they liked best were back on one of those previous pages. So now they have to click back through and hunt for each one they liked. I want them to be able to mark things they really like, and collect them in the right column as the page through, so when they are done, they have a collection of their favorites to select from instead of having to page back and forth, or view all and scroll forever.

This is going to be installed on a Yahoo Store, where there is no active server-side language available at run time. So it has to be done entirely client side. And given the single user focus, I see no reason to make it database dependent anyway. I would use cookies to preserve the list for a return visit by the same user. And I would build in a way they can dump the cookie after they are done looking at a set of favorites. Also let them remove and add to the favorites column at will.

Is there something already out there I can start with, or do I need to code this up from scratch? Looking for suggestions on how to proceed.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.