Relax Breath of Solution.Community tech blog of Sameera Thilakasiri - Consultant UI, UX, RWD Specialist/ Interactive Designer

Just I wanted.. Do you?…

jQuery creating custom animations

Posted on September 29, 2011 | No Comments

		<TITLE> jQuery creating custom animations </TITLE>
		<script type="text/javascript" src="
		<div id="clickme" >
			<font color="red"> Click here </font>
		<img id="book" src="
		alt="" width="200" height="223"
		style="position: relative; left: 10px;" />
			$('#clickme').click(function() {
					opacity : 0.25,
					left : '+=50',
					height : 'toggle'
				}, 5000, function() {
					// Animation complete.
					$("#targetDiv").html("<h3>" + "Click link to animate" + "</h3>").fadeIn("slow");
		<font color="blue">
			<div id="targetDiv" style="display: none;"></div>

Sameera Thilakasiri By Sameera Thilakasiri
,is a front-end developer based in Colombo, is a blogger and a lifestyle photographer.
Follow him Twitter and Google+. Check out him.


Leave a Reply

You must be logged in to post a comment.