I'm using DynAPI to first create a layer,
DynAPI.onLoad = function () {
fred = new DynLayer();
fred.setSize(1,1);
fred.moveTo(100,100);
fred.setVisible(false);
DynAPI.document.addChild(fred);
}
then depending upon which link is selected, change the html of the layer
to suit the link using the following function:
function fDisplay() {
fred.setHTML(txt);
var x = fred.getContentWidth();
var y = fred.getContentHeight();
fred.moveTo(5,5);
fred.setVisible(true);
fred.setSize(x,y);
DragEvent.setDragBoundary(document);
DragEvent.enableDragEvents(fred);
}
function fHide() {
fred.setVisible(false);
}
the text is set directly in the onClick event. All events are assigned
to images within anchor tags. This seems to work fine in IE5x, Mozilla
0.9.4, Netscape 6x, but not in Netscape 4x.
When the layer is hidden using the fHide function, Netscape 4x has all
mouse events disabled in the parent document such that no onClick events
(or onMouseDown, onMouseOver etc.) work. A workaround has been to
assign all the events directly in the href tag, but as there are other
onClick events on the page that are unrelated to this layer
functionality, this solution is unacceptable.
Anyone see this problem before?
thanks
tom
Here is an example of how the events are called in the HTML:
<a href="javascript:void(0)" onClick="txt = 'General information about
campus resources.  <a class="active"
href="#"
onmouseover="fHide();">close</a><br><font
color=blue face=Arial size=1>09/11/2001 11:50</font> <font
face=Arial size=2>Our primary paging services provider, Arch Paging,
has notified us that nationwide paging coverage is being severely
limited or unavailable. No details on the expected length of this
outage are currently available. Our local telephone service provider,
BellSouth, has made a public request to limit telephone calls to
critical calls due to the high volume of calling being placed on the
public telephone network. We will provide further updates on these
or other services as information is available. </font>';
fDisplay(); return false;"><img
src="../helpsite/cmsimages/global/btn_962titlebar.gif" width="82"
height="20" border="0" /></a>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help