Web Analytics Made Easy -
StatCounter Loading external pages in lightbox? - CodingForum


No announcement yet.

Loading external pages in lightbox?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Loading external pages in lightbox?

    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

  • #2
    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.


    • #3
      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


      • #4
        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


        • #5
          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.


          • #6
            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.


            • #7
              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.