Hi,

The cross browser DHTML stuff that one can achieve with DynAPI is terrific 

However cannot get the foll to work in Netscape 4.7. Any clues will be
appreciated.
(I use DynAPI 2.5.7 from SourceForge.net)

In my web page I want to have a scrollable area with the content coming from
an external file (maybe html/ jsp/ ...)

So developed a web page on the lines of the sample
dynapi.gui.scrollpane.html
I removed the label objects that are created in the onLoad and replaced it
with a LoadPanel.
Created (without the content parameter) and added a ScrollPane object to the
document.

Provided a link on the web page to set the LoadPanel as a content of the
ScrollPane and a link to load an external file into the LoadPanel.

When viewed in a browser works with the links clicked in the following
order....
1. An empty scroll pane (with gray background) without scroll bars is seen
on load.
2. When setContent is clicked an empty LoadPanel with a red background is
added to the scroll pane.
    The scroll bars show automatically and they work!

3. When setURL is clicked an external file is loaded into the LoadPanel
which resizes with resulting resizing of the scroll pane as well.

But now in Netscape Communicator 4.7 the scroll bars refuse to function.
(They used to function before the setURL function of the loadPanel is
invoked.)
In IE 5.5 there is no problem the scrolling is perfect.

With a little bit of debugging found that in Netscape I can achieve
scrolling by calling invokeEvent('mousedown') on the scrollbar buttons.
It seems in Netscape (after the external document loads) there is some
transparent layer on top of the scrollbars due to which they do not 
receive the mouse clicks.

Any clues as to how to remove this transparent layer ?
I tried to bring the scroll bar to the top by setting its zIndex but no
success.
(attached my source html :  <<Does-not-work-ScrollPane-LoadPanel.html>> )

Rgds
G1








************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
Title: DynAPI Examples - ScrollPane














Load external document loadPanel.setURL()    Set LoadPanel as content of scrollPane

In Netscape 4.7 after loading the external content the scroll bars refuse to function, but they can be simulated by using the invokeEvent() method.
In IE there is no such problem. Any clues on this erratic behaviour?.
scroll right
scroll left

Reply via email to