[svg-developers] Re: Trying to learn SVG DOM
That is actually where we started, but could not figure out how to embed an image, then call it appropriately. Thank you for your response... zed --- In svg-developers@yahoogroups.com, Peter Thompson [EMAIL PROTECTED] wrote: You may be able to start with a tooltip example (see: http://svg- whiz.com/svg/Tooltip.svg) and modify it to get what you want. There are other tooltip examples around. --- On Wed, 9/24/08, zedkineece [EMAIL PROTECTED] wrote: From: zedkineece [EMAIL PROTECTED] Subject: [svg-developers] Trying to learn SVG DOM To: svg-developers@yahoogroups.com Date: Wednesday, September 24, 2008, 8:42 AM I have been trying to create a script that will pop-up an image when the user hovers over a link in an SVG, relative to mouse position. I have been unable to code or even find an example anywhere on the Internet. Can this be accomplished? If so, can you please provide some sample code? TIA, zed - 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] Setting value of xlink:href
I am trying to set the value of xlink:href, but having issues trying to understand how to set it with the xlink namespace. I am getting the value of an id attribute, appending with a .png:, then trying to set the value of the xlink:href with the value of the id attribute with the .png appended. It all works, except for accessing and setting the xlink:href value. partial code: g id=img image id=placeholder x=3 y=3 width=350 height=200 style=visibility: hidden xlink:href=images/img.png/ /g imgElem = svgdoc.getElementById(placeholder); signalName = svgdoc.getElementById(elId).getAttribute('id') + .png; ... imgElem.setAttribute(xlink:href,signalName); any help is greatly appreciated. zed - 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] Trying to learn SVG DOM
I have been trying to create a script that will pop-up an image when the user hovers over a link in an SVG, relative to mouse position. I have been unable to code or even find an example anywhere on the Internet. Can this be accomplished? If so, can you please provide some sample code? TIA, zed - 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] Scripting issues
Hi, We are having some problems writing a script in svg that will do the following: For a given group: * Highlight the group in yellow during the onmouseover event then reset color to its original during the onmouseout event * When a user clicks a group, it will randomly choose one of 10 colors and set the group's color to one of the 10 colors (but not repeating any colors) * The onmouseover/onmouseout events are null if a group is clicked * If the user re-clicks a group that has already been clicked, it will then reset to its original color. We have come close a few times, but we haven't quite gotten everything to work the way we want. Are groups look similar to the following: g id=unique_group_id style=font-family:Verdana;font-size:4px;stroke-width:1.0px;fill:black;s\ troke:black;stroke-linecap:round;stroke-linejoin:round new:position=12.6485,-2.6221 12.7369,-2.7105 text transform=matrix(0.0625253 0 0 0.0625253 12.7167 -2.56505)3/text text transform=matrix(0.0625253 0 0 0.0625253 11.8865 -2.80411)CB1/text polyline points=12.6485,-2.6221 12.7369,-2.7105 / polyline points=12.4032,-2.6382 12.4864,-2.6663 / polyline points=12.4032,-2.6945 12.4032,-2.6382 / polyline points=12.4864,-2.6663 12.4032,-2.6945 / polyline points=12.4032,-2.6698 12.4760,-2.6698 / polyline points=12.4032,-2.6769 12.4552,-2.6769 / polyline points=12.4032,-2.6839 12.4344,-2.6839 / polyline points=12.4032,-2.6910 12.4136,-2.6910 / polyline points=12.4032,-2.6628 12.4760,-2.6628 / polyline points=12.4032,-2.6558 12.4552,-2.6558 / polyline points=12.4032,-2.6487 12.4344,-2.6487 / polyline points=12.4032,-2.6417 12.4136,-2.6417 / polyline points=12.4864,-2.6663 12.4032,-2.6663 / polyline points=11.6779,-2.6663 13.4380,-2.6663 / polyline points=11.8462,-2.9082 11.8462,-2.7543 / polyline points=11.8462,-2.7543 12.0448,-2.7543 / polyline points=12.0448,-2.7543 12.0989,-2.6663 / polyline points=11.8462,-2.9082 12.0989,-2.9082 / polyline points=12.0989,-2.9082 12.0989,-2.6663 / path d=M13.4380,-2.6663 A0.0313,0.0313 44.5493 0,0 13.4380,-2.6223 / path d=M13.4380,-2.6663 A0.0313,0.0313 44.5493 0,0 13.4380,-2.7103 / /g Any help would be greatly appreciated. [Non-text portions of this message have been removed] - 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] Scripting issues
Hi, We are having some problems writing a script in svg that will do the following: For a given group: * Highlight the group in yellow during the onmouseover event then reset color to its original during the onmouseout event * When a user clicks a group, it will randomly choose one of 10 colors and set the group's color to one of the 10 colors (but not repeating any colors) * The onmouseover/onmouseout events are null if a group is clicked * If the user re-clicks a group that has already been clicked, it will then reset to its original color. Our groups look similar to the following: g id=unique_group_id style=font-family:Verdana;font-size:4px;stroke-width:1.0px;fill:black;s\ \ troke:black;stroke-linecap:round;stroke-linejoin:round new:position=12.6485,-2.6221 12.7369,-2.7105 text transform=matrix(0.0625253 0 0 0.0625253 12.7167 -2.56505)3/text text transform=matrix(0.0625253 0 0 0.0625253 11.8865 -2.80411)CB1/text polyline points=12.6485,-2.6221 12.7369,-2.7105 / polyline points=12.4032,-2.6382 12.4864,-2.6663 / polyline points=12.4032,-2.6945 12.4032,-2.6382 / polyline points=12.4864,-2.6663 12.4032,-2.6945 / polyline points=12.4032,-2.6698 12.4760,-2.6698 / polyline points=12.4032,-2.6769 12.4552,-2.6769 / polyline points=12.4032,-2.6839 12.4344,-2.6839 / polyline points=12.4032,-2.6910 12.4136,-2.6910 / polyline points=12.4032,-2.6628 12.4760,-2.6628 / polyline points=12.4032,-2.6558 12.4552,-2.6558 / polyline points=12.4032,-2.6487 12.4344,-2.6487 / polyline points=12.4032,-2.6417 12.4136,-2.6417 / polyline points=12.4864,-2.6663 12.4032,-2.6663 / polyline points=11.6779,-2.6663 13.4380,-2.6663 / polyline points=11.8462,-2.9082 11.8462,-2.7543 / polyline points=11.8462,-2.7543 12.0448,-2.7543 / polyline points=12.0448,-2.7543 12.0989,-2.6663 / polyline points=11.8462,-2.9082 12.0989,-2.9082 / polyline points=12.0989,-2.9082 12.0989,-2.6663 / path d=M13.4380,-2.6663 A0.0313,0.0313 44.5493 0,0 13.4380,-2.6223 / path d=M13.4380,-2.6663 A0.0313,0.0313 44.5493 0,0 13.4380,-2.7103 / /g Any help would be greatly appreciated. [Non-text portions of this message have been removed] - 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] increase viewbox scale
I am working a project in which we are converting DWGs to SVG using AfterCAD's CAD2SVG software (which works very well). We post-process the converted SVGs to provide a certain level of interactivity (i.e. highlight signals on schematics, etc.). We determined that it would be nice to add a tool tip-like feature that shows a signal name once it is moused-over. The problem we have is that the drafting department has their entire process built around the source DWG being VERY tiny (for original printing purposes). The exported SVGs have viewBoxes varying in size around the following: -0.0823876 -8.35454 14.2619 8.07805, but each is slightly different. Given the small size, it is impossible to offset a tool tip to work on each SVG since a one pixel offset makes the tool tip appear outside the viewbox, and you must zoom way out to see the tooltips at all. If I make it appear correctly for one SVG, the next one's small change in size will give varying results with the placement of the tool tip. We must some how increase the overall scale of the drawings so that a 3x3 offset will work well for all SVGs. (Too bad we can't have the source DWGs increase their scale, but this has been deemed undoable). How can we account for this? Thanks - 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: Replace ASV with CSV
I have tried every other available SVG viewer, and none of them work on my project, nor do they provide the capabilities that ASV does (highlighting circuit signals, high use of context menu). This news has all but destroyed my business. --- In svg-developers@yahoogroups.com, Charles McCathieNevile [EMAIL PROTECTED] wrote: On Mon, 18 Sep 2006 12:40:48 -, Ronan Oger [EMAIL PROTECTED] wrote: With the furore over the demise of ASV, people seem to have forgotten that there is already another SVG viewer plugin for IE: Corel SVG Viewer is freely downloadable. It has limitations and was stifled by Adobe, but is actually a well-rounded viewer that does everything ASV did except SMIL (like everyone else). Don't you mean (like firefox)? It is a shame, because this is a serious limitation IMHO. In particular, it makes SVG nice to author (or even build tools for, as Ikivo does). Animation is key to what makes SVG interesting to me. It is not the only thing between SVG and canvas, but it's very valuable. ASV is there for a while yet, even according to Adobe's timetable. And there are options with animation already, and it is coming to more. cheers Chaals -- Charles McCathieNevile, Opera Software: Standards Group hablo español - je parle français - jeg lærer norsk [EMAIL PROTECTED] Try Opera 9 now! http://opera.com - 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] 'Native' SVG support in Opera and FF
With all the doom and gloom coming with Adobe's announcement (which TOTALLY screws up the project I am working on), I have tested Opera's and Firefox's 'native' support of SVG, and here are my problems: * Neither one of them display our SVGs the same. The text is too large in one, and too small in the other. We tried changing font size from px to em, but the problem still remains. * setAttribute is not working at all in FF, and we get varying results in Opera. * Is there a way to pan in Opera? * Is there even a way to pan or zoom in FF? * We made great use of the ASV content menu, and now that goes away. I have been reading on everyone's rants about Adobe pulling the ASV, and I agree with most assessments. Having owned and run a business of my own, I can understand thoughts, but their thoughts are wrong, and I personally feel that it could have serious backlash financially as well as ethically. Adobe is starting to mimic Microsoft's rule at all costs mentality. It is all about money. - 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] SVG Wiring Diagrams
Does anyone know of any *good* SVG wiring diagram examples available on the web? I have been looking for quite a while and can't find real, working demonstrations. Just looking for ideas... - 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: SVG Wiring Diagrams
That is what I am currently doing (DWG to SVG), but I wanted to see some ideas on functionality that different people have done. --- In svg-developers@yahoogroups.com, Peter Kalev [EMAIL PROTECTED] wrote: What would be the difference between the wiring diagram and any other SVG image? You can take an AutoCAD file of a wiring diagram, convert it to SVG, clean it up a bit and you should be good-to-go... Peter Kalev Senior Developer, SWF, LLC -Original Message- From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zedkineece Sent: Friday, September 08, 2006 11:55 AM To: svg-developers@yahoogroups.com Subject: [svg-developers] SVG Wiring Diagrams Does anyone know of any *good* SVG wiring diagram examples available on the web? I have been looking for quite a while and can't find real, working demonstrations. Just looking for ideas... [Non-text portions of this message have been removed] - 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] Changing stroke color
I am trying to change stroke colors for particular elements in my SVG with no success. Here is my javascript code: function changeStrokeColor(e) { document.getElementById(MSSA).setAttribute('stroke', e == MSSA ? 'red' : 'green'); document.getElementById(BFRJAM).setAttribute('stroke', e == BFRJAM ? 'red' : 'gray'); document.getElementById(NOT22).setAttribute('stroke', e == NOT22 ? 'red' : 'gray'); document.getElementById(NOT12).setAttribute('stroke', e == NOT12 ? 'red' : 'gray'); document.getElementById(HALT2).setAttribute('stroke', e == HALT2 ? 'red' : 'gray'); } Here is my javscript call: item onactivate=changeStrokeColor('MSSA')MSSA/item I am relatively new to SVG, so any help would be greatly appreciated. - 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/
[svg-developers] Translating path data to x,y
I am creating an XSLT to convert some XML data to SVG. The data is exported from a program the customer is using, and it exports text data, but the actual SVG text is written out as paths. I need to find the x,y data in path/@d so I can position the text properly on the screen. Here is a snippet of code: CADConverterDwgEntity TypeAcDbText/Type Handle604/Handle LayerTEXT/Layer LinetypeCONTINUOUS/Linetype Text2/Text /CADConverterDwgEntity path d=M556.42 509.02L556.42 508.86M556.42 508.86L556.58 508.54M556.58 508.54L556.74 508.37M556.74 508.37L557.07 508.21M557.07 508.21L557.72 508.21M557.72 508.21L558.05 508.37M558.05 508.37L558.21 508.54M558.21 508.54L558.37 508.86M558.37 508.86L558.37 509.19M558.37 509.19L558.21 509.51M558.21 509.51L557.88 510M557.88 510L556.26 511.62M556.26 511.62L558.53 511.62 fill=none stroke=black stroke-width=0.1/ EndCADConverterDwgEntity /EndCADConverterDwgEntity What I need is: text x=nnn y=nnn fill=none stroke=black stroke- width=0.12/text where the values of x and y are derived from the information in path/@d. Any help would be greatly appreciated. - 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/
[svg-developers] Re: Setting lower quality option ASV3
Ah ha! Finally found it after all this time: onload=window.setDefaultAntialias(false); I read about this property, but none of the sites said it equated to the higher quality setting in the context menu. I just didn't put the two together until now. --- In svg-developers@yahoogroups.com, zedkineece [EMAIL PROTECTED] wrote: Has anyone seen a way to set the lower-quality option as default when an SVG loads using ASV3? I cannot find anything about it anywhere on the web. TIA - 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/
[svg-developers] Re: set attributeName to group?
I still have not found an answer for this problem. Anyone have more ideas? Here is a snippet of code that does NOT work: ?xml version=1.0 encoding=UTF-8 standalone=no? svg xmlns:svg=http://www.w3.org/2000/svg; xmlns=http://www.w3.org/2000/svg; xmlns:sodipodi=http://sodipodi.sourceforge.net/DTD/sodipodi- 0.dtd xmlns:inkscape=http://www.inkscape.org/namespaces/inkscape; width=100% height=100% viewBox=0 0 2448 3168 preserveAspectRatio=xMinYMin slice kerning=0 xml:space=preserve id=svg2 sodipodi:version=0.32 inkscape:version=0.44 g id=myGroup set attributeName=stroke from=#00 to=yellow begin=mouseover end=mouseout id=set192 /set attributeName=stroke-width from=1px to=5px begin=mouseover end=mouseout id=set194 /set attributeName=stroke-width from=1px to=3px begin=click end=click id=set196 /set attributeName=stroke from=#00 to=red begin=click end=mouseup+0.1 id=set198 / path style=fill:none;fill-rule:nonzero;stroke:black;stroke- width:1px;stroke-linecap:round;stroke-linejoin:round d=M 1735,504 L 1741,490 L 1753,518 L 1765,490 L 1777,518 L 1789,490 L 1801,518 L 1807,504 id=path169 / path style=fill:none;fill-rule:nonzero;stroke:black;stroke- width:1px;stroke-linecap:round;stroke-linejoin:round d=M 1505,504 L 1511,490 L 1523,518 L 1535,490 L 1547,518 L 1559,490 L 1571,518 L 1577,504 M 1541,490 L 1535,475 L 1541,490 L 1547,475 L 1541,490 L 1541,461 id=path179 / path id=startmeup style=fill:none;fill-rule:nonzero;stroke:black;stroke- width:1px;stroke-linecap:round;stroke-linejoin:round d=M 1442,576 L 1466,576 M 1430,564 L 1478,564 M 1418,552 L 1490,552 M 1505,504 L 1454,504 L 1454,552 M 1577,504 L 1735,504 M 1195,389 L 1541,389 L 1541,461/ path style=fill:none;fill-rule:nonzero;stroke:black;stroke- width:1px;stroke-linecap:round;stroke-linejoin:round d=M 1807,504 L 1886,504 L 1886,463 id=path210 //g /svg TIA --- In svg-developers@yahoogroups.com, zedkineece [EMAIL PROTECTED] wrote: I am new to SVG, and would like to know if there is a way similar to set attributeName to a group of paths. I am playing around with highilighting paths on a schematic, and I can do it for individual paths, but haven't got it working for an entire group. Could someone point me in the right direction? - 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/
[svg-developers] Re: set attributeName to group?
For some reason, when I tried the javascript method, I could only get some of the functionality. I couln't figure out why. For instance, I could get mouseover but not clicks. Then when I removed mouseovers, clicks worked. No script errors. Hmm. --- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote: If I understand what you are trying to do you can also do something like this g id=Q fill=red rect x=0 y=0 height=30 width=30 fill=inherit/ rect x=40 y=0 height=30 width=30 fill=inherit/ /g then later on, with JavaScript, you can say something like SVGDocument.getElementById(Q).setAttribute(fill, green) --or to be more namespace aware, -- SVGDocument.getElementById(Q).setAttributeNS (null,fill, green) -- to dynamically change the fill values of all objects in the g The 'inherit' value takes its cue from the container (g or use, I think) that it is in. There have been times when I wished one could send multiple values through this way (like fill1=green and fill2=red) that could be plopped into inheriting elements in the order they are encountered, but I suppose that's what scripting is for. cheers, David - Original Message - From: zedkineece [EMAIL PROTECTED] To: svg-developers@yahoogroups.com Sent: Wednesday, August 09, 2006 12:29 PM Subject: [svg-developers] set attributeName to group? I am new to SVG, and would like to know if there is a way similar to set attributeName to a group of paths. I am playing around with highilighting paths on a schematic, and I can do it for individual paths, but haven't got it working for an entire group. Could someone point me in the right direction? - 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 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/
[svg-developers] set attributeName to group?
I am new to SVG, and would like to know if there is a way similar to set attributeName to a group of paths. I am playing around with highilighting paths on a schematic, and I can do it for individual paths, but haven't got it working for an entire group. Could someone point me in the right direction? - 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/
[svg-developers] Re: Adobe SVG Licensing
Without traversing through each reply, we included the viewer in one of our commercial apps. You have to register with Adobe first (http://www.adobe.com/svg/svgdistribute.html), then you must comply with their requirements (which is basically adding thier logo and copyright/trademark information). Other than that, it doesn't cost anything and is relatively easy. --- In svg-developers@yahoogroups.com, pingvinh [EMAIL PROTECTED] wrote: Hi Andreas, I thank you for you reply. I am more interested in the licensing of ASV than other solutions. I already have the groundwork for my product using ASV. The output will be compatible with other browsers (FF or Opera) but I have found that the ASV plugin render SVG a lot faster and therefore using it within my editor. Regards, Vinh. --- In svg-developers@yahoogroups.com, Andreas Neumann neumann@ wrote: I personally wouldn't build anything commercial around the Adobe SVG viewer, currently. Adobe abandoned the SVG viewer and currently there is no visible sign that they will release a new version. Other options are: * Batik (Java) * Bitflash viewer (commercial) * Ikivo Viewer (commercial) * eSVG (commercial) * any of the browsers with native SVG support (e.g. Opera, Mozilla), don't know if one can embed them Andreas - 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/
[svg-developers] Re: Various conversion utilities
No offense, Jeroen, but we tried a demo of your PDF to Vector for Windows product with mixed results. --- In svg-developers@yahoogroups.com, Jeroen Dekker [EMAIL PROTECTED] wrote: Hi there zedkineece, My company makes commercial batch conversion tools that can generate editable SVG (assuming vector-based input) from PDF, WMF, EPS and PostScript input. It's available in desktop, server and developer versions on Windows, Linux and UNIX platforms. Vector graphics, raster images and text strings are all converted and preserved as such in the SVG output. Depending on the nature of your files, we might have a custom solution for your CGM files as well. Please contact me off-list with some sample files if interested. More information about our software, company and customers is available at the URL below. Our graphics conversion tools have been around since 1995. Kind regards, Jeroen Dekker _ Square One - The Graphics Connection Visit http://www.square1.nl/index.htm Square One bv Schiestraat 38 2201 AS Noordwijk The Netherlands Tel. +31 71 364 8657 Fax: +31 71 362 0293 [EMAIL PROTECTED] Message: 8 Date: Wed, 26 Jan 2005 17:25:40 - From: zedkineece [EMAIL PROTECTED] Subject: Various conversion utilities We have a customer that has a mixture of file formats they want converted to SVG. PDF, DXF, CGM and WMF make up most of the source images. Most of the images do not have a source, and are basically the only copy of the image they have. Most are CGM and PDF. Does any one of you know of any utilities that can convert 1000's of images? We need to convert to real SVG, not embed. One of the biggest requirements is editable SVG as a result. So embedding a converted version of the image is not an option. Any ideas are greatly appreciated. - 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/