PDA

View Full Version : strange problem in NS4


simu
12.07.2001, 13:42
hi all!

it's me again, again with a netscape problem

my new menuscript works perfectly now in IE, NS6 and NS4!

but if I load it in NS4 a js-error will showed up(bw has no properties) but if I reload the Page everthing works great! strange huh?

[url="http://www21.brinkster.com/simushome/scripts/Bigmenu/menu.html"]Link[/url:nka25ql91z]

The Browsercheck(where the error come from) is on top of the external Javascript-File, so it should be read at first all.

Thanks


{ [url="mailto:simuk@freesurf.ch"]simu[/url:nka25ql91z] }
{ [url:nka25ql91z]http://www.simu.cjb.net[/url:nka25ql91z] - [url:nka25ql91z]http://www.retedesign.ch.vu[/url:nka25ql91z] }

Icestorm
12.07.2001, 13:51
Solution By Thomas (R) :) put the browsercheck in the page instead of the js file.

<font face='Verdana'>
----
[url="http://e-syed.net/skriptlab/"]v2[/url:3tk063rqpv]
----
</font id='Verdana'>

Sergi
12.07.2001, 13:55
take checkBrowser out the js file and put it at the beginning of the html file javascript tags.
+
Then put the pointers (doc, sty, vis, etc.) definitions inside a function and call that function onload.

This should work (I think)

cu

<font color=green>
Sergi: [url="http://www.meddle.f2s.com"][site][/url:0pfybw2vba] || [url="sergi@dhtmlcentral.com"][e][/url:0pfybw2vba]
</font id=green>

simu
12.07.2001, 13:57
Thanks Ice

but the problem was solved by himself...

the error message only showed up if I opened the file out of my HTML-Editor, witch is strange too


{ [url="mailto:simuk@freesurf.ch"]simu[/url:zyua1z1l82] }
{ [url:zyua1z1l82]http://www.simu.cjb.net[/url:zyua1z1l82] - [url:zyua1z1l82]http://www.retedesign.ch.vu[/url:zyua1z1l82] }