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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -