Kode Script Untuk membuat tampilan website/blog menjadi responsive
*Bisa ditaruh di header, footer / keduanya
Code :
*Bisa ditaruh di header, footer /
Code :
<script type="text/ javascript">
$(document).rea dy(function(){
function destroyCKEditor (minAllowedWidt h){
if (typeofCKEDITOR !='undefined'&& $(window).width ()<minAllowedWi dth){
CKEDITOR. on("instanceRea dy",function(ev ent)
{
$. each(CKEDITOR.i nstances,functi on(index,instan ce){
instance. destroy();
} );
} );
} ;
}
//usage
destroyCKEditor (768);// destroy ck editor in devices less than 768px wide
});
</script>
$(document).rea
function destroyCKEditor
if (typeofCKEDITOR
CKEDITOR. on("instanceRea
{
$. each(CKEDITOR.i
instance. destroy();
} );
} );
} ;
}
//usage
destroyCKEditor
});
</script>
Semoga bermanfaat
READ MORE
.
bloging, seo, ads, media, selebrities, teknologi,
BLOG
Kode Script
Membuat
Menjadi
Responsive
tampilan
website