My fav with a few more features is Beehive without being monolithic. Only the first one is NS4 and IE4 compliant though. As a bonus it is the only API I know of other than DynAPI (blech) that has a NS4 inline scroller.
http://www.xs4all.nl/~peterned/scripts.html -- jon mailto:[EMAIL PROTECTED] Tuesday, December 24, 2002, 10:10:55 AM, you wrote: MM> Timothy, MM> Ever since I've discovered this little api, and I mean little (under MM> 1k), it's helped me speed up my javascript development. MM> http://www.dithered.com/experiments/1kdhtml/ MM> in answer to your question though, I usually use a document.write('<div id="myDiv">>....</div>'); MM> Timothy Heald wrote: >>Hey, >> Not sure who's working today, but I figured I would give it a shot. >> >> I am rewriting a menu for a site and I am trying to get it as small as >possible. Needs to work for NN 4+ IE 4+ minimum. I figured I would write it myself, >rather than use an api, so I can >> get back into some good js, and to make it more specific to what I am doing. >> >> Now, I have written functions to figure out where the parent menu button is >located, and I know how to move the div with the menu items in it around, but what I >can't figure out how to do is >> create a div with a constructor. Like I would do with an image preloader? >> >> Is it possible just to do myDiv = new Div();? >> >> If not is createElement() the best way? Inner/outerHTML? I need it to be >fast and small. >> >> Also, do you think it's best to do browser detection on the server or client >side? I have done it both ways before and had good results with both. Just with the >requirement to support NN 4 >> (ugggghhhhh) I am going to have to create a layer rather than a div, and I am >pretty sure I can do that on the fly easily, I think I even have a good snippet from >Critter around here for that >> somewhere. >> >> Any way any tips or pointers would be much appreciated. >> >>Timothy Heald >>Assistant Webmaster >>Overseas Security Advisory Council >>U.S. Department of State >> MM> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
