FancyBox

FancyBox

Como faço para obter o título de fancybox como no facebook, e / ou como eu colocar mais palavras no título de fancybox (cabem tão poucas)?

----------------------------

How do I get the title of fancybox like with facebook, and / or as I put more words in the title of fancybox (fit so few)?


  1. <script type="text/javascript">
    $(document).ready(function() {
     $(".fancybox-button").fancybox({
      playSpeed   : 500,
      prevEffect  : 'none',
      nextEffect  : 'none',
      closeBtn  : false,
      loop    : false,
        afterShow: function() {
            $(".fancybox-title").wrapInner('<div />').show();
           
            $(".fancybox-wrap").hover(function() {
                $(".fancybox-title").show();
            }, function() {
                $(".fancybox-title").hide();
            });
        },
        helpers : {
            title: {
                type: 'over'
            }
        },
       buttons : {}
      
     });
    });
    </script>