[svg-developers] I try to do the degrade in svg
?xml version=1.0 ? svg xmlns=http://www.w3.org/2000/svg; width=500px height=600px g defs linearGradient id=grad1 x1=0 y1=0 x2=400 y2=400 stop offset=0% style=stop-color:#FF/ stop offset=25% style=stop-color:#FF/ stop offset=50% style=stop-color:#00FF00/ stop offset=75% style=stop-color:#FF/ stop offset=100% style=stop-color:#FF/ /linearGradient /defs text x=5 y=20 style=font-size:22SVG Demo: Linear gradients/text path style=fill:url(#grad1) d=M0 50 h200 v200 h-200 z/ circle style=fill:url(#grad1) cx=320 cy=150 r=100 / polygon style=fill:url(#grad1) points=0,400,200,400,100,280 / ellipse style=fill:url(#grad1) cx=300 cy=350 rx=100 ry=75/ rect style=fill:url(#grad1) x=0 y=450 width=400 height=100 / /g /svg this file is not work with gecko dear park please I wait any subjection for use the url into fill. thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h3h0d3k/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123150149/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- - 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/
Re: [svg-developers] Viewing Muliple SVG files in Svg Browser
sent1729 schrieb: Hi all, I am using Batik Squiggle as my SVG browser. I would like to know if it is possible to display multiple svg files one layered on top of each in the browser.Because right now if I am able to achieve this by incoorporating all my svg files in to a single svg file. But if I have different layers of information stored in many svg files, then how to display them one on top of each other by selecting one at time. Thanks for any input Nathan. Hi Nathan you could use and image tag like this: image xlink:href=layer1.svg .../ image xlink:href=layer2.svg .../ the disadvantage here, is that you cant access the DOM of your layers anymore. you could also use the use Element to reference external SVG fragments, but note that this currently only works in Batik. use xlink:href=layer.svg#layerId / a third option which is the most flexible one is to use getURL() to load the layers, and append them to your DOM. you might want to look at carto.net s fantastic collection of map examples http://www.carto.net/papers/svg/samples/ cheers Holger Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hakjvu1/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123150602/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- - 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/
Re: [svg-developers] Calling a script in an SVG embed from containing HTML
hai_va schrieb: Hi everyone! Can anyone tell me how to call a javascript function in svg document embed in a html document from html script? see these extensivly commented examples: http://jwatt.org/svg/demos/scripting-across-embed.html http://jwatt.org/svg/demos/scripting-across-object.html hth Holger Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h6q6sl1/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123151525/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- - 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] I want to degrade in the svg with object pattern
?xml version=1.0 ? svg xmlns=http://www.w3.org/2000/svg; width=250px height=150px viewbox=0 0 51000 31000 zoomAnPan=magnify preserveAspectRatio=xMidYMid meet rect x=0 y=0 width=8 height=4 style=fill:#ff/ rect x=-1000 y=-1000 width=8 height=4 style=fill:rgb(255,138,0) !important/ defs pattern preserveAspectRatio=xMidYMid slice id=PGNE_MI4blackwhite x=0 y=0 width=2000 height=2000 patternUnits=userSpaceOnUse rect x=0 y=0 width=2000 height=2000 style=fill:white !important;/ line x1=1000 x2=1000 y1=0 y2=2000 style=stroke:black !important;fill:none !important;stroke- width:200 !important;/ /pattern /defs rect id=PGNE_MI4 x=21000 y=1000 width=9000 height=9000 style=fill:url(#PGNE_MI4blackwhite) !important;/ /svg the degrade in the rect who has the lot of line. the program is not correct i don't know because. thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hosk3sc/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123156713/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- - 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: I try to do the degrade in svg
please change viewbox to viewBox this work in IE and not work in gecko I wait any subjection. --- In svg-developers@yahoogroups.com, kouejou [EMAIL PROTECTED] wrote: thanks it works correctly --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote: kouejou schrieb: ?xml version=1.0 ? svg xmlns=http://www.w3.org/2000/svg; width=500px height=600px g defs linearGradient id=grad1 x1=0 y1=0 x2=400 y2=400 per default, coordinates for x1,y1,x2 and y2 are fractions of the bounding box of the shape that uses the gradient. deer park does not render the gradient, because its too big(400 times larger than your shapes). so you can either do linearGradient id=grad1 x1=0 y1=0 x2=1 y2=1 or set a value for gradientUnits, like this linearGradient id=grad1 x1=0 y1=0 x2=400 y2=400 gradientUnits=userSpaceOnUse hth Holger stop offset=0% style=stop-color:#FF/ stop offset=25% style=stop-color:#FF/ stop offset=50% style=stop-color:#00FF00/ stop offset=75% style=stop-color:#FF/ stop offset=100% style=stop-color:#FF/ /linearGradient /defs text x=5 y=20 style=font-size:22SVG Demo: Linear gradients/text path style=fill:url(#grad1) d=M0 50 h200 v200 h-200 z/ circle style=fill:url(#grad1) cx=320 cy=150 r=100 / polygon style=fill:url(#grad1) points=0,400,200,400,100,280 / ellipse style=fill:url(#grad1) cx=300 cy=350 rx=100 ry=75/ rect style=fill:url(#grad1) x=0 y=450 width=400 height=100 / /g /svg this file is not work with gecko dear park please I wait any subjection for use the url into fill. thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h2l9212/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123157268/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- - 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] please I want to do The background in svg
?xml version=1.0 ? svg xmlns=http://www.w3.org/2000/svg; width=250px height=150px viewBox=0 0 51000 31000 rect x=0 y=0 width=8 height=4 style=fill:#ff/ rect x=-1000 y=-1000 width=8 height=4 style=fill:rgb(255,138,0)/ defs pattern preserveAspectRatio=xMidYMid slice id=PGNE_MI4blackwhite x=0 y=0 width=2000 height=2000 patternUnits=userSpaceOnUse rect x=0 y=0 width=2000 height=2000 style=fill:white !important;/ line x1=1000 x2=1000 y1=0 y2=2000 style=stroke:black !important;fill:none !important;stroke- width:200 !important;/ /pattern /defs rect id=PGNE_MI4 x=21000 y=1000 width=9000 height=9000 style=fill:url(#PGNE_MI4blackwhite) !important;/ /svg this code works correctly in IE but no works in Gecko. please I wait any subjection. thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hbraj0t/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123157634/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- - 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/
Re: [svg-developers] please I want to do The background in svg
kouejou schrieb: ?xml version=1.0 ? svg xmlns=http://www.w3.org/2000/svg; width=250px height=150px viewBox=0 0 51000 31000 rect x=0 y=0 width=8 height=4 style=fill:#ff/ rect x=-1000 y=-1000 width=8 height=4 style=fill:rgb(255,138,0)/ defs pattern preserveAspectRatio=xMidYMid slice id=PGNE_MI4blackwhite x=0 y=0 width=2000 height=2000 patternUnits=userSpaceOnUse rect x=0 y=0 width=2000 height=2000 style=fill:white !important;/ line x1=1000 x2=1000 y1=0 y2=2000 style=stroke:black !important;fill:none !important;stroke- width:200 !important;/ /pattern /defs rect id=PGNE_MI4 x=21000 y=1000 width=9000 height=9000 style=fill:url(#PGNE_MI4blackwhite) !important;/ /svg this code works correctly in IE but no works in Gecko. please I wait any subjection. thanks patterns are not implemented in mozilla yet, but they are being worked at right now. if you want to follow the process, see: https://bugzilla.mozilla.org/show_bug.cgi?id=294517 hth Holger Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h39n8vl/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123157828/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- - 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: how to send client request to server in SVG
Dear Holger Will: Thank you very much for your reply. I did test my browser with html pages refreshing some values fed as an XML file and it looks, it is working just fine.. I tried your suggestion with if(obj.success){ string = obj.content; alert(DONE!!!); }else{ alert(request failed !) } And I am getting request failed! alert. I don't know if I'm missing anything.. Thank you very much for your help again. DD --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote: deeti_dave schrieb: Hi There, I am using SVG, Javascript with dsp objects (dsp-server page scripting language). Now, I have to grab data from svg graph, which user can change, to the server for inserting into database. I have to find a way to communicate with server from svg file. I have to send two whole arrays of values to server so server can insert them into database. I thought if I can transfer this array to xml file, and render a dsp sripct (dsp is a server page sripting language) object, I can insert into database. I have tried using two different ways: js_Vol is a javascript array which needs to be sent to server the database here is an object oriented and custom made. function send(){ alert(js_Vol); vol = '{'+js_Vol+'}'; var xmlDoc = new ActiveXObject(Microsoft.XMLDOM); alert(I am HERE); xmlDoc.async=false; xmlDoc.load(writeNewStrikeVol.xml?AnchorVols=+vol); } this does not work, I do not get alert: I am HERE upon execution. I also tried var xmlHttp=new ActiveXObject(Microsoft.XMLHTTP); instead of var xmlDoc = new ActiveXObject(Microsoft.XMLDOM); which also doesn't work :( unfortunatly ActiveXObjects are disabled in ASV. = Other way I thought of trying with getURL() and parseXML() which also does not work.. I don't get alert(past getURL) function send(){ alert(js_Vol); vol = '{'+js_VolY+'}'; getURL(writeNewStrikeVol.xml?AnchorVols=+vol, testFunction); //getURL(writeNewStrikeVol.xml, testFunction); alert(past getURL); } function testFunction(obj){ var string = ''; if(obj.success){ string = obj.content; } alert(string); var vol = parseXML(obj.content,svgDocument); var volId=vol.firstChild.getAttribute(id); alert(svgDocument); var volData=vol.firstChild.firstChild.getData(); alert(ID = +volId+ and the tag contents = \+volData+\); } and if I just say getURL(writeNewStrikeVol.xml, testFunction); I can get past the alert, and all other alerts are shown as blank = null except svgDocument. this suggest that your request was not successfull, that is ,in your testFunction, you should put everything inside if(obj.success) {//do stuff with the returened content}else{alert(request failed !)} i would guess that its a server side error, have you tested the retured XML directly in a browser ? my xml file is: ?xml version='1.0'? newvol id=1000 !-- DSP Task.setParameter(aVols,22); test.render(); -- !-- DSPOBJECT name = setVolNew sql = update NewVols set AnchorVols=aVol; -- !-- DSPOBJECT name = test aStrikes aVols -- /newvol Thank you very much for any suggestion. - 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 * Visit your group svg-developers http://groups.yahoo.com/group/svg-developers on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. - --- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hrqg2qr/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123192507/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- - 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] *
[svg-developers] I have memory hog
I have an SVG aplication for Firefox and IE using the adobe plugin that is a real memory hog; it is a scatter plot viewer embedded in an HTML page that is designed to guide the user from data set to data set, as well as to explore particular data. Each page (HTML + up to four SVG embedded documents) uses about a 1 or 1.5 MB of RAM. The memory for previous pages does not seem to be being freed up (makes sense, as my back button displays the previous SVG graphics quickly enough). What's the best practice here? Is there deallocation I could or should be doing on an unload event via JavaScript? Are there don't-cache delarations I could be using? Thanks, I've been learning a lot here. Randy Fischer Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h7ersc1/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123197376/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- - 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] SVG-Wiki
Hi- Many of you have wondered what happened to the SVG-Wiki. For those that don't know of it, the SVG-Wiki was started several years ago by Niklas Gustavsson, a talented developer, who passed it into the hands of www.svg.org. It was populated and corrected by many in this community as a central resource for SVG knowledge. Unfortunately, it became the target for unscrupulous spammers, who would nightly replace the content with (mostly Chinese) advertisements and links. Despite the best efforts of many dedicated antispammers, the load became too great, and the wiki had to be taken down. I took on the task of restoring and securing the wiki a few months ago, but work pressures prevented me from following through promptly. I passed it on to other volunteers, but the format of the archives proved to be a barrier, as did the lack of a current installation. However, recognizing the need for this great resource (and with some gentle prodding by others to remind me), I came back to the task, and hope to restore the wiki to its glory days. I'm doing a mostly by-hand restoration of the structure and content into a more secure (I hope!) MediaWiki installation. You can view it at its temporary home at: http://svg-whiz.com/wiki/ When it is once again stable and useful, it will go back to living at svg.org (though I may mirror it). Currently, I've restored about 1/2 to 2/3 of the content. However, I've noticed that much of the old content is out of date! It doesn't take into account FireFox, or many of the (hopefully) upcoming features of SVG 1.2 or sXBL. Also, it suffers from poor organization, which I'm trying to amend a bit (without being too obtrusive). So, I'm looking for volunteers to help with the restoration and revision of the SVG-Wiki. I hated to do it, but I made the wiki account-only. If you want to help out, I will have to make you an account. I will also make the raw archives available on request. Regards- Doug doug . schepers @ vectoreal.com www.vectoreal.com ...for scalable solutions. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn2cpdu/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123207077/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- - 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/