Hi, When developing with SVG and Javascript, we had to share objects in both spaces (svg & html).
So the best way to do this is implement a Javascript library representing your objects in external files and carefully check independence of the library code. Normally 90% of your code should be in this library Then in each world (svg & html) implement as needed implementation specific calls. You have then a much clearer application structure and you can rely on reusable code independently of the embedding environment Guy Le 7 nov. 05 à 17:47, Erwan TROEL a écrit : > > > i have embed a svg in a html page > > which way is the best? > > manipulate objects of my svg with javascript in the html > > or > > manipulate objects with javascript in the svg > > > > > being independant of the implementation of the viewer > > > or > > > > giving independance to the object > > > > > > > > > [Non-text portions of this message have been removed] > > > > ------------------------ Yahoo! Groups Sponsor -------------------- > ~--> > Get Bzzzy! (real tools to help you find a job). Welcome to the > Sweet Life. > http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM > -------------------------------------------------------------------- > ~-> > > ----- > To unsubscribe send a message to: svg-developers- > [EMAIL PROTECTED] > -or- > visit http://groups.yahoo.com/group/svg-developers and click "edit > my membership" > ---- > Yahoo! Groups Links > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

