Return to Snippet

Revision: 18729
at October 6, 2009 19:06 by lexx


Initial Code
//Featured article fix//
		var myFeatured = $('body.front div.featured').attr('id');
		var theHidden;
 
	$('body.front .front-latest-news div.article').each(function(){
		theHidden = $(this).attr('id');
 
 
		if(theHidden == myFeatured){ 
			$('body.front div.front-latest-news div#'+theHidden).hide();	
		}
	});

Initial URL

                                

Initial Description

                                

Initial Title
Find duplicated id and remove the one with JQuery

Initial Tags

                                

Initial Language
jQuery