[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-06-10 Thread ldexterldesign
Cheers Liam. That makes sense, yea. L On May 19, 2:51 pm, Liam Byrne l...@onsight.ie wrote: Browser can only do what they're told when combined with some basic facts and inbuilt assumptions. This was done in one of the jQuery libraries to recalculate the RGB colours from starting-colour to

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-19 Thread ldexterldesign
Browsers are clever these days - that's my answer, but yea, thanks for the clarification. I'll bear this in mind in the future. Ended up with this page in the end: http://is.gd/ARvj Hit a service on the left, then; Hit the 'Get a quote' button I wanted the contact form to animate in, but it's

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-19 Thread Liam Byrne
Browser can only do what they're told when combined with some basic facts and inbuilt assumptions. This was done in one of the jQuery libraries to recalculate the RGB colours from starting-colour to finishing-colour, so it can be done; but in that case each in-between colour already

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-15 Thread ldexterldesign
Hey Ricardo, I thought this might be the case. Nothing to clarify on the jQuery website that I could find. Thanks for the tip - I'll bear that in mind for the future. Cheers, L On May 14, 11:25 pm, Ricardo ricardob...@gmail.com wrote: dude, you can't animate from inline to block. For any

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-15 Thread Liam Byrne
Think of it logically. To animate a property, the computer needs to work out the in-between stages (tweening) to show: e.g animate width from 10 to 20 = 11,12,13,14, etc to animate opacity from 40% to 100% = 41%, 42%, 43%, etc You can also animate colours*, because behind-the-scenes

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-14 Thread waseem sabjee
// 'get a quote!' button is clicked $('.contactQuote').click( function(e){ e.preventDefault(); $('#content').css({'width', '33%'}); $('#sidebar2').css({'display', 'block'}); $('.wpcf7').css({'border', '3px solid

[jQuery] Re: Fairly new to animation. Hold my hand please, hehe?

2009-05-14 Thread Ricardo
dude, you can't animate from inline to block. For any width/height animation to work correctly the element needs display:block from the start. On May 14, 10:08 am, ldexterldesign m...@ldexterldesign.co.uk wrote: Hey guys, Got a little script I've written. Would like to animate the appearance