Erik Erik - 4 months ago 33
Javascript Question

Rendering HTML page preview

I would like to show a preview of a full HTML page in an element on another page.
The whole page should be shown in a small 200x200 . What would be the correct way to achieve this?

Tys Tys
Answer

With jQuery you could do something like:

$("div selector").load("url-location-other-page.html", function() {
  alert("Showing a nice message after loading has finished.");
});