php forum
php mysql forum
php mysql smarty
 
Topic Options
#116371 - 02/07/01 08:16 AM DHTML menu problem !!
loadet Offline
Junior Member

Registered: 01/15/01
Posts: 24
Loc: Denmark
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 ]

Top
#116372 - 02/07/01 10:15 AM Re: DHTML menu problem !!
speed Offline
Code Monkey

Registered: 11/27/00
Posts: 685
Loc: Ft. Myers Fl.
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 ]
_________________________

Just a thought

SPEED

Top
#116373 - 02/07/01 10:37 AM Re: DHTML menu problem !!
loadet Offline
Junior Member

Registered: 01/15/01
Posts: 24
Loc: Denmark
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 !!

Top
#116374 - 02/07/01 10:52 AM Re: DHTML menu problem !!
TyRaN Offline
Member

Registered: 07/27/00
Posts: 286
Loc: Canada
too hard for me to explain why cause i speak french, but just put a / for your src=

<script language="JavaScript" src="navcond.js"></script>

shoul be:

<script language="JavaScript" src="/navcond.js"></script>

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

tell me if it works...
_________________________
Sorry for my english... i speak french.

email:tyranausaure@hotmail.com

Top
#116375 - 02/07/01 11:23 AM Re: DHTML menu problem !!
loadet Offline
Junior Member

Registered: 01/15/01
Posts: 24
Loc: Denmark
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 ]

Top
#116376 - 02/07/01 05:00 PM Re: DHTML menu problem !!
TyRaN Offline
Member

Registered: 07/27/00
Posts: 286
Loc: Canada
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 <head> </head> or maybe you put your code between </head> and <body> but i don't hink cause i see <html> 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 <body>

tell me if it works! laugh

[ February 07, 2001: Message edited by: TyRaN ]
_________________________
Sorry for my english... i speak french.

email:tyranausaure@hotmail.com

Top
#116377 - 02/08/01 06:05 AM Re: DHTML menu problem !!
loadet Offline
Junior Member

Registered: 01/15/01
Posts: 24
Loc: Denmark
thanks for your help .. i made a mistake ..
now it works.. thanks smile

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks