![]() |
Is Lightbox max-width 100% possible? Is it possible to set a max-width of 100% with Lightbox and if so, how is it done? I've tried a couple of different ways with CSS without any luck. |
Not really sure what you mean. Lightbox is already 100% of the photo you are viewing. It is a java pop not a full browser window if thats what your referring to so there are no other options than the ones you see. |
I wanted to show an image at 100% per browser resolution... for example if I look at an image on my desktop computer that has a 24" monitor screen I can see a complete 1024px by 1024px picture, but I would have to scroll up, down and side to side to see the same image on my laptop that has a much smaller screen. With regular images in a post I could add something to my additional.css template like... post img { max-width: 100%; max-height: 100%; } but I haven't been able to figure it out for Lightbox. I hope what I was trying to say made sense. |
You are constrained to the functiionality of Lightbox and how it is coded. Like I said lightbox is a java popup window that simply shows the large image with a white border around it and a close button. Thats about it. If you have specific questions on lightbox you might want to ask at lightbox Lightbox 2 I have no idea what type of support that they actually provide for there software. |
Thank you for the replies, Chuck. I found something with the link you provided that I will try when I have some time. |
Yeah no problem thats why I gave you the link as that is who makes that script ;) |
Resizing bigger images to screen size - Lightbox Forum I assume your trying some type of modification close to this. |
Quote:
|
yeah not really specifically what you wanted to do since that thread is about making the popup resize when larger to go smaller to the screen width of a browser. You want to actually resize your popup larger to the screen size so I assume you mean that thread gave you ideas how you could do it. I really did not see anything there even remotely different concerning size so it was easy to know which thread you where posting about. |
Quote:
|
No idea our program uses Lightbox 2 possible the discussion is for a newer version etc. You can try updating your lightbox files and making any modifications as you see fit to any newer version. Just place the lightbox css file in our stylesheets directory and the new lightbox.js file in our js directory as that is how we use the code. |
| All times are GMT -5. The time now is 02:44 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0