Forgot?

[SOLVED] shadowbox and imagemap

Reply Topic
Link to this post 21 Sep 09

hi

i'm trying to deal with shadowbox and imagemap.
I know it's possible to do, as stated on the shadowbox homepage itself, but I cannot seem to make it work with joomla!

According to the example, a Shadowbox.setup line must be added for each imagemap.
I tried modifying plugins/system/ninja.shadowbox.php

[ul]
[li]if I add Shadowbox.setup around line 163, before the Shadowbox.init, then the whole script won't work (no fading at all, for common links neither)[/li]
[li]if I add Shadowbox.setup after Shadowbox.init then the fading will work for normal links, but yet the map is ignored[/li]
[/ul]

can anyone give an hint?
thanks
maxxer

Link to this post 22 Sep 09

Hi maxxer,

Where did you read those instructions?
If you read them on the shadowbox, they refer to shadowbox 2. It is possible it works diffferently in shadowbox 1, which we use in Ninja Shadowbox.

Link to this post 22 Sep 09

oh, this could be a good reason why it's not working.

I guess using sb 2 is not an easy task as replacing the file, right?

I'll see on sb forum if this is still possible on sb 1.

Link to this post 13 Dec 09

Hi maxxer,

Hopefully you already found a solution (using shadowbox 3?).

In any case, I've just added support for this to the latest version of Ninja Shadowbox (2.0.9). You can see an example here:


Sorry about the delay.

Cheers

Forums Joomla Extension Support Ninja Shadowbox & Ninja ShadowPanel [SOLVED] shadowbox and imagemap