Revision: 59153
Updated Code
at August 21, 2012 07:23 by cmndo
Updated Code
var scr = document.createElement('script'); scr.setAttribute('src', 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js'); document.body.appendChild(scr); scr.onload = function(){ $('div').attr('class', '').attr('id', '').css({ 'margin' : 0, 'padding' : 0, 'width': '100%', 'clear':'both' }); };
Revision: 59152
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 21, 2012 07:19 by cmndo
Initial Code
var scr = document.createElement('script'); scr.setAttribute('src', 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js'); document.body.appendChild(scr); scr.onload = function(){ $('*').attr('class', '').attr('id', '').css({ 'margin' : 0, 'padding' : 0, 'width': '100%', 'display': 'block', 'clear':'both' }); };
Initial URL
Initial Description
Load jQuery and tell every div to be 100% width
Initial Title
Make Everything Mobile Friendly
Initial Tags
jquery
Initial Language
JavaScript