![]() |
fancybox jquery codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: fancybox jquery codeigniter (/showthread.php?tid=24012) |
fancybox jquery codeigniter - El Forum - 10-28-2009 [eluser]joeizang[/eluser] hi, 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 work 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. Code: $(document).ready(function(){//js to handle fancybox fancybox jquery codeigniter - El Forum - 10-28-2009 [eluser]mattpointblank[/eluser] A # symbol in a link shouldn't produce a CI error - are you sure it's not the fancybox plugin not working? You can use this instead of <a href="#"> to prevent 'anchoring' when clicking: Code: <a href="javascript//"> |