Hello,
I tried desperately to make the jquery with the SVG code
but does that seem not to function... is it that someone
to an idea?
or of the examples that function ?
thank you for your help
(I use Firefox and adobe plugin svg)
================================================================
The code doesn't function below
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
id="svg2">
<script type="text/ecmascript"
xlink:href="file:///C:/jquery.js" />
<script type="text/ecmascript">
<![CDATA[
$(document).ready( function() {
$("rect").css({fill:"green"});
});
]]>
</script>
<defs>
<style type="text/css"><![CDATA[
rect {
fill: red;
stroke: blue;
stroke-width: 3
}
]]></style>
</defs>
<rect x="200" y="100" width="600" height="300"/>
</svg>