[Javascript] OT: difference
Andrew Gibson
andyg at ihug.co.nz
Wed Aug 6 03:36:02 CDT 2003
To be truthful I always found virtual too confusing so I've always used
file="../images/myimage.gif" etc that way its also similar to other
relative references, eg in a href 's
Andrew Gibson
Subject: [Javascript] OT: difference
Do you know what the difference is between using:
<!--#include virtual=""-->
and:
<!--#include file=""-->
Is the only difference that you can jump directly to the root directory by
starting off with a /?
example: <!--#include virtual="/images/image.gif"-->
In effect making the include relative to the root directory rather than
relative to the file the include is in?
More information about the Javascript
mailing list