Include files (other then ASP)
Hi,
I would like to know if there is a way of using "include files" other than *.asp
Like in html pages...
And also the use of "case select",...
Thank you
Hi,
I would like to know if there is a way of using "include files" other than *.asp
Like in html pages...
And also the use of "case select",...
Thank you
Jim Shilt posted this at 14:07 — 10th February 2000.
They have: 268 posts
Joined: May 1999
You can use the format of
<!--#include file="nav.inc"-->
where nav.inc is the name of the file you want included.
You will also need to check with your service provider to see what extension is recognized as a SSI file. On my server it is .shtm or .shtml
I don't know anything about case select. Sorry.
Hope this helps.
------------------
My goal in life is found in Phillipians 4:8-9
My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214
Vincent Puglia posted this at 00:34 — 13th February 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
Re includes: you can include javascript files (*.js) with
<script language=javascript src="somefile.js"></script>
No html is allowed in the file, only javascript. If you must have html, use document.write()s
Re "case select": do you mean the switch statement?
I have script examples of both at my site.
Vinny GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.