SiteExperts.com Logo Home | Community | Developer's Paradise | Jobs
User Groups | Site Tools | Site Information | Search

Inside Technique : InsideDHTML Tools : Generate Page

When you view a page that is generated or modified by script, there is no way to view the source and save the viewed version of the page. The Generate Page tool rebuilds the page with the HTML being viewed so you can easily view and save the source.

Generate Page recreates the actual HTML as follows:

  • Determine the base href for any relative URLs.
  • Rebuild all global and linked style sheets. All linked stylesheets are included directly in the page.
  • Rebuild the document's body.
  • Disable scripts and links on the page.

Generate Page currently works on any individual HTML documents, whether or not it is contained within a frameset. Generate Page has no effect if called directly on a frameset document.