Actually, the method identifier is `zoomIn'. (I have only gotten into the
habit of denoting methods in prose by appending a pair of parentheses
)
HTH: "According to the documentation, the method identifier is
zoomIn(). Both Java and ECMAScript implementations are case-
sensitive."
Google Groups quotes the message that you are replying to automatically for
you. You are to walk through the automatically included quotation from top
to bottom, to trim the parts that you do not refer to, and to reply below
each part that you do refer to. (Unfortunately, it promotes full-quoting
because it does not put the text cursor at the top. But it is likely that
the rationale for this was not to promote top-posting which is even more
offending in Usenet.)
It also includes an attribution line above the quotation so that one can see
at a glance who is responsible for the quoted text. Please do not remove
that manually.
That said, you should not use Google Groups for posting to Usenet (it is
good for read-only access, though); use a locally installed newsreader
application instead. I can recommend Mozilla Thunderbird for Windows and
KNode for GNU/Linux.
[...]
If I were to to write the line that contained the zoomIn() function,
what would the entire line look like?
The error message I am getting says v1Pro is unrecognized. I just
need to know the fully qualified JavaScript line to access the object.
Probably you will need to show the relevant code or post a URL for it.
If I were to make an educated guess though, I would assume that what you
call "object name" here is in fact the value of the `id' attribute of the
`applet' or `object' element in your markup. AFAIK, only the MSHTML DOM
makes that available as a property of a host object in the scope chain.
Therefore, you would retrieve the reference instead with
var foo;
// W3C DOM
if (/\b(function|object)\b/i.test(typeof document.getElementById)
&& document.getElementById)
{
foo = document.getElementById("v1Pro");
}
// IE4 DOM
else if (typeof document.all == "object")
{
foo = document.all("v1Pro");
}
(See <also
http://PointedEars.de/scripts/dhtml.js>.)
And then use at least
if (foo)
{
foo.zoomIn(...);
}
where the ellipsis denotes the comma-separated list of parameters that you
need to pass to the applet's method, if any.
PointedEars