Bugs #405644, was updated on 2001-03-03 05:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=405644&group_id=5757

Category: Browser-Specific Issue
Group: None
Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous
Assigned to: Nobody/Anonymous
Summary: NN error

Initial Comment:
I have got "JavaScript Error:
file:(skip)/src/lib/dynapi/api/dynlayer.js,
line 76:

clip is not defined.

using Win2000AS, NN4.61, dynapi 2001-01-25

Here is my JavaScript code:
<script src='src/dynapi.js'></script>
<script>
        DynAPI.setLibraryPath('src/lib');
        DynAPI.include('dynapi.api.*');
        DynAPI.include('dynapi.ext.inline.js');
</script>
<script>
        var leftSide, rightSide;
        var folderTree;
        
        leftSide = "<table width=601 align=center 
border=1 cellPadding=0 cellSpacing=0>";
        leftSide += "<tr><td width=161>";
        leftSide += "<img src='network_files/dot5.gif' 
width=161 height=1>";
        leftSide += "</td><td align=left valign=top>";
        rightSide = "</td></tr></table>";
        
        folderTree = new DynLayer();

        DynAPI.onLoad = function() {
                var doc = this.document.all['doc'];
                
                folderTree.setHTML(leftSide + 'myLayer 
Text' + rightSide);
                folderTree.setVisible(true);
                folderTree.setY(doc.getY() + 
doc.getContentHeight() - 50);
                folderTree.setWidth
(DynAPI.document.getWidth());
                
                DynAPI.document.addChild(folderTree);
        }
        DynAPI.onResize = function() {
                folderTree.setWidth
(DynAPI.document.getWidth());
        }
</script>


----------------------------------------------------------------------

Comment By: Pascal Bestebroer
Date: 2001-03-06 03:16

Message:
Logged In: YES 
user_id=38844

1. Your defining the folderTree before the onload
2. your creating variable DOC with same name as inline 
div.. won't work correctly in IE

fix those things, and see if you can make a shorter and 
more simple example of things going wrong.. 

closing it for now, repost a bug with shorter example code 
and the above mentioned problems/ideas fixed.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=405644&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to