hi, > http://srufaculty.sru.edu/david.dailey/svg/SVGiframe.html > <http://srufaculty.sru.edu/david.dailey/svg/SVGiframe.html> . In it I > pass the SVGDocument as an object from a small script in the SVG.
i guess that is the way to go anyhow and i am using it since years. in my actual work i am using a construct with true frames, and some of them have an iframe (with SVG content) in an html page. scripts are located in the framset-definiton giving html. each active content (in my case 2 svgs and 2 html-pages) "register" themselves onload as in David's example with top.register(this). "this" gives me all i need in order to go on and by the way the method gives control about load states, an important information in construct with asynchronous loading like frames,iframes,objects,etc. function register(_myObj{ try { // STANDARD METHOD var _myId = _myObj.getAttribute('id'); var _myObjHere = _myObj; } catch(e) { // ASV3 var _myId = _myObj.document.rootElement.getAttribute('id'); var _myObjHere = _myObj.document.getElementById(_myId); } _myObjects[_myId.substr(0,2)] = { 'obj' : _myObjHere, 'doc' : _myObjHere.ownerDocument // [...] }; if( [ALL ELEMS DEFINDED/COLLECTED...]){ _myInitMapFunctions(); } andre -- ___________________________________________________________________ andre m. winter, cartography for internet and multimedia applications schiessstand 4/1, a6091 goetzens, tyrol, austria tel.: ++43.5234.32732 <http://www.vectoreal.com/> SVG consulting and development <http://www.geotrace.net/> geo-localized high quality photographs <http://www.carto.at/> print and online touristic map solutions ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/