Help - Search - Members - Calendar
Full Version: 2 Javascript Errors
xFX JumpStart Public Forums > DHTML Menu Builder > Generic Problems > JavaScript Errors
sharky
Hi,  
 
As soon as I integrate the menu, I have conflicts javascipts  
I use the version 4.9.005 with the motor 2.4.005 and my explorer is IE6 SP1.

I have 2 errors : ???
1. 1. all the page with forms that one a sbmit button of the type:
CODE
<form method="POST" name="FORMULAIRE" action="../annuaire/pClient.asp" onSubmit="return checkClient()">




2. I use an external JS. is a clock



CODE
if (IE4){
Ypos=document.body.scrollTop+window.document.body.clientHeight-YCbase-20;
Xpos=document.body.scrollLeft+window.document.body.clientWidth-XCbase-20;
for (i=0; i < cdots; ++i){
ieDigits[i].style.pixelTop=Ypos-15+YCbase*Math.sin(-1.045 +i *Split*Math.PI/180)
ieDigits[i].style.pixelLeft=Xpos-15+XCbase*Math.cos(-1.045 +i *Split*Math.PI/180)
}
for (i=0; i < S.length; i++){
x[i].style.pixelTop =Ypos+i*YCbase/4.1*Math.sin(sec); //-->Error in this line 228
x[i].style.pixelLeft=Xpos+i*XCbase/4.1*Math.cos(sec);
}
for (i=0; i < M.length; i++){
y[i].style.pixelTop =Ypos+i*YCbase/4.1*Math.sin(min);
y[i].style.pixelLeft=Xpos+i*XCbase/4.1*Math.cos(min);
}
for (i=0; i < H.length; i++){
z[i].style.pixelTop =Ypos+i*YCbase/4.1*Math.sin(hrs);
z[i].style.pixelLeft=Xpos+i*XCbase/4.1*Math.cos(hrs);
}


These 2 mistakes only come if the menu is in the page. Without this one, no problem.  
 
Can you help me?  
Thank you
xfx
Dear sharky,

Would it be possible that you post the URL of your web site so I can access the menus and test them?
sharky
Hi,

Distress, no it is an intranet!

But if you want, I can send you a zip with the menu (+ source), pages, and the concerned scripts!
sharky
here is the source ....
Source
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.