Basic HTML version of Foils prepared 23 June 1997

Foil 12 Dynamic HTML

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo

Some Parameterized HTML Links for Foil 12
1 <HTML><HEAD><TITLE>Parameterized HTML</TITLE>
2 <SCRIPT LANGUAGE="JavaScript">
3 <!-- A comment to hide JavaScript from old browsers
4 var imagewidth=600; // Variables could be input
5 var imagefile="npac.gif"; // in a form or computed...
6 // end script hiding -->
7 </SCRIPT></HEAD>
8 <BODY> É Bunch of normal stuff
9 <SCRIPT LANGUAGE="JavaScript" >
10 <!-- A comment to hide JavaScript from old browsers
11 document.writeln('<img align=top width=' + imagewidth + ' src="' + imagefile + '" >');
12 // end script hiding -->
13 </SCRIPT>
14 É Yet more normal stuff
15 </BODY></HTML>
16 Note single quotes used for JavaScript, double quotes for HTML -- can use \' if necessary to hide special meaning from JavaScript

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998