ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
I THINK you're gonna be pushing it uphill with a pointy stick to get this working mate.
While I haven't been through the RokBox code with a fine-toothed comb (it's packed and a little difficult to read), I can tell you that it APPEARS to work in the same way as other libraries that offer similar functionality.
That is, on page load, an init function is called which scans the page for the rel="rokbox[675 450] (gallery)" attributes of link tags and sets the appropriate wheels in motion based upon these.
Now, you may be able to spend a few sleepless days attempting to read the RokBox (or similar) code and attempt to find a way to force-feed the script a set of values through your own custom init function ...
Personally, I'd probably look for another way to achieve what you're after.
Unless, of course, someone else has a magic answer.
Thanks, it looks as i need to look for some better solutions. I have been using facebos and greybox as well. greybox is the easiest to implement, but looks really ugly comparing with RokBox, which generates a crazy set of divs on the bottom of the page (before a body closing tag).
To understand the technology, I tore my way through Thickbox. Definately not as pretty as RokBox (then again, what is) but gave me a good handle on the technique. It sits on top of the JQuery library rather than mootools - but offers plenty of options so that you can "pretty it up" if you find a way to do what you want with it.
See
my post
on their forum for information on how to resolve conflicts.