![]() |
Shadow Box Integration - 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: Shadow Box Integration (/showthread.php?tid=17334) |
Shadow Box Integration - El Forum - 04-02-2009 [eluser]Typeslowly[/eluser] Anyone managed to get shadowbox to work with codeigniter? http://mjijackson.com/shadowbox/index.html Having a few issues. :-) Jason Shadow Box Integration - El Forum - 04-02-2009 [eluser]TheFuzzy0ne[/eluser] It's kind of hard to help when you haven't told us these issues. ![]() Shadow Box Integration - El Forum - 04-02-2009 [eluser]Typeslowly[/eluser] sorry, just wanted to see if anyone had it working before I spent hours trying to get it working. :-) Jason Shadow Box Integration - El Forum - 04-02-2009 [eluser]Johan André[/eluser] I got it working for a project I did almost a year ago. As I remember it, the trouble I had was sorting out which files from SB to use (adapters etc.). I will have a look and see I can dig it up... Shadow Box Integration - El Forum - 04-02-2009 [eluser]Typeslowly[/eluser] Hi Johan, Thanks for your reply. I have it working now, my problem seems to be calling from within .SWF when embedded with SWFObject. Working fine from within .SWF if embedded with FlashObject. Will post when I have a solution. :-) Jason Shadow Box Integration - El Forum - 04-02-2009 [eluser]Typeslowly[/eluser] [quote author="Johan André" date="1238690894"]I got it working for a project I did almost a year ago. As I remember it, the trouble I had was sorting out which files from SB to use (adapters etc.). I will have a look and see I can dig it up...[/quote] Hi Johan, Actually any help would be greatly appreciated. :-) Jason Shadow Box Integration - El Forum - 04-02-2009 [eluser]Typeslowly[/eluser] Various bits of advice floating around the web and none of them worked for me. Obvious now! Make sure you include the base_url in your src's Not enough time to zip up a working demo but if anyone has the same problem I shall try and do that for you. <!-- Call shadowbox scripts //--> [removed][removed] [removed][removed] [removed][removed] [removed] // Classic skin, english language 'en' but can be traded for others like spanish 'es', and all of the possible player types. Shadowbox.loadSkin('classic', '<?=base_url()?>shadowbox/skin'); Shadowbox.loadLanguage('en', '<?=base_url()?>shadowbox/lang'); Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], '<?=base_url()?>shadowbox/player'); :-) Jason |