|
-
May 6th, 2002, 05:49 PM
#1
Thread Starter
Stuck in the 80s
Scripts?
What language, other than JavaScript, can you use in the <script> tags of an html page, if any?
-
May 7th, 2002, 03:50 AM
#2
Fanatic Member
The langauge attribute is actually depreciated in favour of the type="mime" attribute, but if this is what you mean I believe you can use...
type="text/javascript"
type="text/vbscript"
type="text/jscript"
the bottom 2 only in MSIE.
You can also use type="text/javascriptxx" where xx is javascript version.
I use <script langauge="javascript" type="text/javascript"> for compatibility in browsers.
-
May 7th, 2002, 05:43 AM
#3
Frenzied Member
Yeah and I seem to remember if a browser doesn't understand type or you've left out language then it should assume it's JavaScript.
-
May 7th, 2002, 09:21 AM
#4
yes you could also make it like this
<script language="php" src="http://www.yourhost.com/myscript.php"></script>
but it will only work on *nix systems as it won't on a windows system.
-
May 7th, 2002, 10:36 AM
#5
Black Cat
You can theorically use anything - the browser should determine what in supports
BTW, IE can also use "PerlScript" after its installed - and how to make your own ActiveX Scripting Langauge is documented at MSDN - it'll work with IE, ASP, and WSH.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|