New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Other Sections
Sweet Ads
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.

Demo: In demo, selected pages are configured to load in an inline frame (for IE4+ and NS6+). Note that in NS4-, the pages are simply launched in a new window, since the browser does not support <iframe>.

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?).