Hi Daniele, > However, in Firefox 3.6 I don't see anything (blank page) but in other > browser (like Google Chrome or Opera) I see the svg file correctly. > Something missing? > By blank page, do you mean the SVG drawing is not being shown? Or is your qx app not loading at all?
Your code seems allright. If it's not working in firefox, it could be a bug in the library, or a difference in implementation between firefox and the other browsers. I know that there are more similar problems; for example, the freedraw demo I created does not work in all browsers either. I haven't been able yet to find out why, but it's definately something I want to fix. It could be helpful to inspect your page using the firebug addon. If you highlight the SVG tag on the HTML tab, it would be interesting to know if the element is marked on the page. Something that I noticed, is that in some cases the SVG appears with a width+height of zero, even if height and width have been explicitly set. This could be your problem too. Actually, I think that's the problem the freedraw demo has too. > Another question: How can I interact with the SVG property? Example: I want > change a fill value from a specific tag definied into svg file. > > Hmm, I do know that the <use> element (svg.struct.Use) can set properties of external tags, but it can't include entire files, only a selection of it. I'm not sure if the <image> element can do this. So far, I only focussed on SVG drawings that were entirely generated by the lib. I haven't worked with external files yet. If you can find out how to do it with plain SVG, using the library to do the same will probably be straightforward. > Thanks for your help ;) > Daniele > You're welcome. I hope this mail was helpful at all. ;) As I said earlier in this thread, the svglib is still in a very early stage, and I probably won't be able to work on it until late January. If you should find a way to solve your problem, though, please let me know! Regards, Marc ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
