New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:


FF1+ IE5+ Opr7+

Drop-down Document Viewer

Author: Dynamic Drive

Description: Use this versatile DHTML script to allow your visitors to select/ view external documents from your site. Specify whether the selected page is loaded in an inline frame or new window. Note that many prominent web sites do NOT allow loading their web sites inside an IFRAME, such as Google and Yahoo, by way of the X-Frame-Options. In these cases the IFRAME will appear blank, so be sure to check each site you're loading into this script to confirm it works.

Demo: In demo, selected pages are configured to load in an inline frame.


Directions Developer's View

Step 1: Simply add the following to the BODY section of your page

Select All

Please refer to comments inside script to configure it. As mentioned, you can easily specify whether the external documents are loaded in an inline frame, or new window (aren't we nice?).