Can anyone help me with a dhtml/Javascript problem i have with a website i am trying to create.
I can point you at a URL and show you the script if you can. Cheers Dave |
I'll take a look. My focus is server-side, but a fresh pair of eyes sometimes helps :)
|
Same here.
Point me in the direction of the code and i'll have a look. Alec |
Same here ive spent hours ironing out bugs in mine.
Si |
Right basic problem is that the main frameset is loaded, and within one of the frames (contents) there is a dhtml/javascript menu. This fails to load with 2 script errors.
To me it looks like the menu9_com.js script is failing to pull the variable values from the menu_var.jas file but i dont know why. URL is http://homepage.ntlworld.com/druddle/sr/index.htm. I will mail the .js files to you. Dave |
Did you mean to have variables still pointing to locations on your local disk ?
menu_var.js ------------ var BaseHref=D:/Web/Steve Abbott Racing/; Menu6_1_1=new Array("Circuit Info","D:/Web/Steve Abbot Racing/trackinfo/valencia.htm","",0,20,100,"red","red","black","whi te","","",-1,-1,-1,"",""); |
Oops that will never work then will it !! Give us a mo to change it...
|
Cant get to the ftp site from my pc at work. Do you guys get the same errors on the load of the menu ?
Dave |
SOme more info
In the menu9.com.js file i manually entered the variable values from the menu_var.js file and as i did this for each variable in line. Every time i tested it the error moved onto the next variable that was being pulled in from the menu_var.js file. Thats why i think its having a problem pulling the variables through. This is the line in the menu9_com.js file with the variable declarations (line 10 i think) var RmbrNow=null,FLoc,ScLoc,DcLoc,SWinW,SWinH,FWinW,FW inH,SLdAgnWin,FColW,SColW,DColW,RLvl=0,FrstCreat=1 ,Ldd=0,Crtd=0,IniFlg,AcrssFrms=1,FrstCntnr=null,Cu rOvr=null,CloseTmr=null,CntrTxt,TxtClose,ImgStr,Sh wFlg=0,M_StrtTp=StartTop,M_StrtLft=StartLeft,Stati cPos=0,LftXtra=DomNav?LeftPaddng:0,TpXtra=DomNav?T opPaddng:0,FStr="",M_Hide=Nav4?"hide":"hidden",M_S how=Nav4?"show":"visible",Par=MenuUsesFrames?paren t:window,Doc=Par.document,Bod=Doc.body,Trigger=Nav Yes?Par:Bod; var Ztop=100,InitLdd=0,P_X=DomYes?"px":""; The first variable it complains about is M_StartTp. [Edited by druddle - 6/18/2003 10:18:26 AM] |
http://www.koncept-developments.com/
Menu like this?? SI |
Went home at lunch and fixed it. Was using an old incorrect version of the menu_com.js file. Recompiled it with the new changes I had made and as if by magic it works.
Will let you know when site is up (and URL). Dave |
All times are GMT +1. The time now is 10:59 AM. |
© 2024 MH Sub I, LLC dba Internet Brands