Hi!
I'm able to get the shadowbox to work in the Joomla v1.5.25 Banner component...
The problem is that I'm not able to fully control the size of the shadowbox / lightbox...
First, here is how I get it to work:
When you create a new TEXT banner item, there is a field called "Custom Banner Code". In that field I put something like this:
<a href="{CLICKURL}" title="Henry Smith - Camera Assistant" rel="lightbox;width=800;Height=450"><b>{NAME}</b></a>
<br/>
<i>Camera Assistant</i>
the "{CLICKURL}" is whatever legitimate URL you put in the field "Click URL" (http://www.somewhere.com/images/mypicture.png) and the "{NAME}" is whatever text you put into the "Name" field for the individual banner.
Works like a charm. EXCEPT that the resulting lighbox or shadowbox respects the width parameter, but ignores the height parameter and makes the height of the box the height of the screen save room for the "X" close marker.
If you put no width and height parameters, then the lightbox / shadowbox fills the screen, except for some space near the bottom for the "X" to close the lightbox. This is actually fine if you're using the lightbox/shadowbox to load a web page.
But if you're loading a video or a photo it don't look so cool because the image or video (width being respected) is located at the top of the lightbox/shadowbox with a big dark space underneath that extends to the bottom of the visitors screen.
Any ideas that anybody has that would make the lightbox / shadowbox render to a desired width AND height would be awesomely appreciated!
Thanks in advance for any help!
Regards,
-RR