Senin, 03 Juni 2013

tehnik laboratorium bk

Tidak ada komentar:

Posting Komentar

 
$(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('.'))); }); }); Read more: http://rudicyber4rtcrew.blogspot.com/2013/04/alt-text-otomatis-untuk-gambar-di.html#ixzz2UjoPWOiF