jquery - show image instead of Alt text if image src not present -


i using imageflow base . problem want show text on top of image tried doing js file don't accept div around img tag.

       <img src="" alt=""   > 

is there way show alternate image if image src not able .

you can below

 <div style="background: transparent url("tempballoon.png") no-repeat left top; font-size: 32px;width: 100%; height: height:[height of image]">   test  </div> 

or can build given in link


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -