![]() |
|||||
|
|
|||||
The EmfViewer is actually two programs, one for Internet Explorer
and one for Mozilla/Netscape browsers. Due to the differences among various
versions of each Web browser, EmfViewer.com created an easy to use JavaScript
file to facilitate downloading the viewer and inserting the viewer in a Web
page. The following code has been tested with IE 4.0-6.0, Netscape 4.01,
Netscape 6.1, Netscape 6.2, Netscape 7.01, and Mozilla 1.0 on Windows machines.
SAMPLE HTML BELOW HERE.
<html>
<head>
<script>
var Winwidth="451";
var Winheight="250";
var FilePath="FirstFile.emf,
SecondFile.emf";
var PagePath="../images/";
</script>
<script language="JavaScript"
src="../images/EmfViewer.js">
</script>
</head>
<body>
<script>
InsertEmfViewer();
</script>
</body>
</html>
END SAMPLE
What do the variables mean?