[svg-developers] Re: Providing for multiple browsers
object type=image/svg+xml data=svg_circle4_loads_by_ref.svg width=200 height=200 param name=src value=svg_circle4_loads_by_ref.svg alt : a href=svg_circle4_loads_by_ref.svgcircle.svg/a /object works here with Opera(9.5), Ff(3), and IE(7)+Adobe(3): So how and why does this work when other methods fail, and how the hell would one be expected to dream up this particular recipe? Setting type attribute is a good practice, and forgetting it can lead to weird behavior (for example, displaying SVG contents as XML text when Visual Studio 2005 is installed). The param trick seems to work due to the implementation Internet Explorer uses, which internally seems to interpret both embed and object in a similar way. Finally, I personally prefer, instead of using a link to the file as alternative text (alt : ...), a more mean full note like: IMO the whole thing deserves, in fact, more publicity... Regards, Helder Magalhães - 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/
[svg-developers] Re: Providing for multiple browsers
--- In svg-developers@yahoogroups.com, cwflamont [EMAIL PROTECTED] wrote: My own attempts are at: http://www.gateho.nildram.co.uk/temp/graphics/SVG/ ... Viewing the source of these in Ff shows that something is stripping out the '--' after the first 'endif', which I do not understand at all. Why does that bit work in the puidokas example above, but not for me? Viewing the source of your files I found that the first conditional comment has en-dashes (U+2013) instead of hyphen-minuses (U+002D) and thus is not a comment. Whatever editor you used has probably replaced them automatically. - 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/
[svg-developers] Re: Providing for multiple browsers
--- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote: Hi, there are a number of different questions sort of bound up with the issues of cross-browser compatibility depending upon whether: 1. it is standalone svg (.svg) 2. it is embedded in HTML using embed, iframe, object or image 3. it is inlined in HTML (as in the two links you provided) [snipped lots more] Thanks for the care you took to reply, David. It is going to take me a while to digest. - 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/
[svg-developers] Re: Providing for multiple browsers
--- In svg-developers@yahoogroups.com, cwflamont [EMAIL PROTECTED] wrote: http://blog.codedread.com/. http://intertwingly.net/blog. Erm ... this is exactly what I am asking about. Neither of the above blogs work properly in IE, (SVG not rendered, tried on 3 different machines) though in the the case of codedread it looks different depending on whether it has the Adobe viewer plugin plugged in (you get more if it isn't). In both of these blogs, it is somewhat a conscious choice that things don't look as good in IE as they do in other modern browsers. In some small way it is educating people how far behind IE is in implementing standards. Call it a political statement if you want, but I cannot be bothered to work around IE's limitations. What I am trying to do (to start with) is no more than to be able to upload some SVG to my homepage, in whatever form that works, and for most people to be easily able to view it in their browser, whatever it is, (given the Adobe or other viewer if they are IE users) without having to download it first and then open the local file. You can do this today simply by using the object or embed tag. If the user has the plugin installed, the SVG will render. If you want to point them to a download page for a plugin, you will probably need to investigate how this is done (I haven't done the research yet on how best to do this, but this was done with the Flash plugin pretty heavily back in the day - one reason why the Flash plugin enjoys such widespread deployment). - 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/
[svg-developers] Re: Providing for multiple browsers
[EMAIL PROTECTED] wrote: What I am trying to do (to start with) is no more than to be able to upload some SVG to my homepage, in whatever form that works, and for most people to be easily able to view it in their browser, whatever it is, (given the Adobe or other viewer if they are IE users) without having to download it first and then open the local file. You can do this today simply by using the object or embed tag. So, I have been trying this out using conditional comments, with some 'interesting' results: I came across this page: http://www.puidokas.com/efficient-conditional-comments/ with this example: http://www.puidokas.com/examples/conditional_comments/index.html which, for me, works in Firefox Opera, but not in IE. My own attempts are at: http://www.gateho.nildram.co.uk/temp/graphics/SVG/ First, one at a time: 'svg_circle_embed.html' works in IE, [wow, first time for that] 'svg_circle_object.html' works in Ff, [good, as expected] both work in Opera, [ok, why not?] Now to combine these using conditional comments: All the 'svg_circle_con...' examples work in IE+Adobe [brilliant] but not in Ff or Op, [oh, [EMAIL PROTECTED] Viewing the source of these in Ff shows that something is stripping out the '--' after the first 'endif', which I do not understand at all. Why does that bit work in the puidokas example above, but not for me? PS: I have added a dull example of SMIL animation I am working on, for those who can view it (it loads straight into Opera): http://www.gateho.nildram.co.uk/temp/graphics/SVG/Slider_Crank.svg - 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/
[svg-developers] Re: Providing for multiple browsers
Hello Charles, In my opinion, this depends on the type of SVG you want to embed into your pages. --- In svg-developers@yahoogroups.com, cwflamont [EMAIL PROTECTED] wrote: Could someone please point me towards recent thinking on how to get SVG content to download and display properly in Multiple browsers? If your content requires scripting, then I think the best approach is still described by my a href=http://blog.codedread.com/archives/2007/01/19/guide-to-deploying-svg-with-html/#includingSVG;guide to deploying SVG/a, which suggests serving objects to non-IE browsers and embed to IE. If your content does not require scripting, then I suggest to simply use object like I do on my blog for clip art: http://blog.codedread.com/. Does referencing the SVG as an object/ make things better or worse? This could be a matter of opinion. I favor object because it allows fallback content for those browsers that do not support SVG (IE without a plugin, Firefox 1.0-, Safari 2.0-, Opera 8.0-). Also, for things like clip art, if you want to update the SVG you need only do it one place and all your pages that reference the SVG are automatically updated. On the other hand, inline SVG conserves HTTP requests and allows for a much easier view-source + copy-paste paradigm, see Sam Ruby's blog: http://intertwingly.net/blog. - 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/
[svg-developers] Re: Providing for multiple browsers
Hi Charles, SVG files can be seen by the following browsers, if the files are authored according to the rules: http://jwatt.org/svg/authoring/ . 1) IE 6 (or higher) on Windows needs ASV (Adobe SVG Viewer) plug-in. You can see that way also SVG files that are not conformed to the above rules. ASV is not supported more by Adobe, but the plug-in is available. 2) Firefox 3 on Windows, Mac and Linux. Except SMIL animations, which are not implemented. 3) Opera 9.5 on Windows, Mac and Unix. The best on town for now. 4) Safari Webkit on Mac has a partial support, which is still in development. Cheers and have fun, Samy --- In svg-developers@yahoogroups.com, cwflamont [EMAIL PROTECTED] wrote: Could someone please point me towards recent thinking on how to get SVG content to download and display properly in Multiple browsers? The best I can find so far is at: http://wiki.svg.org/Inline_SVG but even then I find that it needs to be stored as an .html file for it download and display properly in Internet Explorer(7) but as an .xhtml to work with Firefox(3.0) Opera(9.5). I find that if I try to open an .xhtml file in IE, it opens it in Ff. This is despite doing the registry item deletion (to do with IE6 + IE7 Beta) I found somewhere. The similar, but more elaborate example at: http://jwatt.org/svg/demos/xhtml-with-inline-svg.xhtml works less well for me, in that even when given an .html suffix it still does not display the SVG in Explorer. Does referencing the SVG as an object/ make things better or worse? Clue? - 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/