How To Judge Whether A Browser Supports ActiveX?
Jul 20, 2006
How to judge whether a browser supports ActiveX?
Some browser like Firefox doens't support ActiveX by default, but can
do it with plugin support. Take Firefox for example, it has a whitelist
(activex.js) of allowed ActiveX. So, "new ActiveXObject" may not be a
good idea. The ActiveX control for test is possibly not in the
whitelist.
Is there any better way to do that?
View 2 Replies
ADVERTISEMENT
Nov 15, 2006
Would anyone know what browsers are supported by AJAX in general? I've been trying to find this at several sources, but it's never really mentioned.
View 1 Replies
View Related
Feb 4, 2010
How can i verify whether my browser supports ajax or not using Jquery?
View 1 Replies
View Related
Aug 17, 2009
I am looking for a piece of code where I can find out if client browser (any) supports flash. If no, then I need to display message.
View 1 Replies
View Related
Jul 22, 2007
I'm developing a site that will use technologies like JavaScript and AJAX. I want the site to be functional for people that has older browsers or JavaScript turned off so for this I need to find out if the user's browser is supporting JavaScript and AJAX.
How can I check this in an easy and simple way? I.e the user enters my website with JavaScript turned off at the moment. And then he turns it on and reloads the page. I would like to catch that he has turned JavaScript on. The same goes with AJAX (although there is no off/on setting for AJAX).
View 4 Replies
View Related
Jan 9, 2010
I have a page that has a box where announements can be seen. What I want is that when the page loads a div containing some announcement text should show up within this box. The divshould remain within the box for about 10 seconds, whereafter it should start sliding to the left and eventuallydisapper. Butif the user during the sliding decides to Hover or clickwithin that div then the sliding should stop andthe div should move back to its initail position (so that the whole text can be read again). The div shouldnotbegin any sliding process as long as theuser is hoveringwithin the div. Howeverif the user hover out of the div then the sliding proces should begin again.
What I'm trying to achieve is to havea annoncement to show up in this box, only for 10 seconds,whereafterit should disapper (by sliding away). However if the user wants to reads the annonuncementhe should be able to do so, by hovering that announcement. And whenthe user hasfinished reading he can just hover away and the announcement will disapper within few secounds. I have done some work here and there. I have used the slider method from jqueryui and the hover methods and the initial sliding process when the page loads, but putting them all to gether is not going good.
View 5 Replies
View Related
Dec 22, 2010
I'd like to have one form that has username and password at the top and if that is all the user supplies, then try to log him in. Otherwise, validate all fields for registration.
The problem then lies in the remainder of the form which has email, name and password confirmation. I still want to run validate on those fields but ONLY if the user has typed at least one character in any one of them.
Is there a way to do this? Or an example somewhere? Can validate for certain fields only be turned on IF a certain other condition is met?
View 4 Replies
View Related
Jul 23, 2005
Im supposed to write an activeX dll that will be called by javascript
(with the OBJECT TAG) and was wondering if its supposed to have any
special features or its a regular activeX dll.
Also I would like to know if it matters if its written in C++ or VB,
and if someone has sample C++ code that does this i will be grateful
to see!
View 1 Replies
View Related
Jul 20, 2005
I have a ActiveX object. This is working fine in English windows and IE, But causes IE to crash in Chinese windows.
View 1 Replies
View Related
Jan 6, 2010
I have JavaScript code, that exports a HTML table to MS Excel.
This works fine on my development (local) server, however, it fails to work on my 'live' IIS server. Once I click on the Export link, I confirm the "Export to Microsoft Excel?" message, then nothing happens. I am not sure if MS Excel needs to be installed on the server or not?code...
View 7 Replies
View Related
Aug 1, 2009
I am currently detecting for Shockwave within IE by doing the following:
var isInstalled = false;
if (window.ActiveXObject) {
var control = null;
try {
control = new ActiveXObject('SWCtl.SWCtl');
} catch (e) {
[Code]...
This works as expected and if it fails to detect Shockwave I tell the user to install Shockwave.The problem comes when AcitveX is disabled as it still returns the same message that it's not installed. I would prefer to be able to include an extra step to detect if ActiveX is disabled, in which case I can tell the user to enable it rather than giving them false advice. My only idea would be to detect for an ActiveX Object that every IE user should have installed.
View 1 Replies
View Related
Jan 6, 2010
I have JavaScript code, that exports a HTML table to MS Excel. This works fine on my development (local) server, however, it fails to work on my 'live' IIS server. Once I click on the Export link, I confirm the "Export to Microsoft Excel?" message, then nothing happens. I am not sure if MS Excel needs to be installed on the server or not?
<script language="javascript" type="text/javascript">
function ExportToExcel() {
input_box=confirm("Export to Microsoft Excel?");
if (input_box==true) {
[Code]....
View 5 Replies
View Related
Jan 3, 2003
I thought I'd post this and see what you guys think (go easy on me :)). Anyway, my teacher gave the class a project to see if we could make a hangman game with an ActiveX object's draw methods and some good ole' DHTML. I've always wondered why javascript doesn't have any draw methods or graphics objects like Java has.
I suppose SVG will take the place of activeX and Flash... hopefully. Once we had the right object id it was a piece of cake (I found it by the way). Anyway, here's my program. I would've put the code in this post but I have a few includes and graphics that go with it. Best viewed in 1024 x 768 resolution, and IE only (of course).
View 2 Replies
View Related
Oct 31, 2006
I have a windows media file that I want to play on a webpage but the stupid activex content blocker keeps on poping up. I have heard that there is a way of getting around this or to preload the content. Does anyone know how to do this?
View 2 Replies
View Related
Mar 9, 2007
I built a form that utilizes arrays for storing data, prototype objects stored in arrays, and DOM using getElementByID and getElementByName. Now, in XP SP2 with the security center turned on, I get alerted by IE6/7 that there is an ActiveX script on the page and it asks to be allowed.
I don't want users IE to see this ActiveX warning. First, the users going to be using this form are not exactly tech savvy enough to know to allow it. Second, I had no idea JavaScript was related to ActiveX--which begs the question, what sort of things cause JavaScript to be flagged as ActiveX?
View 3 Replies
View Related
Jul 23, 2005
Is there any way i can show my excel chart on my web page.
View 2 Replies
View Related
Oct 22, 2005
How can I create a fade with javascript that fade an activex object
(quicktime) to the background and not to the IE windowed control.
I call this function several times, each time decreasing the "opacity".
id is the quicktime activex object.
I have tried to set background:tranparent and
background-color:transparent in my style sheet.
//change the opacity for different browsers
function changeOpac(opacity, id) {
var object = document.getElementById(''+id+'').style;
if (object.opacity) {
object.opacity = (opacity / 100);
} else if (object.MozOpacity) {
object.MozOpacity = (opacity / 100);
} else if (object.MKhtmlOpacity) {
object.KhtmlOpacity = (opacity / 100);
} else if (object.filter) {
object.filter = "alpha(opacity=" + opacity + ")";
}
}
View 1 Replies
View Related
Jan 14, 2006
i could create it successfully, but i can't manipulate it
<html>
<body>
<object height="50% width="50%" classid="clsid:XXXX....." id
= obj>
<script language= javascript>
obj.gridVisible= true //the method call here
don't take effect
</script>
</body>
</html>
here is the interface i implemented in my control
interface IControlInterface : IDispatch
{
[id(..), propput]
HRESULT gridVisible ([in] VARIANT_BOOL bVal);
}
anything wrong?
View 1 Replies
View Related
Jul 19, 2006
I know this question has been asked a million times but I still can't
get an event from an embedded ActiveX Exe to be caught in javascript.
I am able to access all the properties and methods of the ActiveX Exe,
I just can't seem to catch the event.
I've declared my object as follows:
<OBJECT
ID = "Test3"
CODEBASE = "http://www.amys-attic.com/Test3.exe"
CLASSID = "CLSID:2ACAEF35-445C-4717-8ACB-A3423E8D64EB"
style="display:none;">
</OBJECT>
My javascript event handler is as follows:
<script language="javascript" for="Test3"
event="PipeEvent(bIsPresent)">
alert("Pipe Detect");
</script>
The event handler never fires. I debugged the ActiveX Exe and verified
that the event is indeed being raised. I am able to catch the event in a VB6 test container project as well. Any ideas?
View 3 Replies
View Related
Jul 20, 2005
There is two lines from my script:
<script language="javascript1.2">
fso = new ActiveXObject("Scripting.FileSystemObject");
ws = new ActiveXObject("WScript.Network");
</script>
Everything working fine, but sometimes some admin change default IE options and during loading the page on screen i can see something like that "Can I run the activex and bla bla bla". This message for my user equal error and I get many phones, Can I catch insufficient permision, or that message and hide it?
View 3 Replies
View Related
Feb 3, 2010
How can I handle ActiveX events in jQuery?
View 1 Replies
View Related
Apr 2, 2009
After upgrading to jQuery 1.3.2 users of our application will be prompted with a confirm dialog: "Do you want to allow software such as ActiveX controls and plug-ins to run?" The users have to use IE6 (yes I know - but this is a very restrictive and old fashioned corporate environment and I have no influence on the browser configuration). Replacing the content of jquery-1.3.2.js with the content of jquery-1.2.6.js immediately fixes the problem. But we would like to avoid that if possible. Is there any known solution to this?
View 3 Replies
View Related
May 15, 2009
I have a web page which contains a legacy ActiveX control (I know...) and am having a problem with the ClueTip plugin. Whenever a tooltip is displayed which should obscure the ActiveX it instead is drawn behind the ActiveX control. I have tried setting the value of cluezIndex to 1000, and also tried adding "<param name="wmode" value="transparent" /
View 1 Replies
View Related
Mar 23, 2009
Quote: Originally Posted by KorRedDevil ActiveX or Java allowance, if malicious applications, could do really harm, but no javascript. Unfortunatelly, IE has ActiveX and javascript linked on the same level of security, so that when disable ActiveX you disable javascript as well.This is the problem I am experiencing now KorRedDevil.I have just signed up to devshed now, trying to find some ways to allow javascript, yet keep active-x disabled. am in the middle of creating a website, using a javascript drop down menu. Looks really nice, but when you load the page on IE, it keeps displaying theactive-x warning, requesting permission to allow. My concern is that a lot of people dont understand this message. Automatically think there is something dangerous about the site, and deter them from visting. And they will not be able to navigate round the site effectively without the drop down menu!I'd imagine there has to be a way, possibly with a certain metatag maybe?
Reason being, GMail is designed using javascript. How come IE allows their javascripts to work, but no one elses?!Must be a way.And also, I use a .js file to keep the site resized and well positioned, regardless of browser. This script gets by no worries at all. Could it be because it is an external javascript, and not linked in within the html itself?And with other broswers, ie. Netscape, Firefox etc. Do any of them have issues with the Javascript / active-x warning?
View 9 Replies
View Related
May 3, 2011
I have an html file I've built with embedded Javascript (using ActiveX) that successfully reads a file on my local hard drive when I run the html file through my web browser (IE) locally. However, when I copy the html page up to a webserver and access it through the internet, it doesn't appear to be reading the local file. I'm assuming this can't be done because of security reasons? Am I correct in that? Is there any way using Javascript/ ActiveX that you can get a webpage on the internet to access a file on the visitor's local drive?
View 9 Replies
View Related
Dec 12, 2005
I have develop an ActiveX with Visual C++ 6
And I will call functions on this ActiveX from a javascript.
I know how to instantiate the activex object (with the balise <object>).
But how can I do to call a function of my ActiveX and pass to this function
some parameter by reference.
Here is what I have :
the function in the ActiveX :
void test(long *t, long FAR* nb)
{
t = 3 ;
}
And here is what I try to call this function in javascript:
var myT = 0;
my_control.test(myT); // here is the problem that
alert("T : " + myT);
But I receive the value 0
So how can I do to pass parameter by reference to a function of an ActiveX?
Is there anything to change in my function in the ActiveX?
View 2 Replies
View Related