Drupal, Lightbox2: how can I disable the autoloading of css and javascript on triggering ?

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-06-08T16:02:47Z Indexed on 2010/06/08 16:52 UTC
Read the original article Hit count: 187

Filed under:
|
|

is there any way to disable the tag in the lightbox modal in drupal ? I've just realized it loads again all javascripts and css files of my page, and it is quite annoying, since it is not even an iFrame.. it is modal version.. and I would like to re-use what I've already loaded in my page for it.

See pictures:

http://dl.dropbox.com/u/72686/lightbox1.png

http://dl.dropbox.com/u/72686/lightbox2.png

I guess this code is wrong. I should load the node differently:

" rel="lightmodal" class="LightLink" style="display:none;" title="">

thanks

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-6