X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Javascript error, who speaks this language? (https://forum.x-cart.com/showthread.php?t=36943)

Warwick 01-22-2008 11:01 AM

Javascript error, who speaks this language?
 
I get an error and haven't got a clue on how to solve this, is there anybody who has an idea i.e speaks javascript?

Error:
capExtent.onmousemove has no properties

In code:
f = capExtent.onmousemove.toString().match(/function[ ]+(\w*)\(/);

I Googled but can't find anything ...

Holub 01-24-2008 04:13 AM

Re: Javascript error, who speaks this language?
 
It's hard to answer your question without any additional information. As I know, variable capExtent used in overLIB library and assigned to 'document' or 'window' object.
But overLIB haven't string like
Code:

f = capExtent.onmousemove.toString().match(/function[ ]+(\w*)\(/);
only
Code:

f = capExtent.onmousemove.toString();

As I know, this code returns source code of function, assigned to event 'onmousemove' and replaces some part of code with regular expressions. I think, there is no function assigned to event onmousemove or capExtent variable not assigned to any object.

Please, provide more information and I'll try to help you.

Warwick 01-24-2008 05:44 AM

Re: Javascript error, who speaks this language?
 
1 Attachment(s)
Thanks for helping out, attached the .js file, maybe you could be so kind and take a quick look?

Holub 01-24-2008 06:45 AM

Re: Javascript error, who speaks this language?
 
While I try to understand issue which cause javascript error, please, try to update overLIB to version 4.20 http://mesh.dl.sourceforge.net/sourceforge/overlib/overlib420.zip - this could fix problem.
Please, explain the situation causing error - where overLIB used, browser, etc.

Warwick 01-24-2008 06:52 AM

Re: Javascript error, who speaks this language?
 
Updating overLIB means on the server right? Sorry not familiar terrain for me.

The error I found while checking my site with FireBug ...

Holub 01-24-2008 07:00 AM

Re: Javascript error, who speaks this language?
 
Excuse me, latest version 4.21
http://easynews.dl.sourceforge.net/sourceforge/overlib/overlib421.zip
Yes, replace overlib files with downloaded on the server.

Warwick 01-24-2008 07:54 AM

Re: Javascript error, who speaks this language?
 
Thanks I'll check it out!


All times are GMT -8. The time now is 04:38 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.