0

I am getting some issue. I have a page, which is being called through a iframe on the parent page, and that page contains lightbox. When the lightbox is being called, that is being opened within the iframe.

Is there any process, that the lightbox can appear using the entire screen, rather than covering the iframe?

I am using php, jquery.Hope I could make you understand my problem.

Thanks in advance.

Soumalya Banerjee
  • 1,966
  • 3
  • 22
  • 28
  • 1
    yes. put the lightbox on the parent page. an iframe is a window with boundaries. either stop using the iframe and load the content using ajax, or put it on the parent page. – Timmerz Apr 11 '12 at 06:32
  • Sorry buddy, but it didn't work. – Soumalya Banerjee Apr 11 '12 at 07:02
  • because you don't know what you are doing. – Timmerz Apr 11 '12 at 07:03
  • I know, exactly what I am trying to do... Basically, I am trying to load a lightbox covering the screen, while it is within an iframe. – Soumalya Banerjee Apr 11 '12 at 07:27
  • yeah, you are trying to do that because you don't know what you are doing. I tried to explain that to you in my comment above, but you obviously don't understand. – Timmerz Apr 11 '12 at 07:56
  • You are not getting my point. I have done lots of work using that structure using iframe. I know, how to do everything using ajax. In that case I have to change everything and work with the new structure from scratch. That's why I was checking, if I can do this. – Soumalya Banerjee Apr 11 '12 at 08:12
  • I think it is possible, but you have to put the lightbox in the top level document, and invoke it that way. having it show via the iframe outside the frame does not make sense. – Timmerz Apr 11 '12 at 20:04
  • 1
    http://stackoverflow.com/questions/10005464/how-to-make-a-lightbox-breakout-of-an-iframe?rq=1, sometimes it really makes sense :) – Mohammed Vaseem Siddiqui Aug 15 '12 at 14:26

0 Answers0