#106900  
El_Diablo
More time posting than coding
century 
							
						
					El_Diablo
More time posting than coding
century
 
							
						 get out now while you can....
 get out now while you can....
							
						

 
							
						
var latest_videos=".latest_videos";
var selected_class="selected";
var last_class="last";
var unselected_items="li:not(."+selected_class+")";
var selected_items="li."+selected_class;
function select_video(){
   var firstItem=$(this).parent().children("li:first");
   var firstItemContents=firstItem.children().remove();
   var selectedItemContents=$(this).children().remove();
   $(this).append(firstItemContents);
   firstItem.append(selectedItemContents);
   return false;
}
$(latest_videos).find(unselected_items).click(select_video);
$(latest_videos).find(selected_items).click(
   function(){
      openPlayer($(this).find("a").attr("href"));
      return false;
   }
);



 which I do find strangely appealing
 which I do find strangely appealing 



 
  
							
						

Comment