Window.event Good For IE But Not Netscape/Firefox
May 8, 2006
I am try to detect the mouse pointer by
var event = window.event;
var x = event.pageX;
var y = event.pageY;
This is working fine in IE, but in
Netscape/Firefox where event return undefined.
Can someone tel me how to detect mouse pointer
in Netscape/Firefox?
View 6 Replies
ADVERTISEMENT
Oct 20, 2009
My code below is working in IE but not Firefox:
[Code]...
View 5 Replies
View Related
Jul 2, 2007
I want to execute some java script code when I close the browser.In firefox clientX and clientY are getting as "undefined"..
View 9 Replies
View Related
May 10, 2009
Are there any good web UI component libraries -open source or commercial - that you can recomment? They need to be cross browser compatible and have good documentation. Jquery UI is very good but limited in number of controls it offers. YUI is very verbose and very hard to use. extJs only other one I can think of. Any others you use and like?
View 2 Replies
View Related
Sep 22, 2009
Can anyone suggest to me a good jquery pop up window script.
View 3 Replies
View Related
Feb 8, 2011
This page [URL] works fine in other browsers(Chrome, Firefox, Opera, Safari), but not good in IE8
View 1 Replies
View Related
Aug 17, 2005
I have an application that draws a selection rectangle over a map
image. I can get it to work fine in IE and Opera, but not
Firefox/Netscape.
I've thrown the following small example together to illustrate the
problem - the problem being that FF/NE initially draw my rectangle
before the icon changes immediately to the black no-entry icon. Then,
when I let go of the mouse, the rectangle continues drawing, but it
doesn't stop as the mouseup has already fired of course.
IE was doing the same, but I found the ondragstart/cancelDragDrop
solution to that. I can't find what appears to be a similar solution
for FF/NE.....
View 2 Replies
View Related
Nov 26, 2005
I have tried several things, using several Javascript books, but can't get
this to work in Netscape (latest version) and Firefox (latest v.). It works
in MIE and Opera fine. A box (defined by a css layer) is supposed to pop
out to the right when the corresponding box on the far left is moused over.
The first function defines a layer id to the next function which pops out
the box. After debugging in Venkman, it looks like the first function
cannot define the layer id properly to the second function, which actually
slides the box (layer) to the right.
I thought that the getElementById function was supposed to work for Firefox,
but I must be using it wrong(???)
To see how it's supposed to work, view the following page in MIE or Opera:
View 4 Replies
View Related
Jan 11, 2005
I have a script which works just fine on Mozilla Firefox 1.0 and Netscape Navigator 7.2, but it doesn't work so well on IE 6.0...
Allow me to explain what the script is all about. A select element ("selTable") in a form ("myForm") is populated by values of table names in a database (this is done using PHP). The values are like this: k1, k2, k3, etc.
When a user clicks on a button ("btnQuery"), the values in the table are copied into a text box ("txtQueryStr")with the words "SELECT * FROM" appended to the front (e.g. when button is clicked, the text box (initially empty) will show "SELECT * FROM k1, k2, k3" Code:
View 4 Replies
View Related
Feb 25, 2005
I have a calculator that works perfectly fine on IE with four js functions all working. I created it on FrontPage. But on Firefox or Netscape nothing happens when I hit the Calculate button (which calls doMath() and verify() onclick). I can't figure out what to look for and where to look.
I know it's not the browser cause I have a very very simple calculator that works on both IE and Firefox. There must be some wrong code or missing code that I just can't find.
View 6 Replies
View Related
Jul 14, 2006
I've got a fair amount of Javascript coding that works great in IE and
Opera, but is completely ignore in Firefox and Netscape. See:
View 3 Replies
View Related
Jul 23, 2005
Does the world need another DHTML popup calendar? Probably not, but I'm writing one anyway. It's unique in that it allows drag selection of a range of dates. Works great on IE6 but I'm having some trouble with Netscape and events. In particular, the mousedown event doesn't work. The event fires, but I can't seem to get a handle on what html element was clicked.
View 4 Replies
View Related
Jul 23, 2005
Does Event handlers work in netscape.
<HTML><SCRIPT LANGUAGE="JScript">
function mouseclick() {
alert("I was clicked on " + window.event.srcElement.tagName);
}
</SCRIPT>
<BODY
<H1>Welcome!</H1>
<P>This is a very <B>short</B> document.
</BODY>
</HTML>
The above script works fine in IE But not in Netscape 7.2 :((
View 9 Replies
View Related
Dec 14, 2006
i tried everything to open a new window of smaller size in Netscape, just couldn't do it. Is it my own Netscape browser setting or Netscape itself's problem?
here's one of the code im using:
<A HREF="javascript:void(0)"
'welcome','width=300,height=200')">
Open a new window</A>
View 3 Replies
View Related
Jun 13, 2005
I have a inline javascript function in my jsp.
HTML Code:
onmouseover="window.status='Registered Content - File System Jobs'return true;"
onmouseout="window.status=''return true;"
But this doen't work in netscape? Do I need to use anything else to make it work in netscape?
View 8 Replies
View Related
Nov 24, 2005
I'm trying to make a link that closes the browser:
<a href="javascript:window.close()">CLOSE</a>
It works with IE6 but not with Mozilla and Netscape.
Does anybody knows the reason why?
View 7 Replies
View Related
Jul 20, 2005
I have a page with 4 frames in it. If I click on a button in the 4th frame, a new window has to be opened and the value of the listbox in the 3rd frame hoas to be passed ....
My code works fine in IE, but doesn't in Netscape .....
First, the value of the listbox .... I try to get it with
parent.frame3.form.listbox.value ... But an alert of this (as a test)
does nothing .... I tried several combinations like parent.frames[2]
and parent.frames[frame3] but nothing happens ...
Another problem is that the frame4 is blanked ... strangely enough ...
I'm just doing window.open('blablabla');
View 2 Replies
View Related
Jul 23, 2005
The application I am working on uses Frames (TopFrame, SideFrame(Left)
and the MainFrame). On the occurance of a certain event, I am closing
the window from one of the frames. This is the script I use.
function CloseWin ()
{
window.opener = window;
window.close();
}
Works perfectly well with IE. But not with Netscape. The Javascript
console says 'Script may not close windows that were not opened by the
script'. Is there any workaround to this?
View 8 Replies
View Related
Mar 20, 2007
I have a JSP page on which when print is pressed - Records are fetched
on a redirected page and those are to be printed.
I use the lines -
<script language="javascript">
window.print();
history.back();
</script>
to do the same.
When browsed from Netscape 4.7, the Resultset page is printed
perfectly whereas in IE6, the resultset page is generated and the
source page is printed i.e. the one where Print command was given
Is there a workaround for IE6 for the same which will let me print the
Result page silently without changing the sequence of operations for
the user?
View 1 Replies
View Related
Jan 29, 2010
I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
View 4 Replies
View Related
Feb 4, 2006
I am using the double combo script (see below) on my site so people can selet reports that open in a new window with no toolbars.
To date the script has been working flawlessly but today I've noticed the "Go" button has 'gone' when viewed in Netscape or Firefox.
I've gone over the script many times trying to work out what's wrong but can't see anything. Can someone please have a look at the script (with a fresh perspective) and tell me what's wrong :confused: :confused: :confused: ?
Also is it possible to add a blank line between "2006 Deferred Matches" and "2005 Tournament Standings" ? Code:
View 5 Replies
View Related
Jul 23, 2005
I'm trying to set the align property/attribute of an IFrame to center
but its not working (see below). Can anyone please tell me what's going
on, and if there's a work around for this?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>test</title>
</head>
<body>
<iframe src="sampleContent.htm" width="620" height="500"
align="center"></iframe>
</body>
</html>
View 2 Replies
View Related
May 31, 2011
6. Display a message saying Good Morning if it is in the morning, Good Afternoon if it is in the afternoon, and Good Evening if it is in the Evening. This is my code:
[Code]....
View 1 Replies
View Related
Mar 24, 2011
i have this code i need to close the parent.html window when the child window opened, i need the code for that working well in IE and Firefox Parent.html
<HTML>
<SCRIPT TYPE="text/javascript">
function sendTo()
{
window.open('child.html','_blank','resizable=yes,width='+(screen.width-500)+',height='+(screen.height-500)+'');
}
[Code]...
View 2 Replies
View Related
Mar 14, 2009
Firstly I know this issue has been addresses a lot already but as a newbie to HTML and Web Development I am unable to get the idea. according to documentations and solutions proposed on different forums a popup or child window can be only closed using window.close() if it is opened via window.open() function.
[Code]...
View 2 Replies
View Related
Jun 6, 2009
I have just downloaded the JavaScript HTML WYSIWYG editor TinyMCE. It works well except when I click on the link button or any other button that opens a window to add an element, nothing loads in the window.I have downloaded multiple up-to-date versions and non of them work. The examples on the TinyMCE website work for me. Also the examples that I downloaded work in Internet Explorer 7, Safari (for windows), Google Chrome, and Opera.It just does not work in Firefox. I even disabled all my add-ons and reinstalled Firefox.When i went to upload it to a server (the version I downloaded) it worked in Firefox.How do I make it so it will run in Firefox locally?
View 1 Replies
View Related