Hi guys,
I'm trying to add lightbox to my page, and i needed to change the
default directories because our static files can't fall directly under
our jsp/html files(it's a deploy thing). I changed my lightbox.js to
match the baseurl:

baseurl:                        '',

                files: {
                        // If you are doing a repack with packer 
(http://dean.edwards.name/
packer/) then append ".packed" onto the js and css files before you
pack it.
                        js: {
                                lightbox:       
'javascript/curator/edit/jquery.lightbox.js'
                        },
                        css: {
                                lightbox:       
'css/curator/edit/jquery.lightbox.css'
                        },
                        images: {
                                prev:           
'images/curator/edit/lightbox/prev.gif',
                                next:           
'images/curator/edit/lightbox/next.gif',
                                blank:          
'images/curator/edit/lightbox/blank.gif',
                                loading:        
'images/curator/edit/lightbox/loading.gif'
                        }
                },

and I pass in the baseurl in my jsp:

                <script type="text/javascript" src="/kb/javascript/curator/edit/
jquery.lightbox.js?baseurl=https://brilthor.ucsd.edu/kb/";></script>

the behavior i'm seeing right now is the image is loading as if there
were no lightbox plugin at all, just a normal link.

i have only one image on the page, and i create the following tag for
it:

<a rel="lightbox" href="/kb/ark/20775/bb9796118z/1-3.jpg" title="Test
Title!!!">
<img width="80" height="80" src="/arkcache/bb/97/96/11/8z/1-2.jpg"/>
</a>

does anything look particularly wrong with my config? I'm kind of
drawing a blank at this point. i've gotten lightbox to work before,
but i've never tried altering the standard static file directory paths
in the lightbox.js file. Any help or advice would be great. thanks!

Reply via email to