By araujo.guntin on
Hi...
How could I custom the modal window in the Lightbox2?
Basically, I want to remove the 'View Image Details' link
Thanks,
Pedro
Hi...
How could I custom the modal window in the Lightbox2?
Basically, I want to remove the 'View Image Details' link
Thanks,
Pedro
Comments
Are you using the lite
Are you using the lite version?
I think the normal version has options for this on the lightbox settingspage so that you don't need to modify anything.
No, I'm not using the lite
No, I'm not using the lite version. Beside, I'd like to put the body with the image in the modal window.
modal login window
I'm using the user-login lightbox2 feature which launches the user-login within the modal window. Other than using form_alter changes, I'm also having trouble finding a way to customize the html and modalContainer window size... That width and height seem to be hard-coded in the lightbox_modal.js file. Is there a way to override these settings?
Yes... lightbox_modal.js and lightbox.css
To modify your modal lightboxes you'll want to tweek this line...
in your lightbox_modal.js file (currently @ line 18).
Adding/modifying the width settings in lightbox.css
ie. #outerImageContainer, #modalContainer, and #imageDataContainer may also be helpful.