<?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>Skyrocket.be &#187; CSS</title>
	<atom:link href="http://www.skyrocket.be/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skyrocket.be</link>
	<description>Chris Ramakers over webdesign, webdevelopment en webtrends</description>
	<lastBuildDate>Thu, 31 Dec 2009 10:38:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lightbox JS 2 Overlay Opacity</title>
		<link>http://www.skyrocket.be/2006/04/21/lightbox-js-2-overlay-opacity/</link>
		<comments>http://www.skyrocket.be/2006/04/21/lightbox-js-2-overlay-opacity/#comments</comments>
		<pubDate>Fri, 21 Apr 2006 22:28:55 +0000</pubDate>
		<dc:creator>Chris R.</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://www.skyrocket.be/?p=62</guid>
		<description><![CDATA[Today I&#8217;ve spent over an hour searching how the background opacity with the lightbox JS 2 has been implemented. I wanted to change the opacity from 80% to 40% or less since one of our clients requested so.
What does one do first when one wants to change some layout elements? Check out the CSS stylesheets, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve spent over an hour searching how the background opacity with the <a href="http://huddletogether.com/projects/lightbox2/" class="extlink">lightbox JS 2</a> has been implemented. I wanted to change the <strong>opacity</strong> from 80% to 40% or less since one of our clients requested so.</p>
<p>What does one do first when one wants to change some layout elements? Check out the <abbr title="Cascading Style Sheets">CSS</abbr> stylesheets, and yes. There are three lines defined in the <strong>#overlay</strong> declaration:</p>
<p><code>filter:alpha(opacity=80);<br />
-moz-opacity:.80;<br />
opacity:.80;</code></p>
<p>How convenient, lets just cut all values in half and the opacity of the background overlay should turn more transparent, no? Wrong!</p>
<p>Apparently these CSS styles are only defined to support the script degrading gracefully, in javascript enabled browsers it doesn&#8217;t serve any active use, you could leave the styles out and the script would still be fully functional. But how do we change the opacity then? Well after some digging through the javascript code it ends up being fairly straightforward. Just <strong>open lightbox.js</strong> and search for the following line (it&#8217;s around line 320 depending on which version of lightbox JS 2 you are using)</p>
<p><code>new Effect.Appear('overlay', { duration: 0.2, from: 0.0, to: <span style="color: red">0.8</span> });</code></p>
<p>The red value is the value you wanna change to manipulate the transparency or opacity of the page overlay. Pretty easy to change if you know where to look.</p>
<p>I hope I saved some of you some time with this. It could prove usefull if Lokesh Dhakar, the creator of this fabulous script, would include some configuration directives in the top of the script controlling the behaviour and style of the lightbox. </p>]]></content:encoded>
			<wfw:commentRss>http://www.skyrocket.be/2006/04/21/lightbox-js-2-overlay-opacity/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Why tables for layout are stupid</title>
		<link>http://www.skyrocket.be/2006/04/19/why-tables-for-layout-are-stupid/</link>
		<comments>http://www.skyrocket.be/2006/04/19/why-tables-for-layout-are-stupid/#comments</comments>
		<pubDate>Wed, 19 Apr 2006 16:18:11 +0000</pubDate>
		<dc:creator>Chris R.</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://www.skyrocket.be/2006/04/19/why-tables-for-layout-are-stupid/</guid>
		<description><![CDATA[Today in #CSS on IRC.freenode.net found a link to this interesting propaganda article about using webstandards and semantic markup. If you need to prove someone the advantages of webstandards and everything related to it this might very well be the best page you can point him to. Clear to read and easy to understand.]]></description>
			<content:encoded><![CDATA[<p>Today in #<abbr title="Cascading Style Sheets">CSS</abbr> on <abbr title="Internet Relay Chat - like Instant Messaging for groups">IRC</abbr>.freenode.net found a link to this <a href="http://hotdesign.com/seybold/everything.html" class="extlink">interesting propaganda article about using webstandards and semantic markup</a>. If you need to prove someone the advantages of webstandards and everything related to it this might very well be the best page you can point him to. Clear to read and easy to understand.</p>]]></content:encoded>
			<wfw:commentRss>http://www.skyrocket.be/2006/04/19/why-tables-for-layout-are-stupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
