From: Raymond I. <xw...@ya...> - 2003-05-18 17:56:20
|
--- Kevin <ke...@ke...> wrote: > ..... I have read access to CVS. I don't really want write > access > as I may break things. If TabManager is tested on a > mac and > all is well please add it to CVS. > > > 2) Any (quick ref) documentation on how to use the > new > > features? > > If I can. Is there a quick ref html auto generation > system that > works from definition lists? No, not as yet > > 3) Is the callSubmitFn() necessary? I see where > you're > > already using the onsubmit event which in my opion > > will make the callSubmitFn redundant. > > I don't understand? Say we have 10 menus x 8 tab > buttons > (like my Acronyms datasource + 9 other data tables). > Now > the onsubmit event listener neatly changes the tab > color for > all 80 buttons but how would it know what action to > take? > Say the event was from the tab that refered to > datasource > instance 7 and required a call to the moveLast > method. > A big if () ... else if() ... else if() ... 80 > times? > > 1) the user can add a unique name to each tab and do > a big > if statement for all tab instances in the onsubmit > event listener > 2) addSubmitFn('dsInstanceN.methodN()') to each tab > and > one src.callSubmitFn() in the event listener > 3) add a unique name to each tab that defines the > action (only > simple callbacks and '-' replaces the '.') > tabNM.setID('dsInstanceN-methodM()') > This is used in the Acronyms datasource example. I understand. > I had hoped that a page of many datasource menus > could be > auto generated with attributes defined in <style> .. > tags. Then > as in 3 above object style #dsInstanceN-methodM { > left:x; ..} > would give the correct callback. > <...........clipped..............> > > Yes, there is a dependency between the IOElement > and > > DataSource libraries. By including DataSource > > IOElement will be automatically included. > > I was refering to functions not automatically > included. I like > the dependency chain. So DataSource includes > IOElement > which the functions either need? Correct. > > > Anyway > > > have fun with TabManager. I've given up with any > > > real use of > > > style sheets as it would require several changes > to > > > the api and > > > getting agreement for this would be difficult. > > > > I thought the getElmWidth resolved all that? > > Mmm maybe! This was just w,h if I remember right. > > IMO left,top,width,height,clip,visibility,z-index, > background-color,background-image etc. may have > their default values set in head <style> ... > </style> tags. > The api setting z-index=1, w,h=0, visible=true etc. > is > passed through to getOuterHTML messes style sheet > defaults. The api shouldn't touch. When the element > is > rendered does _assignElement need to look at css and > fill in the null attributes of the DynLayer > instance. If it > does it should do it for all values that could have > come > from style sheets. I have tried most of this then to > find > various quirks in NS4. Also how to get at css values > in > Mozilla they are blank if set in <style> ... > </style> and > ok if set in style=" " (we have currentStyle in IE). > Anyway that was it so I gave up :( Sound like you'ld more want to use the DynLayer.getInline() features. This will return all the valid <style> settings for the layer. In any case I think this low priority for now. We can leave ot out for now. -- Raymond Irving > - > Kevin > > > Keep up the good work. > > > > -- > > Raymond Irving > > > > > - > > > Kevin. > > > > > > > > ATTACHMENT part 2 application/x-zip-compressed > > name=tabmanager-update.zip > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out > C++ or Java > code to make your application fit in a relational > database is painful, > don't do it! Check out ObjectStore. Now part of > Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |