Revision: 52771
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 1, 2011 15:08 by jackkeller
Initial Code
$('body').append('<div id="writehere"></div>'); $('div,span,img').each(function (index, elem) { var thatstuff = $(this).attr("id"); var thisstuff = $(this).attr("class"); if(thatstuff!='writehere'){ if(thatstuff!=''){$('#writehere').append('#'+thatstuff+' {\n\n}\n\n');} if(thisstuff!=''){$('#writehere').append('.'+thisstuff+' {\n\n}\n\n');} } });
Initial URL
Initial Description
Initial Title
Auto CSS Skeleton from #id's
Initial Tags
jquery
Initial Language
JavaScript