...

View Full Version : Loading external pages in lightbox?



wzshop
08-31-2011, 10:56 AM
Hello,
I was wondering if it is possible to load external pages (from a different server) into a lightbox, without using a iframe.

Any solutions for this?
Thanks a lot in advance!
Kind regards, Robbert

devnull69
08-31-2011, 11:06 AM
You can load mostly anything into a DIV ... but you'll need an iframe to make sure that everything including CSS and Javascript is being executed and applied when the content is being loaded. In a DIV you'd have to take care of all these things for yourself ... an iframe will do this automatically.

wzshop
08-31-2011, 11:13 AM
Hi thanks for your reply.

What if i only want to load only google.com into a light box. Is such a thing possible to do?
I was actually wondering if it is possible to just visit (load) a external page through a lightbox (site overlay). Something like visiting another site through a pop-up..?

Hope i make myself clear;)
Kind regards, Robbert

devnull69
08-31-2011, 11:56 AM
Yes, as I said you can do this ... but you'll have to use an iframe (inside the lightbox) to have it the easy way

wzshop
08-31-2011, 12:16 PM
Unfortunately, Iframe is not a solution for me... Sorry, but could explain more in detail what to do to open an external page in a lightbox, without using the iframe?

Thanks a lot in advance.

devnull69
08-31-2011, 12:27 PM
See my very first answer. No one can give you a general answer about the "manual" work needed for each page to be visible and functional inside a DIV. It's different for each page.

wzshop
08-31-2011, 09:01 PM
Ok thanks again:)
Thus it is not possible to open an external page with all its functions as a whole, without the use of iframe. I would like to include a external contact page that includes a form with javascript etc.. I guess it would not be possible to load these functions externally.

Anyway, someone told me something about AJAX request function which could do the trick.. Might that be a solution? Thanks again.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum