[Plugin: Fancyboxify] Small Fancify Improvement
-
Great simple plug-in – thanks!
Made a small tweak to the code so the grey “title” span element doesn’t show up if there is no title. The code modification in fancyboxify.php is:
Replace:
'titleFormat' : function(title, currentArray, currentIndex, currentOpts){ return '<span id="fancybox-title-over">' + (title.length ? ' ' + title : '') + '</span>'; },
With:
'titleFormat' : function(title, currentArray, currentIndex, currentOpts){ return (title.length ? '<span id="fancybox-title-over"> ' + title + '</span>': ''); },
- The topic ‘[Plugin: Fancyboxify] Small Fancify Improvement’ is closed to new replies.