Quote:
Originally Posted by Oyadus
Am I able to impement this script on a custom bbcode like "[lightbox]" for example - I only want images that I specify to be thumbnailed and lightboxed, and a custom bbcode is how I'd like to execute that.
|
You don't need this mod for that.
An example. Just make a custom bbcode that have the: rel="lytebox" in the a href for the image, some like this:
Quote:
<a href="{param}" rel="lytebox"><img src="{param}" border="0" alt="" /></a>
|
and call lytebox from your headinclude template:
Quote:
<script type="text/javascript" language="javascript" src="lytebox.js"></script>
<link rel="stylesheet" href="lytebox.css" type="text/css" media="screen" />
|
The purpose of this mod, is to make no-code change to the vb's files, and to provide a easy method to avoid larger external images (embed in posts) to break your site layout, and enhance it with the lightboxes options.
To do what you want, yo need no mod at all.