开发者

Fancybox jQuery Codeigniter

I have a small situation. I am preparing a sample for a client and I cannot understand this. I have a div with 7 jpg's and a list item that is a link that if I click should fireup fancy box and show some pics in gallery format. Now this doesn't w开发者_StackOverflow社区ork so I remembered that I must add the '#' to the list of accepted characters in ci but still no problem, is there something I am doing wrong? here is my code.

$(document).ready(function(){//js to handle fancybox

$('a#inline').fancybox({
    'overlayshow': true,
    'zoomSpeedIn': 400,
    'zoomSpeedOut': 400
} return false;);
});
//list link to fireup fancybox
<li><a id="inline" href="<?= "$base";?>home/photogallery">PhotoGallery</a></li>

then will several <img /> that hold the images.

Any clues guys?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜