Posts filed under ‘Personal’

A very simple Canvas and JQuery application

<![CDATA[My first canvas-jquery sample. Hope to create a simple html5 game and publish soon.

/lib/canvas_gallery/

<html>
	<head>
		<link rel="stylesheet" href="draw.css" />
	</head>
	<body onload="draw()">
		<img id="frame" src="images/picture_frame.png" />
		<ul>
			<li>
				<img src="images/gallery_1.jpg" />
			</li>
			<li>
				<img src="images/gallery_2.jpg" />
			</li>
			<li>
				<img src="images/gallery_3.jpg" />
			</li>
			<li>
				<img src="images/gallery_4.jpg" />
			</li>
			<li>
				<img src="images/gallery_5.jpg" />
			</li>
		</ul>
                <script src="jquery-1.4.4.min.js"></script>
                <script src="draw.js"></script>
	</body>
</html>
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	float: left;
	margin: 0 10px 10px 0;
}

img {
	display: none;
}
function draw(){
	$("li").each(function(){
		$(this).append("<canvas width='100' height='115' />");
		var ctx = $("canvas", this)[0].getContext('2d');
		ctx.drawImage($("img", this)[0], 0, 0);
		ctx.drawImage($("#frame")[0], -3, -3, 108, 124);
	})
}

]]>

Reklamlar

13,11,2010 at 20:42 Yorum bırakın

Sweden: Cheap Beer, Bad Weather, Hot Girls

<![CDATA[ It’s my 19th day in Sweden and It is gonna be my last week here. I enjoyed a lot and sometimes got bored of the weather. Hope to be here next summer again.]]>

19,06,2010 at 19:26 Yorum bırakın

40 Web Developers to Follow on Twitter

18,04,2010 at 1:51 Yorum bırakın

Missed Ipad with just two days

<![CDATA[
During my stay in San Francisco, I was planning to buy an Apple Ipad but learnt that it was gonna be released two days later I leave San Francisco. Gonna be back in San Francisco in three months and gonna target is Iphone 4G!

Here is the video of Iphone Store in SA…

http://vimeo.com/moogaloop.swf?clip_id=10703597&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1]]>

10,04,2010 at 18:55 Yorum bırakın

geryit.com : SOTD @ thecssawards

<![CDATA[
I was in the honorable mentions lists of thecssawards.com and finally selected as the site of the day. Thanks to Bulent Shik (pixegram.com) for designing the site.]]>

01,03,2010 at 12:23 Yorum bırakın

Thecssawards Honorable Mention

<![CDATA[My web site is also published on Thecssawards.com as a honorable mention. I hope I will get the site of the day title.]]>

22,02,2010 at 23:29 Yorum bırakın

Site of the day @cssmania : geryit.com

<![CDATA[

My portfolio site is published on leading css gallery web site cssmania.com . Time to take a break and watch some movie now.]]>

22,02,2010 at 17:22 2 yorum


Takvim

Ekim 2017
P S Ç P C C P
« Ara    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Posts by Month

Posts by Category