Try this...

Not entirely clear on what it is you're trying to do, but I think you
need to move the style statements to the group level so that they are
inherited by the group elements (paths).

Hope it's what you're after.

Cheers
   Martin ...

<?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";
     width="100%"
     height="100%"
     preserveAspectRatio="xMinYMin slice"
     kerning="0"
     xml:space="preserve"
     id="svg2">

     <g id="myGroup"
        
style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:1px;stroke-\
linecap:round;stroke-linejoin:round"
         >

         <set
             attributeName="stroke"
             from="#000000"
             to="red"
             begin="click"
             end="mouseup+0.1"
             id="set198" />
         <set
             attributeName="stroke-width"
             from="1px"
             to="3px"
             begin="click"
             end="click"
             id="set196" />
         <set
             attributeName="stroke"
             from="#000000"
             to="yellow"
             begin="mouseover"
             end="mouseout"
             id="set192" />
         <set
             attributeName="stroke-width"
             from="1px"
             to="5px"
             begin="mouseover"
             end="mouseout"
             id="set194" />


         <path
             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
             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"
             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
             d="M 1807,504 L 1886,504 L 1886,463"
             id="path210" />
     </g>
</svg>


--- In [email protected], "Kurt Martin" <[EMAIL PROTECTED]>
wrote:
>
> 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 begin="click", etc., and it did not work either.
>
>
>
> On 8/9/06, 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] <bjoern%40hoehrmann.de>
·
> > 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/
> >
> >
>
>
>
> --
> Kurt D. Martin
> 405.343.7116 (c)
> 405.759.3075 (h)
>
>
> [Non-text portions of this message have been removed]
>



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

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