On Aug 4, 2014, at 12:47 AM, Christopher Schmitt <[email protected]>
wrote:
>
>>
>> Thanks Christopher. That is what I figured. Wasn't sure of a real case
>> scenario that I would do inches except maybe an online proofing website or
>> something that dealt with print pieces.
>> Was more curious because I saw this code on the jQuery animate page and
>> didn't know if this was a standard with css or something jQuery was
>> providing for their user base as a convenience per se.
>>
>> <script>
>> // Using multiple unit types within one animation.
>>
>> $( "#go" ).click(function() {
>> $( "#block" ).animate({
>> width: "70%",
>> opacity: 0.4,
>> marginLeft: "0.6in", <———— saw this
>> fontSize: "3em",
>> borderWidth: "10px"
>> }, 1500 );
>> });
>> </script>
>
> Definitely take that demo with a grain of salt.
>
> :) It’s trying to tell you it can move an element, but it’s not the best unit
> to use to do that.
>
> Hmm… Might be worthwhile to ping them to see if they can update the example
> with a different value.
>
> C.
Oh yeah, no worries there. I've done .animate() many times already.
Just never saw that measurement in their example before now.
Thanks for the verification. Will use sparingly. ;)
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/