[Web4lib] Javascript include question

Vishwam Annam vishwam.annam at wright.edu
Tue Jun 7 09:18:29 EDT 2005


Hello list,


I would like to include an HTML file in javascript, like below:

if (case is true) document.write("<!--#include 
virtual='/ns4menu.html'-->") else document.write("<!--#include 
virtual='/menu.html'-->"). I know this doesn't work because these are 
SSIs, and not processed by client side scripting.  I wonder, are there 
any other ways to do this?

I'd be grateful for any insight  on this,

Vishwam
_____
Web Developer
Wright State University Libraries
 




More information about the Web4lib mailing list