Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Script For Document-in-document

Share this post!
 Vote this!

Want to add the power of SSI to your site, but your web host doesn't support it? Use this script instead! It allows you to include a document inside another easily, simply by specifying the URL of the external document inside the "master" document. just like SSI. How does the script do that? With the help of a not-so-well-known DHTML feature in IE- scriplets. At it's bones, scriplets are a special kind of the <object> tag that supports a data" attribute. Put inside this attribute the file name of the external document, and the scriplet downloads and displays it as if it's part of the master document. By including the scriplet in multiple pages, a change to the target external document is instantly reflected on ALL of these pages. Ah, the power of DHTML!  more...

0 comments:

Post a Comment