javascript - Fancybox 2 not showing title for a tag -


i'm trying show title image in fancybox doesn't show , can't find out why...

this html

<div id="gallery">   <table style="border:none">     <tr>       <td style="vertical-align: middle; border=none; background-color:white;">         <a class="fancybox" rel="group1" href="/path/to/image.jpg">           <img src="/path/to/image.jpg" alt="my alt text" width="100" height="100" />         </a>       </td>     </tr>   </table> </div> 

and fancybox code

$(".fancybox").fancybox({     hideoncontentclick : false,     openeffect : 'none',     closeeffect : 'none',     maxwidth : 900,     autosize : false,      helpers : {         title: {             type: 'outside'         }     },     beforeshow : function() {         this.title = "nananana batman";     } }); 

thanks help.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -