<?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>Daily Gadgets, Computer, and Electronics News &#187; design</title>
	<atom:link href="http://www.funponsel.com/blog/tag/design/feed" rel="self" type="application/rss+xml" />
	<link>http://www.funponsel.com/blog</link>
	<description>Daily Gadgets, Computer, and Electronics News</description>
	<lastBuildDate>Sun, 22 Nov 2009 07:43:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zune 3</title>
		<link>http://www.funponsel.com/blog/electronics/mp3-player-and-pmp/zune-3.html</link>
		<comments>http://www.funponsel.com/blog/electronics/mp3-player-and-pmp/zune-3.html#comments</comments>
		<pubDate>Fri, 12 Sep 2008 13:07:43 +0000</pubDate>
		<dc:creator>shiro</dc:creator>
				<category><![CDATA[MP3 Player and PMP]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[LG chocolate]]></category>
		<category><![CDATA[mp4 player]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=6357</guid>
		<description><![CDATA[
The newborn Zune 3 has cool hunting concept. This newborn Zune hit every the feature of Zune 80, with new features such as internet explorer, wifi marketplace, common sound apps, and much more feature. The New Zune 3 will be acquirable in 16 and 32 GB storage. This mp3 player phone have play/pause/and call button [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mp3magz.com/wp-content/uploads/2008/09/zune_3_concept.jpg" alt="" width="444" height="384" /><br />
The newborn Zune 3 has cool hunting concept. This newborn Zune hit every the feature of Zune 80, with new features such as internet explorer, wifi marketplace, common sound apps, and much more feature. The New Zune 3 will be acquirable in 16 and 32 GB storage. This mp3 player phone have play/pause/and call button with the huffy construct like the “LG chocolate” But wait.. this newborn Zune is only a amend construct and not free yet.</p>
<p><span id="more-6357"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/electronics/mp3-player-and-pmp/zune-3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(More) Button Maker</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/more-button-maker.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/more-button-maker.html#comments</comments>
		<pubDate>Sat, 30 Jul 2005 15:30:09 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[badge]]></category>
		<category><![CDATA[button_generator]]></category>
		<category><![CDATA[button_maker]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[generator]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/archives/2005/07/30/more-button-maker/</guid>
		<description><![CDATA[Another button maker service, this one has clearer and better interface. I used to use this service from Adam Kalsey, but might consider using that new service from BlogFlux.
Updated:
One more button maker as suggested by Scott-O-Rama. I&#8217;ve also create a screenshot of each service below, so you can compare them, and choose which one you [...]]]></description>
			<content:encoded><![CDATA[<p>Another button maker service, <a href="http://button.blogflux.com/">this one</a> has clearer and better interface. I used to use <a href="http://kalsey.com/tools/buttonmaker/">this service</a> from <a href="http://www.kalsey.com">Adam Kalsey</a>, but might consider using that new service from <a href="http://www.blogflux.com">BlogFlux</a>.</p>
<p><ins datetime="2005-07-31T09:33:01-07:00">Updated:</ins><br />
<a href="http://www.lucazappa.com/brilliantMaker/buttonImage.php">One more button maker</a> as suggested by <a href="http://www.scott-o-rama.com/">Scott-O-Rama</a>. I&#8217;ve also create a screenshot of each service below, so you can compare them, and choose which one you like. </p>
<p>From left to right: BlogFux &#8211; Kalsey- Lucazappa.</p>
<p><a href="http://www.funponsel.net/images//btnmaker_1.jpg" title="BlogFux button maker service"><img class="doBorder" style="margin:5px;" src="http://www.funponsel.net/images//_btnmaker_1.jpg" width="150" height="86" alt="BlogFux button maker service"  /></a> <a href="http://www.funponsel.net/images//btnmaker_2.jpg" title="Kalsey button maker service"><img class="doBorder" style="margin:5px;" src="http://www.funponsel.net/images//_btnmaker_2.jpg" width="150" height="86" alt="Kalsey button maker service"  /></a> <a href="http://www.funponsel.net/images//btnmaker_3.jpg" title="Lucazappa button maker service"><img class="doBorder" style="margin:5px;" src="http://www.funponsel.net/images//_btnmaker_3.jpg" width="150" height="86" alt="Lucazappa button maker service"  /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/more-button-maker.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating FireFox-styled Status Line with CSS</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/creating-firefox-styled-status-line-with-css.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/creating-firefox-styled-status-line-with-css.html#comments</comments>
		<pubDate>Wed, 01 Jun 2005 00:37:17 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=198</guid>
		<description><![CDATA[If you&#8217;re using FireFox, sometimes you&#8217;ll see a status message on the top of your currently opened page. That&#8217;s the status line. It contains important message related to the current browsing progress, for example, when a certain plugins is required and you don&#8217;t have it installed, or when a pop-up window is blocked automatically, or [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using <a href="http://www.mozilla.org/products/firefox/">FireFox</a>, sometimes you&#8217;ll see a status message on the top of your currently opened page. That&#8217;s the status line. It contains important message related to the current browsing progress, for example, when a certain plugins is required and you don&#8217;t have it installed, or when a pop-up window is blocked automatically, or when the page trying to install something. In the right part of the status line, there&#8217;s a close button image, and when you click on it, the status line is gone. Cool, isn&#8217;t it? Now, let&#8217;s try to create the same status line effect in our website using CSS and JavaScript DOM.<br />
<span id="more-198"></span></p>
<ol>
<li>First off, add the following CSS code inside your document HEAD section (between &lt;HEAD&gt; and &lt;/HEAD&gt; tag)<br />
[css]<br />
<style type="text/css">
<p>	body {
		margin: 0;
		padding: 35px 5px 5px 5px;
	}</p>
<p>	.statusLine {
		padding: 5px 5px 5px 15px;
		background-color: #ccc;</p>
<p>		margin: 0;
		border-bottom:1px solid #333333;
		width: 100%;
		left: 0px;
		top: 0px;
		position: absolute;
		font-family: sans-serif;
		font-size: 0.8em;
	}</p>
<p>	.statusImg {
		float: right;
		padding-right: 20px;
		vertical-align: middle;
		display:inline;
		cursor:pointer;
	}
</style>
<p>[/css]</li>
<li>Below the above code, add the following JavaScript (still inside the HEAD section)<br />
[js]<script language="javascript" type="text/javascript"></p>
<p>	function hideStatus() {
		document.getElementById('statusLine').style.display='none';	
		document.body.style.padding = '5px';
	}</p>
<p></script>[/js]</li>
<li>Download this image and put it on your server.<br />
<img src="http://www.funponsel.net/images//ff_close.jpg" width="16" height="17" alt="Close Button" title="Close Button" /> (right click and choose &#8220;Save As&#8221;)</li>
<li>Now we&#8217;re ready <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) If you want to display the status line, just add the following HTML code:<br />
[html]
<div id='statusLine' class="statusLine">
		<img class="statusImg" src="ff_close.jpg" onClick="hideStatus();" />Put your message here
</div>
<p>[/html]<br />
It doesn&#8217;t matter where you put these code, it will automatically shifted into the top of the page.</li>
</ol>
<p>The explanation is quite simple. We displayed the status line inside the DIV section where this DIV is positioned on the top left of the page (left: 0px and top: 0px) and full width (width: 100%). We also prepare a style-class for the close button image to float it on the right-side of the status line. With the JavaScript function, we handle the mouse click event by hiding the status line and restoring the document&#8217;s BODY padding style.</p>
<p>The sample result is below:<br />
<img src="http://www.funponsel.net/images//ff_status.jpg" width="512" height="23" alt="Our Status Line" title="Our Status Line" /></p>
<p>Have fun with CSS <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/creating-firefox-styled-status-line-with-css.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>X-Ray Effect using CSS</title>
		<link>http://www.funponsel.com/blog/funny-and-weird/x-ray-effect-using-css.html</link>
		<comments>http://www.funponsel.com/blog/funny-and-weird/x-ray-effect-using-css.html#comments</comments>
		<pubDate>Mon, 30 May 2005 14:58:36 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Funny & Weird]]></category>
		<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Funny-&-Weird]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[photoshop-x-ray]]></category>
		<category><![CDATA[Web-&-Graphic-Design]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/archives/2005/05/30/x-ray-effect-using-css/</guid>
		<description><![CDATA[Via Digg. Yet another Mozilla&#8217;s CSS magic. This one create an x-ray effect of a woman body. Still not convinced enough to throw away IE?
]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://digg.com/design/CSS_X-Ray_Effect_%7C_Firefox_Only_">Digg</a>. Yet another <a href="http://www.mozilla.org/">Mozilla</a>&#8217;s CSS magic. This one <a href="http://biocandy.dk/test.html">create an x-ray effect</a> of a woman body. Still <a href="http://browsehappy.com/">not convinced enough</a> to throw away IE?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/funny-and-weird/x-ray-effect-using-css.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Some Images</title>
		<link>http://www.funponsel.com/blog/images/some-images.html</link>
		<comments>http://www.funponsel.com/blog/images/some-images.html#comments</comments>
		<pubDate>Thu, 19 May 2005 17:25:40 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Images]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[graphic]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[picture]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=169</guid>
		<description><![CDATA[
Venice

Venice town-view drawn using MSPaint

Probably hard to believe, but the picture on the right was drawn (almost) completely using MS Paint! The artist said that it took about 500 hours to draw this Venice town view. Hmmm, about 21 days drawing. And if you even bother to ask, &#8220;Why MS Paint?&#8221; The reason is somewhat [...]]]></description>
			<content:encoded><![CDATA[<div class="card-right">
<h2 class="card-title">Venice</h2>
<p class="card-photo"><a href="http://www.deviantart.com/view/17908194/" title="Venice"><img src="http://www.funponsel.net/images//_powerdraw_by_Diamonster.jpg" width="150" height="116" alt="Venice"  /></a></p>
<p class="card-desc">Venice town-view drawn using MSPaint</p>
</div>
<p>Probably hard to believe, but the picture on the right was drawn (almost) completely using MS Paint! The artist said that it took about 500 hours to draw this Venice town view. <em>Hmmm, about 21 days drawing.</em> And if you even bother to ask, &#8220;Why MS Paint?&#8221; The reason is somewhat simple.</p>
<blockquote><p>i did&#8217;nt know how to use softwares so i used the very basic mspaint to do it</p></blockquote>
<p><span id="more-169"></span></p>
<div class="card-left">
<h2 class="card-title">The Muppets Attack</h2>
<p class="card-photo"><a href="http://www.worth1000.com/view.asp?image=35639&#038;display=photoshop" title="Star Wars Episode III: Attack of the Muppets"><img src="http://www.funponsel.net/images//_35639quga_w.jpg" width="89" height="150" alt="Star Wars Episode III: Attack of the Muppets"  /></a></p>
<p class="card-desc">Star Wars image modification using Photoshop</p>
</div>
<p>And then, this one was made using Photoshop. A good modification of Star Wars Episode II poster. The picture is one of the entry for the Photoshop skill contest from <a href="http://www.worth1000.com/">Worth1000.com</a>. You can find more interesting Star Wars image modification from their site (just click on the image), along with lots of photo and picture on their gallery section.</p>
<blockquote><p>This picture reminds me of <a href="http://muppets.go.com/">The Muppets Show</a>. I haven&#8217;t seen this TV show again for ages. Really miss them a lot <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />
</p></blockquote>
<div class="card-right">
<h2 class="card-title">Alexa</h2>
<p class="card-photo"><a href="http://www.funponsel.net/images//818.jpg" title="Alexa"><img src="http://www.funponsel.net/images//_818.jpg" width="101" height="150" alt="Alexa" /></a></p>
<p class="card-desc">Alexa, a Spanish-Egyptian beautiful teen model.</p>
</div>
<p>The last picture, of course, was not drawn using either MSPaint and Photoshop. It was a photo of Alexa, an 18-years old teen model. More information and pictures (warning: contains nudity) is available on <a href="http://blogs.porn-lovers.net/alexa-model/">her site</a>.</p>
<blockquote><p>I don&#8217;t know why I should post this <em>unrelevant</em> photo here, but the first time I saw this, I really really want to post it. So there she goes :d</p></blockquote>
<p>Your opinion please <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/images/some-images.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fading Element Effect using CSS</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/fading-element-effect-using-css.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/fading-element-effect-using-css.html#comments</comments>
		<pubDate>Thu, 19 May 2005 03:03:17 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=166</guid>
		<description><![CDATA[
In the previous CSS article, we set up a transparent element using CSS through -moz-opacity property (Mozilla&#8217;s specific) and opacity property (CSS3). Now let&#8217;s try to move another step ahead and learn how to create a cool fade in/out effect using opacity property.

We won&#8217;t use -moz-opacity property in this article since the latest version of [...]]]></description>
			<content:encoded><![CDATA[<p><script language="javascript" type="text/javascript" src="http://www.funponsel.com/blog/fade.js"></script><br />
In the <a href="http://www.funponsel.com/blog/archives/2005/05/16/transparent-element-using-css/">previous CSS article</a>, we set up a transparent element using CSS through <strong>-moz-opacity</strong> property (Mozilla&#8217;s specific) and <strong>opacity</strong> property (CSS3). Now let&#8217;s try to move another step ahead and learn how to create a cool fade in/out effect using <strong>opacity</strong> property.<br />
<span id="more-166"></span></p>
<div class="note">We won&#8217;t use <strong>-moz-opacity</strong> property in this article since the latest version of <a href="http://www.mozilla.org/products/firefox/">Firefox</a> (v1.0.4) seems already support <strong>opacity</strong> property, just like <a href="http://www.mozilla.org/">Mozila</a>. So only <strong>opacity</strong> property will be used.</div>
<p>To create a fading effect, we will need a little help from JavaScript. We&#8217;ll use JS&#8217; <strong>setTimeout() </strong>function and <strong>clearTimeout()</strong> function to perform the fade animation. All we need to do, in each &#8216;<em>animation</em>&#8216; sequence, we either increase (<em>fade-in</em>) or decrease (<em>fade-out</em>) the element&#8217;s (image) opacity value until we hit 1 (<em>fade-in</em>) or 0 (<em>fade-out</em>). Each animation is processed through fadeIn() and fadeOut() function (source code below), and the <strong>setTimeout()</strong> function is used to set when the next fadeIn/fadeOut function will be called. So when those functions is called multiple times sequently, we&#8217;ll obtain the fading effect.</p>
<p>Before we get to the source code, let&#8217;s see how the effect will looks like:</p>
<p><strong>Fade Out</strong></p>
<div style="border:1px solid #000;width:48px;height:48px;">
<div id="gambarOut" style="background:transparent url(http://www.funponsel.net/images/naruto01.jpg) no-repeat;width:48px;height:48px;-moz-opacity:1;opacity:1;text-align:center;" onmouseover="fadeOut('gambarOut',10,50);" onmouseout="clearTimeout(fadeOutObj);this.style.opacity=1;">&nbsp;</div>
</div>
<p><strong>Fade In</strong></p>
<div style="border:1px solid #000;width:48px;height:48px;">
<div id="gambarIn" style="background:transparent url(http://www.funponsel.net/images/naruto01.jpg) no-repeat;width:48px;height:48px;-moz-opacity:0;opacity:0;text-align:center;" onmouseover="fadeIn('gambarIn',10,50);" onmouseout="clearTimeout(fadeInObj);this.style.opacity=0;">&nbsp;</div>
</div>
<p>Move your mouse over the box and the fade effect will begin. To stop or to restore the box to its original condition, mouse your omouse away from the box.</p>
<p>Here&#8217;s the source code for the JavaScript portion (copy-paste and save it as <strong>fade.js</strong>)</p>
<p>[js]var fadeInObj = null;<br />
var fadeOutObj = null;</p>
<p>function fadeIn(obyek,step,delay) {<br />
	clearTimeout(fadeOutObj);<br />
	var opacity = document.getElementById(obyek).style.opacity;<br />
	opacity = opacity * 100;<br />
	opacity = opacity + step;<br />
	if (opacity > 100) {<br />
		opacity = 100;<br />
	}<br />
	document.getElementById(obyek).style.opacity = opacity / 100;<br />
	if (opacity < 100) {<br />
		fadeInObj = setTimeout('fadeIn("' + obyek + '",' + step + ',' + delay + ');',delay);<br />
	} else {<br />
		clearTimeout(fadeInObj);<br />
	}<br />
}</p>
<p>function fadeOut(obyek,step,delay) {<br />
	clearTimeout(fadeInObj);<br />
	var opacity = document.getElementById(obyek).style.opacity;<br />
	opacity = opacity * 100;<br />
	opacity = opacity - step;<br />
	if (opacity < 0) {<br />
		opacity = 0;<br />
	}<br />
	document.getElementById(obyek).style.opacity = opacity / 100;<br />
	if (opacity > 0) {<br />
		fadeOutObj = setTimeout(&#8217;fadeOut(&#8221;&#8216; + obyek + &#8216;&#8221;,&#8217; + step + &#8216;,&#8217; + delay + &#8216;);&#8217;,delay);<br />
	} else {<br />
		clearTimeout(fadeOutObj);<br />
	}<br />
}[/js]</p>
<p>and this is the HTML portion for the sample above:<br />
[html]<script language="javascript" type="text/javascript" src="http://www.funponsel.com/blog/fade.js"></script></p>
<div style="border:1px solid #000; width:48px; height:48px; ">
<div id="gambarOut" style="background:transparent url(http://www.funponsel.net/images/naruto01.jpg) no-repeat; width:48px; height:48px; -moz-opacity:1; opacity:1; text-align:center; " onmouseover="fadeOut('gambarOut',10,50); " onmouseout="clearTimeout(fadeOutObj); this.style.opacity=1; ">&nbsp; </div>
</div>
<div style="border:1px solid #000; width:48px; height:48px; ">
<div id="gambarIn" style="background:transparent url(http://www.funponsel.net/images/naruto01.jpg) no-repeat; width:48px; height:48px; -moz-opacity:0; opacity:0; text-align:center; " onmouseover="fadeIn('gambarIn',10,50); " onmouseout="clearTimeout(fadeInObj); this.style.opacity=0; ">&nbsp; </div>
</div>
<p>[/html]</p>
<div class="note">To stop the animation, we call the JS&#8217; <strong>clearTimeout()</strong> function. However, this function need to know which timeout object should be stop. So we declare the object everytime we call the <strong>setTimeout()</strong> function, and then pass this object as parameter for the <strong>clearTimeout()</strong> function (<em>fadeInObj</em> is the object for fade-in effect and <em>fadeOutObj</em> is for the fade-out).</div>
<p>Have fun! :d</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/fading-element-effect-using-css.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Transparent Element using CSS</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/transparent-element-using-css.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/transparent-element-using-css.html#comments</comments>
		<pubDate>Mon, 16 May 2005 07:22:57 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=158</guid>
		<description><![CDATA[Let&#8217;s play with Mozilla&#8217;s CSS again. Now we&#8217;ll try to make a cool transparent element with -moz-opacity property. This property is also available in CSS3 specification with the name opacity. Using this property, you can control how solid your element is. The value is ranged from 0 (full-transparent) to 1 (solid). So, 0.5 value means [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s play with Mozilla&#8217;s CSS again. Now we&#8217;ll try to make a cool transparent element with <strong>-moz-opacity</strong> property. This property is also available in CSS3 specification with the name <strong>opacity</strong>. Using this property, you can control how solid your element is. The value is ranged from 0 (full-transparent) to 1 (solid). So, 0.5 value means the element is 50% transparent.<br />
<span id="more-158"></span><br />
Watch the sample below:</p>
<div style="background-color:black;width:100px;height:100px;border:1px solid #000;margin:0 5px 10px 0;padding:0;float:left;display:block;">
<div style="background-color:red;width:50px;height:50px;border:0;margin:0;padding:0;-moz-opacity:0.25;opacity:0.25;float:left;text-align:center;vertical-align:middle;color:white;">1</div>
<div style="background-color:red;width:50px;height:50px;border:0;margin:0;padding:0;-moz-opacity:0.5;opacity:0.5;float:left;text-align:center;vertical-align:middle;color:white;">2</div>
<div style="background-color:red;width:50px;height:50px;border:0;margin:0;padding:0;-moz-opacity:0.75;opacity:0.75;float:left;text-align:center;vertical-align:middle;color:white;">3</div>
<div style="background-color:red;width:50px;height:50px;border:0;margin:0;padding:0;-moz-opacity:1;opacity:1;float:left;text-align:center;vertical-align:middle;color:white;">4</div>
</div>
<p>All of the 4 boxes actually have the same color, <span style="color:red;">red</span>. What make each looks different is the -moz-opacity setting. Box #1 has 25% opacity (0.25), box #2 has 50% opacity (0.5), box #3 has 75% opacity (0.75), and the last box #4 has 100% opacity (1). <br style="clear:both;"/></p>
<p>Here&#8217;s the code:<br />
[css].bigBox {<br />
	background-color: black;<br />
	width: 100px;<br />
	height: 100px;<br />
	border: 1px solid #000;<br />
	margin: 0 5px 10px 0;<br />
	padding: 0;<br />
	float: left;<br />
	display: block;<br />
}</p>
<p>.box1, .box2, .box3, .box4 {<br />
	background-color: red;<br />
	width: 50px;<br />
	height: 50px;<br />
	border: 0;<br />
	margin: 0;<br />
	padding: 0;<br />
	float: left;<br />
	text-align: center;<br />
	color: white;<br />
}</p>
<p>.box1 {<br />
	-moz-opacity: 0.25;<br />
	opacity: 0.25;<br />
}</p>
<p>.box2 {<br />
	-moz-opacity: 0.5;<br />
	opacity: 0.5;<br />
}</p>
<p>.box3 {<br />
	-moz-opacity: 0.75;<br />
	opacity: 0.75;<br />
}</p>
<p>.box4 {<br />
	-moz-opacity: 1;<br />
	opacity: 1;<br />
}[/css]</p>
<p></p>
<p>[html]
<div class="bigBox">
<div class="box1">1</div>
<div class="box2">2</div>
<div class="box3">3</div>
<div class="box4">4</div>
</div>
<p>[/html]</p>
<p>Try to combine this with element who has background image and you&#8217;ll surely get a nice effect. Hover will look good too. I already implement this in my comment list element. If you want to see it, just find any post in my blog that has lot of comments, and check out the comment box <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<div class="note">Don&#8217;t forget. This is Mozilla/Firefox spesific CSS. Sorry to IE users &#8211; get FireFox please <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</div>
<p>Good luck :d</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/transparent-element-using-css.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use CSS to Change Highlighted Text Style</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/use-css-to-change-highlighted-text-style.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/use-css-to-change-highlighted-text-style.html#comments</comments>
		<pubDate>Sat, 14 May 2005 13:13:09 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=148</guid>
		<description><![CDATA[There are several interesting style on Mozilla&#8217;s specific CSS. One of the most interesting trick is changing the style of the text when user highlighted the text using -moz-selection property. Look below:
[css]::-moz-selection{
       background-color: #ff0000;
       color: #fff;
}[/css]
now when user selected or highlighted any text, [...]]]></description>
			<content:encoded><![CDATA[<p>There are several interesting style on <a href="http://www.mozilla.org">Mozilla</a>&#8217;s specific <a href="http://www.w3.org/Style/CSS/">CSS</a>. One of the most interesting trick is changing the style of the text when user highlighted the text using <strong>-moz-selection</strong> property. Look below:</p>
<p>[css]::-moz-selection{<br />
       background-color: #ff0000;<br />
       color: #fff;<br />
}[/css]</p>
<p>now when user selected or highlighted any text, the background color will change to red (#ff0000) and the text color is white (#fff). I used that style on this site so simply highlighted any text here and see the result <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<div class="note">Don&#8217;t forget that this is Mozilla&#8217;s specific CSS, so it won&#8217;t work on Internet Explorer. I hope this property will be included on CSS3 specification draft so more browser will support it.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/use-css-to-change-highlighted-text-style.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS Reboot result</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/css-reboot-result.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/css-reboot-result.html#comments</comments>
		<pubDate>Wed, 04 May 2005 04:18:35 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/archives/2005/05/04/css-reboot-result/</guid>
		<description><![CDATA[Check the result of the CSS Reboot. Many many interesting design outthere.
]]></description>
			<content:encoded><![CDATA[<p>Check the result of the <a href="http://www.cssreboot.com/">CSS Reboot</a>. Many many interesting design outthere.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/css-reboot-result.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using CSS to Setup Different Style for External Link</title>
		<link>http://www.funponsel.com/blog/web-and-graphic-design/using-css-to-setup-different-style-for-external-link.html</link>
		<comments>http://www.funponsel.com/blog/web-and-graphic-design/using-css-to-setup-different-style-for-external-link.html#comments</comments>
		<pubDate>Sat, 30 Apr 2005 00:06:10 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[Web & Graphic Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/archives/2005/04/30/using-css-to-setup-different-style-for-external-link/</guid>
		<description><![CDATA[Just learn something cool this morning, how to set up a different style for external link on your site using CSS. I already use it on this site. Just take a look around. All links to external site now have an arrow character after the links, cool isn&#8217;t it? :d

Here&#8217;s how my CSS set up:
[css]a[href^="http"] [...]]]></description>
			<content:encoded><![CDATA[<p>Just learn something cool this morning, how to set up a different style for external link on your site using CSS. I already use it on this site. Just take a look around. All links to external site now have an arrow character after the links, cool isn&#8217;t it? :d<br />
<span id="more-95"></span><br />
Here&#8217;s how my CSS set up:</p>
<p>[css]a[href^="http"] {<br />
	color: #E58712;<br />
}</p>
<p>a[href^="http"]:visited {<br />
	color: #E58712;<br />
}</p>
<p>a[href^="http"]:hover,<br />
a[href^="http"]:active {<br />
	color: #9BBB38;<br />
}</p>
<p>a[href^="http"]:after {<br />
	color: #E58712;<br />
	content: &#8220;\21D7&#8243;;<br />
}</p>
<p>a[href^="http://funponsel.com"]:after,<br />
a[href^="http://www.funponsel.com"]:after {<br />
	content: &#8220;&#8221;;<br />
}[/css]</p>
<p>The first 3 styles defined the normal behaviour of our link style (both internal and external):</p>
<p>[css]a[href^="http"] {<br />
	color: #E58712;<br />
}</p>
<p>a[href^="http"]:visited {<br />
	color: #E58712;<br />
}</p>
<p>a[href^="http"]:hover,<br />
a[href^="http"]:active {<br />
	color: #9BBB38;<br />
}</p>
<p>I then add the arrow using CSS3 unicode support. Look below:</p>
<p>[css]a[href^="http"]:after {<br />
	color: #E58712;<br />
	content: &#8220;\21D7&#8243;;<br />
}[/css]</p>
<p>Above style will look at any <code><a href></a></code> tag which started with &#8220;<em>http</em>&#8220;. The CSS selector &#8220;<em>after</em>&#8221; adds the unicode content with the specified color. Now, by defining this site&#8217;s domain using <code>href^=http://funponsel.com</code> and <code>href^=http://funponsel.com.com</code> on the last 2 styles, both will override the default link style.</p>
<p>[css]a[href^="http://funponsel.com"]:after,<br />
a[href^="http://www.funponsel.com"]:after {<br />
	content: &#8220;&#8221;;<br />
}[/css]</p>
<p>In here, since I don&#8217;t want to show the arrow on internal link, I just set an empty content attribute.</p>
<p>Of course, you can also set up more different styles for different link. For example, to catch any link to Wikipedia:</p>
<p>[css]a[href^="http://en.wikipedia.org/wiki/"]:after,<br />
a[href^="http://www.wikipedia.org/wiki/"]:after {</p>
<p>}[/css]</p>
<p>or for email link:</p>
<p>[css]a[href^="mailto:"]:after {</p>
<p>}[/css]</p>
<p>Have fun! <img src='http://www.funponsel.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><ins datetime="2005-05-01T06:51:50-07:00">Since I changed my CSS a bit, you can see the picture below for the result of the style I wrote above.</ins></p>
<p><img src="http://www.funponsel.net/images//css1.jpg" width="265" height="87" alt="Sample Snapshot" title="Sample Snapshot" style="border:1px solid #ccc;margin:0;margin-right:5px;padding:0;float:left;" /><ins datetime="2005-05-01T06:51:50-07:00">Category links on the first line are an internal links, so they don&#8217;t have an arrow beside them. While the other links below are external, they have an arrow beside them.</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/web-and-graphic-design/using-css-to-setup-different-style-for-external-link.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
