PDA

View Full Version : PageScroll compatability


WebT
19.05.2001, 09:48
I have a problem with PageScroll and Netscape 4.5 using it simply crashes the browser, I know it is an old browser but the scripts is said to work in all, anyone got this script working with ns4.5?

bratta
19.05.2001, 10:06
Can you post a link to a page with the problem?

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

WebT
19.05.2001, 10:25
Make that it crashes in any netscape except ns6 i think, http://webt.dk/new
just put that script up it has your coolmenu3 on there too could be why?

bratta
19.05.2001, 10:39
The layers in the pageScroll script are absolute positioned so there's no reason to have them inside a table. Move them to start of your page (after the body tag).

Netscape 4 doesn't like mixing inline styles and stylesheet styles so you should move all your layer styles to the stylesheet.

Example:
This:
<div id="divControl" style="left: 235px; top: 148px; width: 466px; height: 22px; visibility: visible">

Should look like this:
<div id="divControl">

And have added the style in the stylesheet (between the <style> and </style> in the top of the document) like this:

#divControl{left: 235px; top: 148px; width: 466px; height: 22px; visibility: visible}

Also you have 2 layers with the same id (divControl).

If you fix those things it should work like a charm. If it doesn't let me know.

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

WebT
19.05.2001, 11:07
Many thanks, it works now, and thanks for making such great scripts.

bratta
19.05.2001, 11:12
Glad to hear that it works :)

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