E
Eric
I want to have one statement in my web page that includes a single file (for
example "Mylib.inc" that contains a list of ".js" files to include.
Is that possible? And if so can some one show me the basic format to use?
This would allow me to add and remove scripts from my pages without having
to edit each page, only w3ouyld need to make a change in the MyLib.inc file
I'm envisioning MyLib.inc to look something like this:
<script src="scriptname1.js"></script>
<script src="scriptname2.js"></script>
<script src="scriptname3.js"></script>
<script src="scriptname4.js"></script>
Another thought: Can .css files also be put in there? (probably not huh.) so
i could include everything with one include in my web page?
Thanks
Eric
example "Mylib.inc" that contains a list of ".js" files to include.
Is that possible? And if so can some one show me the basic format to use?
This would allow me to add and remove scripts from my pages without having
to edit each page, only w3ouyld need to make a change in the MyLib.inc file
I'm envisioning MyLib.inc to look something like this:
<script src="scriptname1.js"></script>
<script src="scriptname2.js"></script>
<script src="scriptname3.js"></script>
<script src="scriptname4.js"></script>
Another thought: Can .css files also be put in there? (probably not huh.) so
i could include everything with one include in my web page?
Thanks
Eric