PDA

View Full Version : Netscape Loading Problem NEED HELP


simu
15.05.2001, 13:43
Hi all

I've got a BIG Problem

I completle made my Page new It should work in NN4+ IE4+ but Netscape <img src=icon_smile_angry.gif border=0 align=middle> have a Problem
If the Page loads nothing happens it never stops loading!
in IE and NN6 the Page works fine
Please have a look at the Code maybe someone could help me
[url="http://www.8ung.at/simushome/simushome/"]here's the Link[/url:j3qq88xvi8]

Thanks to all

<center><h4>| simu |</h4>
------
| [url="http://www.simu.cjb.net"]www.simu.cjb.net[/url:j3qq88xvi8] |
------
| [url="http://www.retedesign.cjb.net"]www.retedesign.cjb.net[/url:j3qq88xvi8] |
------
| [url="mailto:simuk@freesurf.ch"]simuk@freesurf.ch[/url:j3qq88xvi8] |
</center>

Rod
15.05.2001, 14:30
Hi Simu!!! =)

Hmmm, got the same problems with site sometimes, it doesnt stop loading.

Anyone?

Rad
[url="http://www.e-syed.net/viewsrc"]viewsrc[/url:2hxyirz36h]

bratta
15.05.2001, 16:34
All the times I've seen this problem it have been related to document.writing of style tags.

In your pages.js file you have a lot of STYLE tags that your trying to write into the document. NS4 doesn't really like that.
I usually take all the styles and place them in the stylesheet as a class.

Example:

Your line:
var home ="<div style='position:absolute;left:10;top:25;font-family:verdana;font-size:15pt;text-decoration:underline'>"+nbsp+"****Home***</div><div style='position:absolute;left:160;top:65;text-decoration:none;color:#000000;font-family:verdana;font-size:8pt;vertical-align:top'>welcome to my DHTML Webpage</div>";




Becomes:
var home ="<div class='clTest'>"+nbsp+"****Home***</div><div class='clTest2'>welcome to my DHTML Webpage</div>";


Then you add:
.clTest{position:absolute;left:10;top:25;font-family:verdana;font-size:15pt;text-decoration:underline}
.clTest2{position:absolute;left:160;top:65;text-decoration:none;color:#000000;font-family:verdana;font-size:8pt;vertical-align:top}

Inside your style tag.
Do that on all lines.

A sidenote: You've done something strange inside the makeObj function that will as far as I can see make NS4 give you an error. But we can take that the next time.

-Thomas Brattli-
http://www.bratta.com/
http://www.dhtmlcentral.com/

simu
16.05.2001, 06:54
Thanks Thomas

I'll try it if I find time
hope it works


<center><h4>| simu |</h4>
------
| [url="http://www.simu.cjb.net"]www.simu.cjb.net[/url:rsnijvqhr0] |
------
| [url="http://www.retedesign.cjb.net"]www.retedesign.cjb.net[/url:rsnijvqhr0] |
------
| [url="mailto:simuk@freesurf.ch"]simuk@freesurf.ch[/url:rsnijvqhr0] |
</center>