Photo gallery and iframe
- Started
- Last post
- 7 Responses
- numero1
Hello,
I am updating a gallery from a website that has iframe.
So I thought I'd use lytebox from http://www.dolem.com/lytebox/
But when I click in the image the size is not the correct size
Here is the example.
http://www.ironicart.com.au/balu…
However, it does work when I see the iframe but itself
http://www.ironicart.com.au/ifra…
Has anyone has a similar experience ?
Or any other solutions you recommend?
Thanks
- heavyt0
I say kill the iframe.
Use a scrolling div instead. you should be able to mitigate your issues that way.
- airey0
i agree with the above. the iframe brings only misery.
- numero10
Yeah I read about the scrolling div.
Do scrolling divs behave pretty much the same across all browsers?
Just thinking ahead and what I may have to do with IE
Thanks
- airey0
scrolling divs are fine in some instances but it kinda looks like your site was built around 1998 when the theory was that frames were 'ace' cause you could keep your navigation always available and cut down on loading times.
now we have broadband (or at least better that 28.8k modems) and have realised that frames are shit.
- numero10
Yeah.. well that site was built some time ago. And I guess the ppl like having that uniform height across all pages.
And they just wanted to update some text and the galleries.
But yeah I know what u mean.. but u know clients.....
- Stugoo0
I think your issue lies in the fac that ourcalling the lightbox in the ifram so that the image will appear in there.. replace the iframe with a div that has the same width/height and :
overflow:scroll;
overflow-y:none; (removes horizontal scroll bar)it should come together then. just be sure to call your scripts in the right place.
on another note.
if your using a light boxand iframe, there is the possibilty that you may have z-index issues on older browsers.