Return to Snippet

Revision: 36574
at November 23, 2010 10:21 by donaldcook


Initial Code
function showSelected(selected_card) {
	if (document.getElementById("selected_image")) {
        document.getElementById("selected_image").setId('');
   }
        selected_card.setId('selected_image');
}

Initial URL

                                

Initial Description
Pass this for onclick.  Add 'selected_image' id to css.

Initial Title
FBJS toggle selected item in list

Initial Tags
list

Initial Language
JavaScript