Welcome Guest, Not a member yet? Register   Sign In
Shadow Box Integration
#1

[eluser]Typeslowly[/eluser]
Anyone managed to get shadowbox to work with codeigniter?

http://mjijackson.com/shadowbox/index.html

Having a few issues.

:-)

Jason
#2

[eluser]TheFuzzy0ne[/eluser]
It's kind of hard to help when you haven't told us these issues. Smile
#3

[eluser]Typeslowly[/eluser]
sorry, just wanted to see if anyone had it working before I spent hours trying to get it working.

:-)

Jason
#4

[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...
#5

[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
#6

[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
#7

[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




Theme © iAndrew 2016 - Forum software by © MyBB