~?>whichever element was PREVIOUSLY transformed gets the  
transformation reversed

hover and mouseout already cover that...
http://www.peepo.co.uk/index.svg has a pure css version.

cheers

Jonathan Chetwynd



On 23 Apr 2007, at 03:33, sirlemmingviii wrote:

I don't think that's really what I'm talking about... I need to do
something where when you move the mouse over one element, not only
does that element get transformed (width increase), but whichever
element was PREVIOUSLY transformed gets the transformation reversed
(width decrease). This wouldn't be a problem with just two elements,
but I have at least four, and if I just tell it "reverse the
transformation on the other 3 when I start the transformation on this
one", the ones that WEREN'T transformed before go through a whole
animation even though they don't need to, and it looks weird.

So basically, I'm very very sure I need to do conditional branching
and stuff... Is scripting the only way? I think by now I've almost
figured out how to do it with script, but I was just wondering if SVG
had a built-in thing.

--- In [email protected], "~:''
ありがとうã"ざいまし 
た。" <[EMAIL PROTECTED]> wrote:
 >
 > Go for the 1% solution either CSS or for a smooth transition use
 > animation begin mouseover or similar.
 > http://www.xml.com/2002/01/23/svg/cubes_step4.svg scale instead of
 > translate...
 >
 > cheers
 >
 > Jonathan Chetwynd
 >
 >
 >
 > On 22 Apr 2007, at 03:39, sirlemmingviii wrote:
 >
 > Here's a very brief synopsis of the specific situation: I'm trying to
 > do sort of a menu-type system in SVG right now, where moving the  
mouse
 > over one selection causes that selection to "grow", and then moving
 > the mouse over another selection causes it to "grow" while the
 > previously selected one "shrinks".
 >
 > I'm 99% sure I'll need an if-then-else type of thing to do this
 > (otherwise it's pretty hard to decide which menu to shrink and which
 > menu to grow). Does SVG have a built-in if-then-else type of thing?
 > I haven't seen one in my "research" and I can imagine why it would
 > seem like the kind of thing best left to the <script> section. Is
 > that the case, or is there an easier way?
 >






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