I have a div that holds a large amount of information.  I'm trying put it in a scroll 
frame.  I've tried the inline module without much success.  Any help would be greatly 
appreciated.  Here's the code I'm trying to use...

<HTML><HEAD>
<TITLE>360-Degree Video and Journalism</TITLE>
<script language="Javascript" src="dynapi/src/dynapi.js"></script>
<script language="Javascript">
DynAPI.setLibraryPath('dynapi/src/lib/')
DynAPI.include('dynapi.api.*')
DynAPI.include('dynapi.event.*')
DynAPI.include('dynapi.util.thread.js');
DynAPI.include('dynapi.util.pathanim.js');
DynAPI.include('dynapi.gui.dynimage.js');
DynAPI.include('dynapi.gui.button.js');
DynAPI.include('dynapi.gui.scrollbar.js');
DynAPI.include('dynapi.gui.viewport.js');
DynAPI.include('dynapi.gui.scrollpane.js');
DynAPI.include('dynapi.ext.inline.js')
DynAPI.include('dynapi.util.debug')
</script>
<script language="Javascript">

DynAPI.onLoad=function() {
        var storyLayer = this.document.getAll()['storyLayer']

        scrollobj = new ScrollPane(storyLayer);
        scrollobj.setSize(100,100);
        scrollobj.moveTo(250,50);
        scrollobj.setBgColor('#c0c0c0');
        
        DynAPI.document.addChild(scrollobj);
}       
      
</script>

</HEAD>
<body bgcolor=#ffffff text=#000000 link=#003366 vlink=#003366>
<div id="storyLayer" style="position:absolute; visibility:hidden">
<b>This is a test layer</b><br><br>
We're pleased to present blah blah blah blah blah
</div>  
</BODY></HTML>



Thanks,

-Bill Groppe (JS Newbie)

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

Reply via email to