Date: Wed, 20 Dec 2000 20:36:38 GMT
Reply-To: haworthl@MINDSPRING.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: haworthl@MINDSPRING.COM
Organization: Deja.com
Subject: Re: ODS w/Java Script
Dawn,
You can use the ARCHIVE= option on the ODS HTML statement to point to
the location of the graph applet. Here's what Online Doc has to say:
ARCHIVE='string'
writes to an <APPLET> or <OBJECT> tag the attribute that specifies the
location of the executable files that dynamic SAS/GRAPH output
requires. Use ARCHIVE= in conjunction with SAS/GRAPH procedures and the
DEVICE=JAVA or DEVICE=ACTIVEX option in the GOPTIONS statement.
If you specify DEVICE=JAVA in a GOPTIONS statement, ARCHIVE= provides
the argument for the ARCHIVE attribute in an <APPLET> tag. In this
case, string specifies the location of the archive file that contains
the class files that are necessary to run the applet. (Class files are
binary Java files that the browser runs.) If you specify DEVICE=ACTIVEX
in a GOPTIONS statement, ARCHIVE= provides the argument for the
CODEBASE attribute in the <OBJECT> tag. This attribute should point to
an executable file that installs the ActiveX control on your machine.
This attribute is not necessary for generating dynamic SAS/GRAPH output
if the ActiveX control is already installed on your machine. However,
if you wish to publish your output on the Web or to mail the HTML
results to someone else, it is wise to include the ARCHIVE= option so
that the ActiveX control can, if necessary, be installed on the machine
that is reading the results. The string must be one that the browser
can interpret. For instance, if the archive file is local to the
machine that you are running SAS on, you can use the FILE protocol to
identify the file. If you want to point to an archive file that is on a
web server, use the HTTP protocol. If you do not specify ARCHIVE= and
you are using the JAVA device driver, ODS uses the value of the SAS
system option APPLETOC=.
-- Lauren Haworth
In article <F69sfvhsTB6vGuvwysF00003782@hotmail.com>,
Dawn Naranjo <dnaranj@HOTMAIL.COM> wrote:
> I have a question concerning using ODS to create java script charts &
graphs
> on the Unix platform. Can you assign the directory for the applets
within
> ODS. Within html you can assign by using CodeBase= but didn't seem to
work
> within the ODS html command. Any info would be helpful. Thanx!
>
> Also I have the html working fine on a NT platform using JavaScript to
> display the ODS created html but when transitioning over to Unix it
gets no
> response with no error messages. Can anyone give me some insight?
>
> Example:
> <form >
> <SELECT name="nav1" size = "5"
> onClick="parent.frame2.location.href=this.form.nav1.options
[this.form.nav1.selectedIndex].value">
> <option value="algorithm.html" >Algorithm </option>
> <option value="callresults.html" >Call Results </option>
> <option value="close rate.html" >Close Rate </option>
> <option value="cycle.html" >Cycle </option>
> <option value="perf metric.html" >Performance Metric </option>
> </select>
> </form>
>
> Thanx!
> Dawn
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
Sent via Deja.com
http://www.deja.com/
|