Để thực hiện được điều này, việc bạn phải làm đơn giản chỉ là thêm 1 đoạn script vào template Blogspot.
Đăng nhập vào Blogspot, trong tab Template, chọn Edit Html.
Sau đó bạn tìm thẻ đóng
</body>
và thêm đoạn script dưới đây vào bên trên thẻ </body>:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(document).ready(function() {$('img').each(function(){var $img = $(this);var filename = $img.attr('src')$img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));});});</script>
<script type='text/javascript'>
$(document).ready(function() {$('img').each(function(){var $img = $(this);var filename = $img.attr('src')$img.attr('title', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));});});
</script>
Sau đó chọn Save Template và bạn đã hoàn thành công việc rồi
Chúc các bạn thành công hơn nữa
2 Nhận xét
Thank you for the article.
Trả lờiXóaTelecom analytics company
Healthcare analytics company
Banking and Finance analytics company
Consumer Packed Goods and Retail analytics company
I loved the way you write and suggest my friends too for getting aware of your blogs. Thanks for spending your valuable time in delivering the most valuable content here.
Trả lờiXóaPawn shops in Burbank
Pawn shops in East lake
Pawn shops in Madison Avenue
Pawn shops in st. stephens
Nhập nội dung