|
From: <bo...@co...> - 2003-10-21 01:15:07
|
Hi!
> > > Thought I'd pick on a widget and give it a go. So I tried the
> > > gui.List component. Can we have packages.js dependency on
> > > NodeItem?
>
> // New? In packages.js including List will auto include NodeItem
>
> //dynapi.library.include('dynapi.gui.NodeItem')
> dynapi.library.include('dynapi.gui.List')
??? auto include?
How?
If I include the NodeItem in list and in Tree, it's included Twice (I thing).
I don't know how to work the dynapi include (I see in the package.js and I put
my code, but I drink you words if you tell me how to make an auto include in
dynapi widget);
Please share your secret :)
> > > Is it not possible to add a link as list item content? In example:
> > > list.add("<a href=\"javascript:alert('hi')\">Item Two</a>",2);
>
> Adding List content that is a '<a href="..> ' doesn't work?
It's work:
var l=new List();
l.setAnchor({left:0,top:0,stretchH:'100%',stretchV:'100%'});
l.add('<a href="javascript:alert(\'hi\')">hi</a>',0);
l.add('<a href="javascript:alert(\'hi\')">hi</a>',2);
> I may have out of date dynapi / Tree etc..
Hmm, I thin not. Lastest CVS :) I think you speak about something , and I
speak other thing.
I created the List Widget, NodeItem and Tree widget. I tell you how to
"created" the NodeItem.
I used this item in List and Tree. NodeItem = old ListItem (dynapi 2.5 List
widget). I renamed and sed another widget's (I plan a resizable grid element
(resizable columns/rows , because now I have lot of work).
> > (Sorry my english is poor)
>
> It is good.
Thnx, because I can't succes my basic english exam. (pooooor english grammar,
it's very complicated for me :)))))
Cow
My ICQ number: 73963523
Or you have MSN: bo...@ho... (M$ sometime close their network, and I use
linux so if the network closed I can't use this IM network).
and I have Jabber (it's can acces some network so tell me what's your favorite
IM :)))))
|