>From your email it's not clear if each symbol is associated with each
polygon in your code.  You'll need to post your code. 

>From what I can tell - the simplest solution is something like this:

<svg ...>
  <g id="polygons" onmouseover="changeColor()">
  ...
  </g>
  <g id="symbols" onmouseover="changeSize(); changeColor()">
  ...
  </g>
</svg>

However, I suspect that I just don't understand what you're trying to
do.  If you're saying that a symbol is associated with a polygon, then
it makes more sense to group each symbol with its associated polygon.
 If you identify each symbol and polygon, you can use
document.getElementById() to select the entity you want and change its
attributes (size/color) all you want.

Jeff

--- In [email protected], "svgquestion" <[EMAIL PROTECTED]>
wrote:
>
> Dear List,
> 
> I'm new and I have an easy quesion. I have two layers <g>. The first 
> layer has symbols and the second underlying layer has polygons. I have 
> onmouseover event attributes associated with both <g> groups (change 
> color for the polygons, and resize for the symbols).
> 
> If I move my mouse over a polygon the color changes, if I move the 
> mouse over a symbols it resizes.
> 
> I'm looking for a solution so that the color of the polygon AND the 
> size of the symbol change if I move the mouse over a symbol?
> 
> I think it might be easy for you svg developpers to give me a solution 
> to my problem.
> 
> Thanks
> 
> Rainer
>




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

Reply via email to