Script Auto Alt Tag

Script Auto Alt Tag

Pasang di atas </body>



<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
//SEO SCRIPT By - Techbymak.com
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('img').each(function(){
var $img = $(this);
var filename = $img.attr('src')
$img.attr('title', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));

$img.attr(‘alt’, filename.substring((filename.lastIndexOf(‘/’))+1, filename.lastIndexOf(‘.’)));
});
});
//]]>
</script>



Komentar

Postingan populer dari blog ini

Cara Mendapatkan cPanel X Gratis + Support Bot Facebook

Stock ROM Xperia Z4 Xtreme Gaming ROM For Lenovo A316i