<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Klipp og Lim - Blog &#187; Webdesign</title>
	<atom:link href="http://klippoglim.no/blog/tag/webdesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://klippoglim.no/blog</link>
	<description>News / Design / Motion / Technology</description>
	<lastBuildDate>Tue, 17 Aug 2010 14:31:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Back in business</title>
		<link>http://klippoglim.no/blog/2010/08/back-in-business/</link>
		<comments>http://klippoglim.no/blog/2010/08/back-in-business/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 14:31:44 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=2158</guid>
		<description><![CDATA[Well settled in our office after summer vacation, we&#8217;re once again ready to take on new challenges! We start the season by introducing one of our most recent clients, Eltorque. Their new website is now online; we&#8217;re responsible for the design and InCreo has implemented the CMS. We&#8217;ve also developed their new logo and identity, [...]]]></description>
			<content:encoded><![CDATA[<p>Well settled in our office after summer vacation, we&#8217;re once again ready to take on new challenges!</p>
<p><a href="http://www.eltorque.no"><img class="alignnone size-full wp-image-2159" title="Eltorque Website" src="http://klippoglim.no/blog/wp-content/uploads/2010/08/eltorque_blog.jpg" alt="" width="650" height="218" /></a></p>
<p>We start the season by introducing one of our most recent clients, <a href="http://www.eltorque.no">Eltorque</a>. Their new website is now online; we&#8217;re responsible for the design and <a href="http://www.increo.no">InCreo</a> has implemented the CMS. We&#8217;ve also developed their new logo and identity, more on this to appear in our portfolio in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2010/08/back-in-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate Full Screen Images Without Flash, iPhone and iPad Friendly</title>
		<link>http://klippoglim.no/blog/2010/06/ultimate-full-screen-images-without-flash-iphone-and-ipad-friendly/</link>
		<comments>http://klippoglim.no/blog/2010/06/ultimate-full-screen-images-without-flash-iphone-and-ipad-friendly/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 10:41:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=2128</guid>
		<description><![CDATA[Boom! There&#8217;s a new version in (gotochina)town, again. • Fully compatible with all browsers, including webkit on iPhone and iPad (without scroll-bugs) • Does not need to fully load images before calculating scaling (shorter loading time) • Letterboxes vertically oriented images • Standalone — no library needed and no conflicts needed • VERY light weight [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://klippoglim.no/blog/2010/06/ultimate-full-screen-images-without-flash-iphone-and-ipad-friendly/"><img class="alignnone size-full wp-image-2132" title="fullscreen" src="http://klippoglim.no/blog/wp-content/uploads/2010/06/fullscreen.jpg" alt="" width="650" height="462" /></a></p>
<p>Boom! There&#8217;s a new version in (gotochina)town, again.</p>
<p>• Fully compatible with all browsers, including webkit on iPhone and iPad (without scroll-bugs)<br />
• Does not need to fully load images before calculating scaling (shorter loading time)<br />
• Letterboxes vertically oriented images<br />
• Standalone — no library needed and no conflicts needed<br />
• VERY light weight (under 3KB for uncompressed css and javascript)<br />
• Easy to integrate into different gallery types (what additional examples would you like? Post your comment)<br />
• Seamless fallback to pure css solution in latest version of all major browsers</p>
<p>So here you go, see the comments in the source code for intructions:<br />
<br/><br />
<i><a class="more" href="http://klippoglim.no/blog/wp-content/uploads/scaler-v3.zip">Download source</a></i> <i><a class="more" href="http://klippoglim.no/blog/wp-content/uploads/scaler-v3/index.htm">View demo</a></i> <i><a class="more" href="http://klippoglim.no/blog/wp-content/uploads/scaler-v3/index-jquery.htm">View transition demo</a></i></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2010/06/ultimate-full-screen-images-without-flash-iphone-and-ipad-friendly/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Festival Season</title>
		<link>http://klippoglim.no/blog/2010/04/festival-season/</link>
		<comments>http://klippoglim.no/blog/2010/04/festival-season/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 07:42:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Festival]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=2022</guid>
		<description><![CDATA[We are proud to present a new addition to our product assortment! The website &#8220;Finere Festival&#8221; offers different promotional packages aimed at the Norwegian festival market. Most Norwegian festivals are relatively small, and their budgets for promotional material (posters/web-page a.s.o) aren&#8217;t often all that. We hope to amend this by offering a streamlined production process where [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://klippoglim.no/finerefestival/"><img class="alignnone size-full wp-image-2024" title="festivalweb" src="http://klippoglim.no/blog/wp-content/uploads/2010/04/festivalweb.jpg" alt="" width="630" height="300" /></a></p>
<p>We are proud to present a new addition to our product assortment! The website &#8220;<a href="http://klippoglim.no/finerefestival/">Finere Festival</a>&#8221; offers different promotional packages aimed at the Norwegian festival market. Most Norwegian festivals are relatively small, and their budgets for promotional material (posters/web-page a.s.o) aren&#8217;t often all that.</p>
<p>We hope to amend this by offering a streamlined production process where web and print are created simultaneously with high intensity. This will hopefully result in visually engaging posters and websites for some of the hundreds of festivals that compete for peoples attention during the year.</p>
<p><a href="http://klippoglim.no/finerefestival/">Check it out!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2010/04/festival-season/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cielo Website</title>
		<link>http://klippoglim.no/blog/2009/11/cielo-website/</link>
		<comments>http://klippoglim.no/blog/2009/11/cielo-website/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 14:20:53 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Identity]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=1693</guid>
		<description><![CDATA[Cielo (which translates into &#8220;heaven&#8221;) started their own small chocolate factory here in Trondheim 3 years ago. Earlier these heavenly lumps of calories only were to be obtained in a few local outlets, but now there is an alternative. We&#8217;ve recently completed their new website, which utilizes the Snop CMS. This merry occasion also marks [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cielo.no"><img class="alignnone size-full wp-image-1699" title="Cielo" src="http://klippoglim.no/blog/wp-content/uploads/2009/11/cielo_illustrasjon_6501.jpg" alt="Cielo" width="650" height="371" /></a></p>
<p>Cielo (which translates into  &#8220;heaven&#8221;) started their own small chocolate factory here in Trondheim 3 years ago.  Earlier these heavenly lumps of calories only were to be obtained in a few local  outlets, but now there is an alternative.</p>
<p>We&#8217;ve recently completed their new <a href="http://www.cielo.no/">website</a>, which utilizes the Snop CMS. This merry occasion also  marks Klipp og Lim’s first venture in the land of e-commerce as we are proud to  present a neat and intuitive web shop. Drag items into the shopping basket and  check out, simple as that. We&#8217;re also in the process of developing a new  identity, the logo seen above included.</p>
<p>Cielo was earlier blogged by <a href="http://www.madeinnorwaynow.no/blogg/Cielo-sjokoladen-som-skulle-leve-opp-til-navnet-intet-mindre/25483">Made  In Norway Now</a> as well, and we suspect more will pick up on these tasty  chocolate pieces in the time to come! You can also follow the boys on <a href="http://twitter.com/CieloBoys">Twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/11/cielo-website/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Studio Skeie</title>
		<link>http://klippoglim.no/blog/2009/09/studio-skeie/</link>
		<comments>http://klippoglim.no/blog/2009/09/studio-skeie/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 07:16:15 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=1553</guid>
		<description><![CDATA[We recently finished a new dynamic website for Studio Skeie, as usual based on our Snop CMS. Hope you like it. Also, all our videos are now also embeddable in case you&#8217;d want to post them elsewhere!]]></description>
			<content:encoded><![CDATA[<p><a href="http://studioskeie.no/"><img class="alignnone size-full wp-image-1554" title="Studio Skeie" src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/09/skeie_jpg2.jpg" alt="Studio Skeie" width="650" height="242" /></a></p>
<p>We recently finished a new dynamic website for <a href="http://studioskeie.no/">Studio Skeie</a>, as usual based on our Snop CMS. Hope you like it.</p>
<p>Also, all our videos are now also <em>embeddable</em> in case you&#8217;d want to post them elsewhere!</p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/09/studio-skeie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trøndelagsutstillingen</title>
		<link>http://klippoglim.no/blog/2009/09/trondelagsutstillingen/</link>
		<comments>http://klippoglim.no/blog/2009/09/trondelagsutstillingen/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 08:19:46 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Identity]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=1510</guid>
		<description><![CDATA[We&#8217;ve produced a new profile and website for Trøndelagsutstillingen, another site that uses our Snop CMS. This site uses the whole browser window as a showroom for the exhibition. We wanted to make a site which emphasized the works of art, and use photos of the exhibition space as backgrounds throughout the website. We also [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://trondelagsutstillingen.no/"><img class="alignnone size-full wp-image-1540" title="Trøndelagsutstillingen" src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/09/web650_032.jpg" alt="Trøndelagsutstillingen" width="650" height="307" /></a></p>
<p>We&#8217;ve produced a new profile and website for <a href="http://trondelagsutstillingen.no/">Trøndelagsutstillingen</a>, another site that uses our <em>Snop</em> CMS. This site uses the whole browser window as a showroom for the exhibition.</p>
<p>We wanted to make a site which emphasized the works of art, and use photos of the exhibition space as backgrounds throughout the website. We also made a catalog and a poster, which we will publish here as soon as we&#8217;re able to take some decent photos of them.</p>
<p><a class="more" href="http://trondelagsutstillingen.no">Launch site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/09/trondelagsutstillingen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TSO Website</title>
		<link>http://klippoglim.no/blog/2009/08/tso-website/</link>
		<comments>http://klippoglim.no/blog/2009/08/tso-website/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 10:07:37 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[TSO]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=1489</guid>
		<description><![CDATA[We&#8217;ve recently been working closely with the Trondheim Symphonic Orchestra (TSO) developing a brand new website alongside with media such as animation and the individual portraits of the orchestra. The site is also added to our portfolio. Including the animation, based on the illustration by Si Scott and scored by Sander.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently been working closely with the Trondheim Symphonic Orchestra (TSO) developing a <a href="http://www.tso.no">brand new website</a> alongside with media such as animation and the individual portraits of the orchestra. The site is also added to our <a href="http://klippoglim.no/interactive/tso_website/">portfolio</a>.</p>
<p><a href="http://www.tso.no"><img class="alignnone size-full wp-image-1496" title="TSO Website" src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/08/website6502.jpg" alt="TSO Website" width="650" height="371" /></a></p>
<p>Including the animation, based on the illustration by <a href="http://www.siscottstudio.com/">Si Scott</a> and scored by <a href="http://klippoglim.no/info/people/#sander_stedenfeldt_olsen">Sander</a>.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="650" height="374" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6099160&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="650" height="374" src="http://vimeo.com/moogaloop.swf?clip_id=6099160&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/08/tso-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fullscreen Images Reloaded</title>
		<link>http://klippoglim.no/blog/2009/05/fullscreen-images-reloaded/</link>
		<comments>http://klippoglim.no/blog/2009/05/fullscreen-images-reloaded/#comments</comments>
		<pubDate>Mon, 18 May 2009 19:55:52 +0000</pubDate>
		<dc:creator>Eirik</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=1257</guid>
		<description><![CDATA[Since our last post about fullscreen scaling background without flash, we have received lots of feedback and suggestions for improvement. There has also been some further developement with implementing the gallery functionality we use at the GOTOCHINA-site. Now there&#8217;s a new version in town. To sum up some of the changes: • Mootools is used [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://klippoglim.no/blog/2009/05/fullscreen-images-reloaded/"><img class="alignnone size-full wp-image-1259" src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/05/fullscreen2.jpg" alt="fullscreen" width="650" height="462" /></a></p>
<p>Since our <a href="http://klippoglim.no/blog/2009/04/full-screen-images/">last post about fullscreen scaling background without flash</a>, we have received lots of feedback and suggestions for improvement. There has also been some further developement with implementing the gallery functionality we use at the <a href="http://ringvemedia.com/">GOTOCHINA-site</a>. Now there&#8217;s a new version in town.</p>
<p><span id="more-1257"></span> To sum up some of the changes:</p>
<p>• <a href="http://www.mootools.net">Mootools</a> is used as a base<br />
• You can now choose to letterbox vertically oriented images<br />
• The script now automatically turns on gallery-mode if a &#8220;navigation-element&#8221; is found (see code for explanation)<br />
• There&#8217;s been added some conditional settings, for example for preventing the ugly opera scroll bug</p>
<p>So here you go, see the comments in the source code for further explanations:</p>
<p><a class="more" href="http://klippoglim.no/blog/wp-content/uploads/fullscreen2.zip">Download source</a></p>
<p><a class="more" href="http://klippoglim.no/blog/wp-content/uploads/fullscreen2/index.htm">View demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/05/fullscreen-images-reloaded/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Fullscreen Image Scaling without Flash</title>
		<link>http://klippoglim.no/blog/2009/04/full-screen-images/</link>
		<comments>http://klippoglim.no/blog/2009/04/full-screen-images/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 14:34:00 +0000</pubDate>
		<dc:creator>Eirik</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=1046</guid>
		<description><![CDATA[After our web designer Eirik launched the GOTOCHINA-website, there have been a lot of writings around on the web on how to do the full-screen image-effect. There have also been developers sending mails and wondering about how this technique both can center the image and scale proportionally. So therefore, in this post we’re going to [...]]]></description>
			<content:encoded><![CDATA[<p>After our web designer <a href="klippoglim.no/info/people/#eirik_backer">Eirik</a> launched the <a href="http://ringvemedia.com/">GOTOCHINA</a>-website, there have been a lot of writings around on the web on how to do the full-screen image-effect. There have also been developers sending mails and wondering about how this technique both can center the image and scale proportionally. So therefore, in this post we’re going to give you a explanation of how it all works.<br />
<span id="more-1046"></span><br />
</p>
<p><h4>Step 1:</h4>
<p>Unlike most full-size-background techniques, we want the image to remain relative to the center of the screen, and not to the default upper left corner coordinate. Example:</p>
<p><img src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/04/blogcrop2.jpg" alt="blogcrop" title="blogcrop" width="650" height="450" class="alignnone size-full wp-image-1051" /><br />
To do this, we start of by creating a holder that is 200% the size of our original area, and placing it equally outdented from the body on every side:</p>
<pre class="brush: css;">html,body{width:100%;height:100%;overflow:hidden} /*to give the #holder something to relate to and prevent scrollbars*/
#holder{position:absolute;width:200%;height:200%;top:-50%;left:-50%} /*with IE vertical centering-fix from http://www.jakpsatweb.cz/css/css-vertical-center-solution.html*/
#holder[id]{display:table} /*for standard-browsers*/</pre>
<p><img src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/04/blogholder2.jpg" alt="blogholder" title="blogholder" width="650" height="374" class="alignnone size-full wp-image-1052" />
</p>
<p></p>
<p><h4>Step 2:</h4>
<p>Inside this holder, we create a div that stays centered from the top:</p>
<pre class="brush: css;">#holder div{position:absolute;left:0;top:50%;width:100%} /*with IE-fix*/
#holder[id] div{display:table-cell;vertical-align:middle;position:static} /*for standard-browsers*/
*:first-child+html #holder div{position:absolute}/*force IE 7 back to position:absoulte*/
</pre>
<p><img src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/04/blogholderdiv2.jpg" alt="blogholderdiv" title="blogholderdiv" width="650" height="374" class="alignnone size-full wp-image-1060" />
</p>
<p></p>
<p><h4>Step 3:</h4>
<p>Now we can add our image and make it center, aligned to the parent div. The -ms-interpolation-mode-variable  is trick to force IE to anti-alias when resizing the image.</p>
<pre class="brush: css;">#holder img{position:relative;top:-50%;margin:0 auto;display:block;-ms-interpolation-mode: bicubic;width:100%}/*Setting width here creates a look-alike fallback for browsers without javascript*/</pre>
<p><img src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/04/blogholderimg2.jpg" alt="blogholderimg" title="blogholderimg" width="650" height="374" class="alignnone size-full wp-image-1061" />
</p>
<p></p>
<p><h4>Step 4:</h4>
<p>Since the body now is all covered with a huge image, we need to make a “new” body, where we can put our content:</p>
<pre class="brush: css;">#body{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;overflow:auto}</pre>
</p>
<p></p>
<p>
</p>
<h4>Step 5:</h4>
<p>Create a javascript file called scaler.js. To avoid the need of any “domready” or “onload” events, we are going to place this script just after our #body-div. The script:</p>
<pre class="brush: jscript;">(function(){
	var db=document.body;
	var img=document.getElementById('holder').getElementsByTagName('img')[0];

	var dbsize={}; //needed to store body size
	var imgsrc=img.src; //needed to store images src
	var keyStop=function(e){
		var e=window.event||e||{};
		var tag=e.target.tagName.toLowerCase();
		if(tag!='textarea'&amp;amp;&amp;amp;!(tag=='input'&amp;amp;&amp;amp;(e.target.type=='text'||e.target.type=='password'))){ //are the user not writing?
			if(e.keyCode==32||e.keyCode==39||e.keyCode==40){ //Did he press any of the &amp;quot;scrolling-keys&amp;quot;? (down, right, and space key)
				if(e.preventDefault)e.preventDefault();
				else e.returnValue=false;
			}
		}
	}

	if(this.addEventListener)window.addEventListener('keydown',keyStop,false);
	else window.attachEvent('onkeydown',keyStop);

	setInterval(function(){
		window.scrollTo(0,0);
		if(img.complete){ //check if image has loaded
			if(db.clientWidth!=dbsize.w||db.clientHeight!=dbsize.h||img.src!=imgsrc){ //check if size or img size has changed
				imgsrc=img.src; //store current src
				dbsize.w=db.clientWidth; //store current body width
				dbsize.h=db.clientHeight; //store current body height

				var newwidth=Math.round(dbsize.h*(img.offsetWidth/img.offsetHeight)); //calculate new width based on height

				img.style.width=(dbsize.w&amp;gt;newwidth?dbsize.w:newwidth)+'px'; //use the largest value of body-width and newwidht
				//and this is the real trick: if there's no specified height, the height is automaticly calculated relative to the with
			}
		}
	},300);
})();</pre>
</p>
<p></p>
<p>
</p>
<h4>Step 6:</h4>
<p>The HTML:</p>
<pre class="brush: xml;">&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;
&amp;lt;head&amp;gt;
	&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;charset=UTF-8&amp;quot; /&amp;gt;&amp;lt;title&amp;gt;Scaler&amp;lt;/title&amp;gt;
	&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;scaler.css&amp;quot; /&amp;gt;
	&amp;lt;meta http-equiv=&amp;quot;imagetoolbar&amp;quot; content=&amp;quot;no&amp;quot; /&amp;gt; &amp;lt;!--Prevent IEs anoying imgage toolbar--&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;div id=&amp;quot;holder&amp;quot;&amp;gt;
		&amp;lt;div&amp;gt;&amp;lt;img alt=&amp;quot;&amp;quot; src=&amp;quot;your_photo.jpg&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;
	&amp;lt;/div&amp;gt;
	&amp;lt;div id=&amp;quot;body&amp;quot;&amp;gt;
		Your content
	&amp;lt;/div&amp;gt;
	&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;scaler.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;</pre>
</p>
<p><a class="more" href="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/04/scaler2.zip">Download source</a></p>
<p><a class="more" href="http://klippoglim.no/blog/wp-content/uploads/scaler/scaler.htm">View demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/04/full-screen-images/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>The First Week</title>
		<link>http://klippoglim.no/blog/2009/03/the-first-week/</link>
		<comments>http://klippoglim.no/blog/2009/03/the-first-week/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 11:46:45 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://klippoglim.no/blog/?p=742</guid>
		<description><![CDATA[Almost one week has passed since our website went live and here&#8217;s a little recap of whats happened in this period, plus a few update notifications. Our new website had 5741 unique visitors in its first 5 days which must be said to be a lot. The site was featured on Website Design Awards, CSS [...]]]></description>
			<content:encoded><![CDATA[<p>Almost one week has passed since our website went live and here&#8217;s a little recap of whats happened in this period, plus a few update notifications.</p>
<p>Our new website had 5741 unique visitors in its first 5 days which must be said to be a lot. The site was featured on <a href="http://websitedesignawards.com/index.php/klipp-og-lim/">Website Design Awards</a>, <a href="http://cssmania.com/galleries/2009/03/08/klipp-og-lim.php">CSS Mania</a>, <a href="http://www.mostinspired.com/sites/view/99455bc4922c29fc4e70bfd698f6588e">Most Inspired</a>, <a href="http://www.webcreme.com/2009/03/klipp-og-lim/">Web Creme</a>, <a href="http://www.csswow.com/klippoglim/">CSS Wow</a>, <a href="http://box.mepholio.com/website/klipp-og-lim">MephoBox</a>, <a href="http://www.webnewly.com/?p=2745">Web Newly</a>, <a href="http://designslices.com/slice/march-09/klipp-og-lim">Designslices</a> and <a href="http://www.faveup.com/design/9255">FaveUp</a>. CSS Wow wrote the following:</p>
<blockquote><p>Klipp og Lim, have broken fresh grounds when it comes to the world of design and communication. Defying the cliched methods of media communication, Klipp og Lim provides a wide range of products on multiple platforms for a diverse group of customers. From strategic consulting to design, illustrations, sound, motion and web, they take care of all kind of communication requirements of their clients. Visit this website and learn new ways as to how to get your business cracking&#8230;</p></blockquote>
<p>We were featured on Smashing Magazine&#8217;s <a href="http://www.smashingmagazine.com/2009/03/07/20-beautiful-video-motion-pieces/">20 Beautiful Video Motion Pieces</a>, and we&#8217;re working on a <a href="http://virb.com/klippoglim">Virb profile</a>. Oh, and if you&#8217;re on Facebook, feel free to take a look at our <a href="http://www.facebook.com/pages/Trondheim-Norway/Klipp-og-Lim/72830750733">Klipp og Lim-page </a>and become a fan :) All in all, so far soo good. We&#8217;re excited to see how it&#8217;s going to develop in the time to come.</p>
<p><a href="http://klippoglim.no/static/resman_work_joy_dreams/"><img class="alignnone size-full wp-image-771" title="Work Joy Dreams" src="http://d3617992.hosted418.moonrocketadmin.net/blog/wp-content/uploads/2009/03/wjd_650_022.jpg" alt="Work Joy Dreams" width="650" height="350" /></a></p>
<p>Other than that, our portfolio has been updated with <a href="http://klippoglim.no/static/avr_robots/">AVR Robots</a> illustrations and an accompanying <a href="http://klippoglim.no/info/case_studies/avr_robots">case study</a>, our <a href="http://www.klippoglim.no/sound/musicians_and_voices/">Musicians and voices</a> section has gotten a few new additions and there&#8217;s a new <a href="http://klippoglim.no/static/resman_work_joy_dreams/">Resman illustration</a> out — make sure you check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2009/03/the-first-week/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Modernista!</title>
		<link>http://klippoglim.no/blog/2008/06/modernista/</link>
		<comments>http://klippoglim.no/blog/2008/06/modernista/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 18:01:20 +0000</pubDate>
		<dc:creator>Gustav</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Modernista]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://blog.klippoglim.no/?p=56</guid>
		<description><![CDATA[They&#8217;re right: Modernista! is not for everyone. But they&#8217;ve created one of the most creative &#8216;websites&#8217; I&#8217;ve seen in a while, as their &#8216;site&#8217; is really simply utilizing all kinds of Web 2.0 services and applications in order to display their information and portfolio. See what you make of it: Modernista!]]></description>
			<content:encoded><![CDATA[<p>They&#8217;re right: <strong>Modernista!</strong> is not for everyone. But they&#8217;ve created one of the most creative &#8216;websites&#8217; I&#8217;ve seen in a while, as their &#8216;site&#8217; is really simply utilizing all kinds of Web 2.0 services and applications in order to display their information and portfolio. </p>
<p>See what you make of it: <a href="http://www.modernista.com/">Modernista!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://klippoglim.no/blog/2008/06/modernista/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
