473,503 Members | 2,238 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Object required error

4 New Member
Hi,

I am getting an object required error on IE6
Line: 1826
Char:3
Code:0

When I do view Source on my browser: here's what I see for line 1826:
Expand|Select|Wrap|Line Numbers
  1. function navBarGetMousePosition(e){
  2. /*************************************************************
  3. /    Function:    navBarGetMousePosition(e)
  4. /    Location Ran: CLIENT
  5. /    Type/Language : JavaScript
  6. /    Description: Return mouse position. 
  7. /    Inputs: e (object) mouse object
  8. /    Outputs: none
  9. /*************************************************************/    
  10.     if(isMinNS4){
  11.         mouseX=e.pageX;
  12.         mouseY=e.pageY;
  13.         }
  14.     if(isMinIE4){
  15.         mouseX=window.event.clientX+document.body.scrollLeft;
  16.         mouseY=window.event.clientY+document.body.scrollTop;
  17.         }
  18.     }
Line 1826: mouseX=window.event.clientX+document.body.scrollLe ft;

ANy help would be greatly appreciated! Thanks
Nov 4 '09 #1
5 2008
GazMathias
228 Recognized Expert New Member
Hi,

The space between Le & ft; would be a good place to start.
Also on the next line between To & p;

Gaz
Nov 5 '09 #2
ash2009
4 New Member
Thanks for your reply. I tried that but it didnt resolve the problem. Also, the error only comes up when the page is refreshed - the first time load of the page does not produce the error
Nov 5 '09 #3
ash2009
4 New Member
Please let me know if any further information is required to make this error a little more clear?
Nov 9 '09 #4
Frinavale
9,735 Recognized Expert Moderator Expert
I moved your question to the JavaScript forum since it is a JavaScript question.
You're more likely to get help on the problem here.
Nov 10 '09 #5
ash2009
4 New Member
Thank you! Hope to hear from someone soon :-)
Nov 10 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
24630
by: Dave Hammond | last post by:
I've got what should be a simple assignment of either an element value or a default string to a variable, but when the element doesn't exist I get an "Object required" error rather than an...
0
9742
by: muralidharan | last post by:
WebForm1.aspx Code: <%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %> <ComponentArt:TreeView id="TreeView1" Height="520"...
9
1643
by: Remulac | last post by:
Hello, I'm trying to get the value out of a dropdown list box and assign it to a variable. When I click on the list box, I invoke this line of code. I get the error, "Object reference not set...
3
2421
by: Adriano | last post by:
Hello, when I try to print something, either DataGrid or from Crystal Report viever the folowing error message appears and cancels printing: Object reference not set to an instance of an...
0
1893
by: Deepak C.G via .NET 247 | last post by:
I want to dispose the image object in my child form, unless I won't dispose this object i can't delete the image file in my folder. I get this error in MDIparent form "An unhandled exception...
8
2456
by: ST | last post by:
Hello everyone, Can anyone help me with this error above when I debug my web app project in vstudio.net?? I can't figure it out! It was working fine for months, and now all of a sudden it's not!!...
1
8330
by: Don | last post by:
I'm getting the following exception displayed in the task list at design time for my project: "Code generation for property 'Controls' failed. Error was: 'Object reference not set to an...
4
3635
by: ink | last post by:
Hi All I am relatively new to doing this and i think that i am making some king of school boy error. The error i am getting is on the following line of code. XmlSerializer xs = new...
4
2167
by: livmacca | last post by:
Hi, I am new to VB .Net programming and is trying to create a webpage. I encountered the following error and is totally clueless on how to make it work: ...
14
3245
by: chromis | last post by:
Hi, I've been trying to implement a more OOP oriented approach to dealing with user security on one of my websites, and I am trying to validate the user against an array of roles, however I am...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.