I am using one script which is functioning properly incase of IE but incase of Mozilla evenif the shift key is pressed and any character key is pressed then it is displaying Caps Lock is On. how can I make it Mozilla and IE compatible.
I was wondering if the was any way to determine the state of the caps lock key, on or off. Of course I can capture the key events and see whether the caps lock is pressed, but that does not help.
I have seen some example that looks at the characters entered in an input field to determine if the caps lock is on, but I was wondering if something is possible that is a bit more immediate to report the caps lock state.
I have a link in my website(abc.com) called "Make Us your home page". Once a user clicks it the link of my website(abc.com) becomes the home page for the browser. This works absolutely fine in IE, but does not work in mozilla. I get the following error in the console:
Error: this.setHomePage is not a function
The code i have used is as follows:
<a href="#" onClick="this.style.behavior='url(#default#homepage)' this.setHomePage('http://www.abc.com');">Make us your homepage</a>
I suppose that sethomepage function is not supported by mozilla, if that is so, then how do i achieve my objective in mozilla?
The php file is just an echo statement now to simplify for the moment. If instead of calling the replace function I've also tried putting in an alert function. Alert works, the calling the php file does not.
But when I ran the above from within an .htm file loaded locally into Mozilla, it did not work. (The result was as if the above code weren't there). However, when I ran the identical code on Internet Explorer (v.6), it worked. Code:
I wrote code to resize a div element.The main aim is to resize the div element from any direction. But it is not working correctly in Mozilla. Even in IE it is working fine only if the mouse is dragged slowly. If we drag the mouse fast it is loosing the control. Are there any browser issues to be fixed. Please check it. I'm including the file.
Code: ========================HTML File============================ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML>[code]..........
I came to know that IE & Mozilla see .parent differently.I have tried everything but not able to get this stuff working in Mozilla. I am using Firefox 3.5.5 version.
In my page there are a combo-box and a check-box that should have the following behaviour: When check-box is checked, the combo-box has to take a precise value and has to be not editable by the user. I cannot use DISABLED option because the back-end needs the value in the combo and READONLY option is useless with a combo-box.... So I don't know what to use to make the combo "disabled"
Is there any way to lock down the menu bars? I currently have a form that was created in Adobe Professional. I have hidden the menu bars on initial view of this form, in an effort to force the sales associates to use buttons that I created that will show them all fields that are required. This worked for a while, but now the sales associates have found out how to unhide the menu bars and are again submitting incomplete forms. I would like to have something in place, that if they do unhide the menu bars, there are certain commands that they cannot use (i.e. Attach to E-mail). Is there any way to put script on this form that will gray out certain commands on the menu bars?
I was wondering: You know how you're able to left-click and hold the mouse-button down on a image and then drag it around? Everybody must know that; Is there a way to "lock" the picture, so that isn't possible? I'm not talking about removing the right-click features, like saving the picture, etc. I just want the users not to be able to drag it all over the place - like a background for example. In HTML, of course