Hi,
Did anyone reply to this yet, - I'm not sure, anyway, there does seem to be
a problem doing it like you are trying, I think it should work in IE, but
not in NS4, 'cause you can't get do getHTML() then.
The easiest way would be like this:
DynAPI.onLoad=function() {
storyLayer = new DynLayer(null,0,0,200,200)
storyLayer.setHTML('We're pleased to present blah blah blah blah
blah')
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></body>
Cheers,
Richard Bennett
[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to DynAPI2.51)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi
----- Original Message -----
From: "Bill Groppe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 4:23 PM
Subject: [Dynapi-Help] Help the newbie
>
> 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-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help