From: Richard B. <ric...@sk...> - 2002-01-03 19:24:18
|
Hi, > >>From this work I think SVG will not replace DHTML anytime soon, in fact, I > > think it will stimulate libraries like DynAPI, because it is a very powerful > > tool, as a drawing board, but lacks many things we take for granted in > > DHTML, and some elements are not up to scratch, performance-wise (SMIL > > animation for instance). > > > I think that's an interesting argument. What exactly does SVG (the > spec, not the Adobe implementation) lack that we take for granted in DHTML? * For one thing it has no form elements (which is why Kevin started that project) * it has no element like the <div> and also no overflow property with scrollbars etc. * It has no text-wrapping, or browser-chosen variable font-sizes. * It has no relative positioning, each line of text, and each object must be absolutely positioned. * It has no built-in scrollbars, if the browser-window is too small, you don't get scrollbars, without hand-coding them, or other trickery. * You cannot - for instance - show some source-code inside <pre> tags. there are lots of things like that, and similary, SVG has lot's of advantages over DHTML, or VML or Flash. The best thing seems to be to combine the technologies, as needed, and there libraries like DynAPI can be very useful. Cheers, Richard. > scott andrew lepera |