Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Morph using CSS class selector
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexey Uimanov  
View profile  
 More options Jan 10 2012, 5:46 am
From: Alexey Uimanov <s9gf4...@gmail.com>
Date: Tue, 10 Jan 2012 02:46:52 -0800 (PST)
Local: Tues, Jan 10 2012 5:46 am
Subject: Morph using CSS class selector

Hello. Is there some way to obtain style for given class?
Something like that:
new Fx.Morph(element).start(getStyle('.some-class'));

Just like MooTools can:
Fx.Morph(element).start('.some-class');


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Nemshilov  
View profile  
 More options Jan 10 2012, 6:13 am
From: Nikolay Nemshilov <nemshi...@gmail.com>
Date: Tue, 10 Jan 2012 15:13:27 +0400
Local: Tues, Jan 10 2012 6:13 am
Subject: Re: [RightJS Group:742] Morph using CSS class selector
Привет,

Not really. You can try to hack it around by using Element#computedStyles() but it might get tricky because some styles might get stuck in the "style" property and override CSS if the element change its context.

Much better solution would be to define CSS3 transitions in your CSS classes and then simply add them with Element#addClass. That won't make a smooth transition in old IE browsers, but it will be a less error prone approach. Besides that will be much simpler to support.

On Jan 10, 2012, at 2:46 PM, Alexey Uimanov wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexey Uimanov  
View profile  
 More options Jan 10 2012, 7:00 am
From: Alexey Uimanov <s9gf4...@gmail.com>
Date: Tue, 10 Jan 2012 04:00:56 -0800 (PST)
Local: Tues, Jan 10 2012 7:00 am
Subject: Re: Morph using CSS class selector

Thanks! this is realy cool! but need installed modern browser.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Nemshilov  
View profile  
 More options Jan 10 2012, 7:33 am
From: Nikolay Nemshilov <nemshi...@gmail.com>
Date: Tue, 10 Jan 2012 16:33:42 +0400
Local: Tues, Jan 10 2012 7:33 am
Subject: Re: [RightJS Group:744] Morph using CSS class selector
Yes, but it's a good thing actually. It falls back gracefully and makes the user wanting to upgrade to a modern browser :)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »