javascript thread: With NN4, is it possible to embed an ActiveX Control as an object, and then refer it in JavaScript?
Message #1 by "Douglas Chen" <dchen@m...> on Wed, 13 Sep 2000 21:49:50 +0100
|
|
Thanks, Imar. The site I'm working on is a commercial web application. The
page with the ActiveX control from Rasterex company is supposed to provide
redlining feature. I got a demo version plug-in for NN from the same
company. However, it gives me less control on UI and less functionalities as
well than the ActiveX version. That's why I raised the question. From your
replay, I realized I have to work with the poor plug-in anyway.
Thanks again for your replay,
Douglas
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: Thursday, September 14, 2000 2:46 AM
To: javascript
Subject: [javascript] Re: With NN4, is it possible to embed an ActiveX
Control as an object, and then refer it in JavaScript?
Theoretically, yes, this is possible as far as I know. However, Active X is
a Microsoft thingy, so you will need a plug in for Netscape to be able to
"play" the Active X object in NN.
Unfortunately, I don't know where you can get this plug in. I guess at
Netscape's site.
If this site is going to be an Internet site with a broad audience, you
might want to reconsider your strategy. Lots of people (including my self)
are not willing to install all kinds of plug ins, just to watch your page.
Depending on what you are doing, you could use server side stuff to get the
job done, or write a Java applet (ieeh... ;-)). Those are cross browser.
Once you have your control embedded, you can refer to it through
JavaScript.The book related to this list, Professional JavaScript, mentions
this at page 199.
Imar
At 09:49 PM 9/13/2000 +0100, you wrote:
>Hello all:
>
>I'm trying to make a webpage working with NN4, which page has an ActiveX
>Control embeded:
>
><object classid='clsid:0D009747-FF89-11D1-A31B-00A0C9442C18'
>codebase="rxhighx.cab#version=1,0,0,6" id="RxVapiX1" height="93%"
>width="100%">
><param NAME="_Version" VALUE="65536">
><param NAME="_ExtentX" VALUE="9763">
><param NAME="_ExtentY" VALUE="6482">
>...
></object>
>
>Above code works fine with IE, but it seems not to work with NN4. My
>question is - Is it possible to embed an ActiveX Control as an object and
>then refer it in Javascript with NN4. If this is possible, could anybody
>show me how with a sample code, or maybe related resources instead?
>
>Many thanks in advance,
>
>Douglas Chen
|