Object required error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ash2009
    New Member
    • Nov 2009
    • 4

    Object required error

    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:
    Code:
    function navBarGetMousePosition(e){
    /*************************************************************
    /	Function:	navBarGetMousePosition(e)
    /	Location Ran: CLIENT
    /	Type/Language : JavaScript
    /	Description: Return mouse position. 
    /	Inputs: e (object) mouse object
    /	Outputs: none
    /*************************************************************/	
    	if(isMinNS4){
    		mouseX=e.pageX;
    		mouseY=e.pageY;
    		}
    	if(isMinIE4){
    		mouseX=window.event.clientX+document.body.scrollLeft;
    		mouseY=window.event.clientY+document.body.scrollTop;
    		}
    	}
    Line 1826: mouseX=window.e vent.clientX+do cument.body.scr ollLeft;

    ANy help would be greatly appreciated! Thanks
    Last edited by jhardman; Nov 5 '09, 05:19 PM. Reason: added code tags
  • GazMathias
    Recognized Expert New Member
    • Oct 2008
    • 228

    #2
    Hi,

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

    Gaz

    Comment

    • ash2009
      New Member
      • Nov 2009
      • 4

      #3
      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

      Comment

      • ash2009
        New Member
        • Nov 2009
        • 4

        #4
        Please let me know if any further information is required to make this error a little more clear?

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          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.

          Comment

          • ash2009
            New Member
            • Nov 2009
            • 4

            #6
            Thank you! Hope to hear from someone soon :-)

            Comment

            Working...