UBB.Dev
Posted By: loadet DHTML menu problem !! - 02/07/2001 4:16 PM
i want to insert a DHTML menu in my board and it works fine on the frontpage with forum listing and on the next page with the topic listing in a forum but when i enter a topic it disappear and i get script error .. frown is there a error in my DHTML menu confused

[ February 07, 2001: Message edited by: loadet ]
Code
code:

[ February 07, 2001: Message edited by: loadet ]
Posted By: speed Re: DHTML menu problem !! - 02/07/2001 6:15 PM
Java script file has to be in the same directory.
I put the java script into cgi and non cgi and that repaired that for me........
If your putting the html in your header in your control panel it will show on all screens.

[ February 07, 2001: Message edited by: speed ]
Posted By: loadet Re: DHTML menu problem !! - 02/07/2001 6:37 PM
well i have put the javascript in the right dir .. because it works like it should on the first pages .. but not on the page where i read the message ..
it is suposed to be on all pages !!
Posted By: TyRaN Re: DHTML menu problem !! - 02/07/2001 6:52 PM
too hard for me to explain why cause i speak french, but just put a / for your src=



shoul be:



do it for your images too... otherwise they wont appear.

tell me if it works...
Posted By: loadet Re: DHTML menu problem !! - 02/07/2001 7:23 PM
don't work .. with the original code i can see the images but not when i insert a /
the only problem is the menu that disappers on last page ..

This is the errors i get :
line: 73
Char: 1
Error: 'NavBar' is undefined
Code: 0


(line 73) var myNavBar1 = new NavBar(1);

and

Line: 119
Char: 3
Error: Object expected
Code: 0

(line 119) fullWidth = getWindowWidth()

maby that will help ?

[ February 07, 2001: Message edited by: loadet ]
Posted By: TyRaN Re: DHTML menu problem !! - 02/08/2001 1:00 AM
give me your url please... i'll check it for you... i have to view the source...

and try something... i see you don't have or maybe you put your code between and but i don't hink cause i see at the top of your post...

anyway, when i got your url i wiil check all that... but try to put your code in the

tell me if it works! laugh

[ February 07, 2001: Message edited by: TyRaN ]
Posted By: loadet Re: DHTML menu problem !! - 02/08/2001 2:05 PM
thanks for your help .. i made a mistake ..
now it works.. thanks smile
© UBB.Developers