Maybe my sytax is incorrect. I have the following:
 
<g id="myHilite"><set

attributeName="stroke"

from="#000000"

to="yellow"

begin="myHilite.mouseover"

end="myHilite.mouseout"

id="set9877" /><set

attributeName="stroke-width"

from="1px"

to="5px"

begin="myHilite.mouseover"

end="myHilite.mouseout"

id="set9879" /><set

attributeName="stroke-width"

from="1px"

to="3px"

begin="myHilite.click"

end="myHilite.click"

id="set9881" /><set

attributeName="stroke"

from="#000000"

to="red"

begin="myHilite.click"

end="myHilite.mouseup+0.1"

id="set9883" /><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="path9854" /><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="path9864" /><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>

<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="path9895" /></g>


  
I also tried removing the myHilite property (like begin="click", 
etc.) and it did not work either. Ideas?


--- In [email protected], Bjoern Hoehrmann 
<[EMAIL PROTECTED]> wrote:
>
> * zedkineece 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?
> 
> Generally, for styling properties, you can do
> 
>   <g>
>     <set attributeName='fill' ... />
>     <path ... />
>     <path ... />
>     ...
> 
> Otherwise it might be possible to use <use>. There is no other way.
> -- 
> Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
> Weinh. Str. 22 · Telefon: +49(0)621/4309674 · 
http://www.bjoernsworld.de
> 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · 
http://www.websitedev.de/
>







-----
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/
 


Reply via email to