![]() |
|
|
Iframe Interferes with Lightbox Image |
|
Novice Talker
Posts: 6
|
My site: www.1904ryderz.com
On the right side, under 'The Crew', click on "Nino". When you click on the image, the lightbox opens up within the frame. It suppose to open regularly to view the entire image. How can I fix this? This is the iframe script I used: http://www.dynamicdrive.com/dynamici...ramescroll.htm This is the lightbox script I used: http://www.dynamicdrive.com/dynamicindex4/lightbox2/ If you need any other information, I'll provide ASAP. Thanks! Dante |
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Re: Iframe Interferes with Lightbox Image |
|
Post Impressionist
![]()
Latest Blog Post:
Welcome to Van SEO Design Posts: 8,063
Name: Steven Bradley
Location: Boulder, Colorado
|
Lightbox is opening the larger image on the same page where the thumbnail exists and in this case that's inside the iframe. Lightbox is doing exactly what it should be doing.
You'll either need to recode "The Crew" so it's not using an iframe or modify the lightbox script to open the image in the parent window instead of the iframe.
__________________
l Search Engine Friendly Web Design | Van SEO Design l Tips On Marketing, SEO, Design, and Development | TheVanBlog l Custom WordPress Themes |
|
|
|
|
|
Re: Iframe Interferes with Lightbox Image |
|
Post Impressionist
![]()
Latest Blog Post:
Welcome to Van SEO Design Posts: 8,063
Name: Steven Bradley
Location: Boulder, Colorado
|
If it were me I wouldn't use the iframe for "The Crew" section. You should be able to have essentially the same functionality by using a div and then making use of the overflow property in your css file. The default will give you a scrollbar instead of the up/down links, but the script controlling the scroll should be able to be modified to work with overflow instead of the iframe.
It might be easy to change the lightbox script to open in the parent frame instead of the iframe, but I couldn't say for certain. It's a big script and I'm not familiar enough with its inner workings to tell you specifically what to change. However if you later changed to a different version of lightbox you'd need to change the new version too, which is one reason I think it better not to use the iframe.
__________________
l Search Engine Friendly Web Design | Van SEO Design l Tips On Marketing, SEO, Design, and Development | TheVanBlog l Custom WordPress Themes |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |