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


Window - Event Is Not Working In Firefox

Oct 20, 2009

My code below is working in IE but not Firefox:


View 5 Replies View Related

Detect Browser Window Closing Event In Firefox

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

JQuery :: Good Web UI Component Libraries - Cross Browser Compatible And Have Good Documentation

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

JQuery :: Good Pop Up Window Script?

Sep 22, 2009

Can anyone suggest to me a good jquery pop up window script.

View 3 Replies View Related

PNG Background - Page Works Fine In Other Browsers (Chrome - Firefox - Opera - Safari) But Not Good In IE8

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

Firefox/Netscape Rectangle Over Image

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

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

Css Layer Not Working In Firefox Or Netscape

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

Script Works In Firefox/Netscape , Not In IE

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

Calculator Works On IE But Not On Firefox Or Netscape

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

Form Works In IE And Opera, Not Firefox Nor Netscape

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

IE To Netscape Event Assistance Needed

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

Does Event Handlers Work In Netscape.

Jul 23, 2005

Does Event handlers work in netscape.

function mouseclick() {
alert("I was clicked on " + window.event.srcElement.tagName);
<P>This is a very <B>short</B> document.


The above script works fine in IE But not in Netscape 7.2 :((

View 9 Replies View Related

Netscape New Window

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)"

Open a new window</A>

View 3 Replies View Related

Window.status In Netscape

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

Window.close() And Mozilla/Netscape

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

Frame - In Netscape

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'blablabla');

View 2 Replies View Related

Closing Window Not Opened By The Script - Netscape 7.1

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;

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

Inconsistent Window.print Behavior In Netscape And IE6

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">
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

Child Window Close Event - Opening Another Link In A Separate Window Using

Jan 29, 2010

I have a HTML and I am opening another link in a separate window using . The child window is something like '' which is out side html. I need to refresh the parent window when the child window is closed.

View 4 Replies View Related

Double Combo Script - Missing "go" Button In Netscape/Firefox

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

IFrame Align="center" In Netscape And Firefox

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?

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"



<iframe src="sampleContent.htm" width="620" height="500"


View 2 Replies View Related

If And Else - Display A Message Saying Good Morning If It Is In The Morning - Good Afternoon If It Is In The Afternoon

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:


View 1 Replies View Related

Automaticaly Clsoe The Parent Window When The Child Window Opened In Firefox?

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

<SCRIPT TYPE="text/javascript">
function sendTo()

View 2 Replies View Related Amd Window.opener.document In FireFox

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 function.


View 2 Replies View Related

TinyMCE Window :: Nothing Loads In The Window When I Work In Firefox?

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

Copyrights 2005-15, All rights reserved