I have a JS _buildPlaylist file, and Isee this for example:
//create thumb thumb=$(new Image()).addClass('thumb_img').appendTo(div).attr('alt', _item.title?_item.title:'').css({ cursor:'pointer', opacity:0 }).load(function() { $(this).stop().animate({ 'opacity':1}, {duration: 500, easing: 'easeOutSine'});//fade in thumb }).error(function(e) { }).attr('src', _item.thumbnail);
The line for crear image thumb with "alt title name"
This is the result:
<img class="thumb_img" alt="Sample title builded here" style="cursor: pointer; opacity: 1;" src="http://mywebsite.com/image.jpg">
As you can see, this creates an image with an alt text attribute
Now, I want to change to build a < LI > List names
- Sample title builded here (this is the ALT title name)
So, how can I change the image thumb to a text, or show alt title only?