From: <do...@cr...> - 2005-08-24 15:07:01
|
The wierdest things pop into your head when walking to work.. here it is.. the blackboard as described below is to allow you to add a child layer to a layer, and then later call sethtml on the parent layer without accidently deleting the child layers :-) Glad we got that sorted out. :-P do...@cr... said: > > > I haven't actually looked at the code yet but i do believe that > enableBlackboard creates two child layers in your layer, one which covers the > content and is transparent, and one which contains the content. > > The the various functions such as sethtml and gethtml are redirected to the > "blackboard" layer (content layer) as well as setsize, ect, resulting in the > containing layer, the cover layer and the blackboard layer being resized at > the same time > > Basically it's to make a layer's content non-selectable and non-clickable > without the devealoper having to do more than myLayer.enableBlackboard(); > > > before EnableBlackboard() > [myLayer]content[/myLayer] > > After EnabledBlackboard > [myLayer] > [TransparentCoverLayer] > [BlackBoard] > Content > [BlackBoard] > [TransparentCoverLayer] > [myLayer] > > Cheers > > Leif W <war...@us...> said: > > > > From: "Andrew Gillett" <an...@ph...> > > > Sent: 2005 August 15 Monday 19:01 > > > > > > In DynLayer, there is a method called "enableBlackboard". Can anyone > > > tell me what its for? > > > I can't find any documentation for it and I can't follow the code. I'd > > > appreciate it if someone > > > would give me a clue about its purpose. > > > > > > Just curious, > > > > > > Andrew. > > > > I've seen it too and wondered. Searching the source I find a few > > references to m/blackboard/i. > > One comment in the template manager code reads: "// this will force a > > <layer> arround the inline html". > > > > To what end, I'm not sure. > > > > Check the following: > > > > ./docs/docs/quickref.dynlayer.html > > ./docs/docs/revision.html > > ./examples/dynapi.api.dynlayer-autosize.html > > ./examples/dynapi.api.dynlayer-blackboard.html > > ./src/api/dynlayer_dom.js > > ./src/api/dynlayer_ie.js > > ./src/api/dynlayer_ns4.js > > ./src/api/dynlayer_opera.js > > ./src/gui/button.flatstyle.js > > ./src/gui/button.imagestyle.js > > ./src/gui/button.style.js > > ./src/gui/tmplmgr.js > > > > http://sourceforge.net/mailarchive/message.php?msg_id=12535636 > > http://sourceforge.net/mailarchive/message.php?msg_id=12535638 > > http://sourceforge.net/tracker/?group_id=5757&atid=305757&func=detail&aid=716335 > > > > Can't seem to find anything in mailing lists, which is odd. It's > > probably in the dev list. Check that list prior to the CVS additions > > and modifications relating to blackboard. > > > > Leif > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Dynapi-Help mailing list > > Dyn...@li... > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > > -- > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > -- |