When I broaden the grep to tbod
instead, I get a hit for HTMLTableElements.hs. This has functions set'tHead, get'tHead along with various other set/get combos, but only get'tBodies -- no set here. Is there some logic to what gets both a set and a get, and what gets just a get? Also, is there an easy way for me to manipulate the attributes, for example "height" for a particular tag/dom element? How about functionality for setting an element's position / dimensions, analogous to setElementPosition / setElementDimensions in mochikit (which I'm using now). http://www.mochikit.com/doc/html/MochiKit/DOM.html Thanks, thomas. 2007/12/4, Thomas Hartman <[EMAIL PROTECTED]>: > Grepping around, I see functions for table creation / manipulation in > the javascript DOM stuff, but nothing for the tbody tag. > > Is this because it's missing from the IRL DOM specification, or a bug, > or what? Should I add functionality for creating this tag myself, or > is it easier to fix the generated haskell? > > I ask because the place where I want to use this javascript from > haskell stuff should be making a tbody embedded in a div that is > smaller than the tbody; in modern browsers renders as a table with > scrollbars. > > Thanks, thomas. > > > [EMAIL > PROTECTED]:~/haskell-installs/yhc-install/yhc/src/translator/js/lib/haskell/DOM/Level1>grep > -irl mkTable * | grep .hs > HTMLTableColElement.hs > HTMLTableElement.hs > HTMLTableSectionElement.hs > Html.hs_unsplit > > [EMAIL > PROTECTED]:~/haskell-installs/yhc-install/yhc/src/translator/js/lib/haskell/DOM/Level1>grep > -irl tbody * | grep .hs > [EMAIL > PROTECTED]:~/haskell-installs/yhc-install/yhc/src/translator/js/lib/haskell/DOM/Level1>cd > .. > _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc