<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mihai Stancu, written down...</title>
	<atom:link href="http://mihaistancu.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mihaistancu.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 09 Apr 2010 23:28:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mihaistancu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6d124097feadd440369ea3a60d13b05d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Mihai Stancu, written down...</title>
		<link>http://mihaistancu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mihaistancu.wordpress.com/osd.xml" title="Mihai Stancu, written down..." />
	<atom:link rel='hub' href='http://mihaistancu.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The story of my transition to Ubuntu Linux</title>
		<link>http://mihaistancu.wordpress.com/2010/02/22/the-story-of-my-transition-to-ubuntu-linux/</link>
		<comments>http://mihaistancu.wordpress.com/2010/02/22/the-story-of-my-transition-to-ubuntu-linux/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 00:23:12 +0000</pubDate>
		<dc:creator>Mihai Stancu</dc:creator>
				<category><![CDATA[*NIX flavours]]></category>

		<guid isPermaLink="false">http://mihaistancu.wordpress.com/?p=58</guid>
		<description><![CDATA[When i first installed Ubuntu 8.10 without any Windows safety net to back me up i had a few problems: GSM USB modem drivers i couldn&#8217;t see any WPA encrypted wireless networks there was no wireless network detection tool so i couldn&#8217;t understand how to &#8220;scan for wireless networks&#8221; (as the windows equivalent would have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mihaistancu.wordpress.com&amp;blog=4393129&amp;post=58&amp;subd=mihaistancu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">When i first installed Ubuntu 8.10 without any Windows safety net to back me up i had a few problems:</span></span></span></p>
<ul>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">GSM USB modem 	drivers</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">i couldn&#8217;t see 	any WPA encrypted wireless networks</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">there was no 	wireless network detection tool so i couldn&#8217;t understand how to 	&#8220;scan for wireless networks&#8221; (as the windows equivalent 	would have sounded)</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">open office 	vs. ms office (open office 2.6 could not open &#8220;docx&#8221; 	files) discrepancies</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">gimp vs. 	photoshop discrepancies</span></span></span></li>
</ul>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">At the moment i was not in that point where i would allow myself to understand that the same problem can be successfully approached from many angles, i was expecting that if a problem had a solution  (be it present on my computer or not yet installed) it would have the same approach as it&#8217;s windows counterpart.</span></span></span></p>
<p></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;"><span id="more-58"></span></span></span></span></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">I lasted 4-5 months with those problems and frustration built up at moments when i could not use the internet in a WPA enabled hot-spot (at my girlfriends house for example) add to that the fact that my girlfriend needed SPSS on Windows and i needed Photoshop i finally installed windows.</span></span></span></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">Ubuntu 9.10 solved the following issues for me:</span></span></span></p>
<ul>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">ICON225 GSM USB 	modem (from Orange Romania) is automatically recognized 	(on windows you have to wait for the modem to install its own 	driver, Ubuntu has it pre-installed with no help from the 	manufacturers), K3520 GSM USB modem (from Vodafone Romania) needs a 	little nudge (the driver is pre-installed, you just have to hit 	&#8220;safely remove&#8221; for the attached memory-disk).</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">WPA encrypted 	wireless networks are automatically visible no additional 	software needed (2 days before Ubuntu 9.10 was released i took the 	time to find out how to make Ubuntu 8.10 read WPA encrypted 	wireless networks and it was pretty simple really just installing 	&#8220;wpa_supplicant&#8221;, better late than never huh?)</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">I got the 	point regarding wireless network detection tools there are some 	if you really can&#8217;t detach yourself from that concept but the 	standard Ubuntu approach is just plain different and there&#8217;s nothing 	wrong with that. More specifficaly, any action you take under GNOME 	refreshes the environment automatically, you don&#8217;t have to hit 	refresh manually, by analogy, the network manager tool GNOME 	provides doesn&#8217;t need a big old manual &#8220;SCAN FOR WIRELESS 	NETWORKS&#8221; button, it scans constantly and keeps the list up to 	date the selection menu can even show the connecting-to-this-network 	animation which means it can even show an intermediate status of 	your connection.</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">open office 	3.0 now knows how to open docx file (it still ruins complex visual 	formatting but when i need ms office i use a virtual machine install 	of windows)</span></span></span></li>
<li><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">photoshop i 	just haven&#8217;t needed it that much (and when i did i use a 	virtual machine install of windows)</span></span></span></li>
</ul>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">I now tried an USB-Bluetooth-Receiver and it instantly worked, i then tried an USB-Wireless-Receiver and it instantly worked; both items on windows would have needed an install disk with the driver plus some control software, on Ubuntu it&#8217;s pre-installed, integrated, and native (i conected to my phone via bluetooth and it got mounted as a network drive that you can acces with Nautilus the default GNOME filesystem explorer).</span></span></span></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">On the other hand my cousin recently installed Ubuntu 9.10 on his laptop (which does not have a wireless card), we tested the internet connection at my place and configured some stuff he went back home.</span></span></span></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">Unfortunately he was at his first attempt at using linux and he clearly didn&#8217;t have &#8220;that frame of mind&#8221; that allows you to accept 1) working for a necessary solution (that windows already solves)  2) to accept the fact that a problem can be approached differently, the look-n-feel may seam to be the same but the work-flow and order of operations needed to fulfill a task can be entirely different. His breaking point was configuring his home internet which used PPPoE (from his ISP, RDS Romania) so he bleached the Ubuntu install after just a few days. I found out that the problem was a known (and solved) bug in the network-manager.</span></span></span></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;"><br />
</span></span></span></p>
<p><span style="color:#000000;"><span style="font-family:arial;"><span style="font-size:small;">So, why did i write this shit? Basically because i tested the USB-Bluetooth-Receiver and the USB-Wireless-Receiver and the friggin worked!</span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mihaistancu.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mihaistancu.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mihaistancu.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mihaistancu.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mihaistancu.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mihaistancu.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mihaistancu.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mihaistancu.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mihaistancu.wordpress.com&amp;blog=4393129&amp;post=58&amp;subd=mihaistancu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mihaistancu.wordpress.com/2010/02/22/the-story-of-my-transition-to-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c75619208d2bed137638967589055ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Mihai Stancu</media:title>
		</media:content>
	</item>
		<item>
		<title>Inconstienta rutiera</title>
		<link>http://mihaistancu.wordpress.com/2009/08/31/inconstienta-rutiera/</link>
		<comments>http://mihaistancu.wordpress.com/2009/08/31/inconstienta-rutiera/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 16:18:15 +0000</pubDate>
		<dc:creator>Mihai Stancu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mihaistancu.wordpress.com/?p=49</guid>
		<description><![CDATA[Video: Realitatea.NET // Şmecher de România: Un şofer a circulat pe contrasens pe autostrada Bucureşti-Piteşti Un cretin in mod constient si deliberat, a circulat pe contrasensul autostrazi A1. Nimic deosebit, probabil ca am vazut si chestiuni mai rele, doar ca la un moment dat ti se umple paharul. Omul normal indignat isi va spune: &#8220;Selectia [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mihaistancu.wordpress.com&amp;blog=4393129&amp;post=49&amp;subd=mihaistancu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="Video: Realitatea.NET // Şmecher de România: Un şofer a circulat pe contrasens pe autostrada Bucureşti-Piteşti" href="http://www.realitatea.net/video_941697_smecher-de-romania--un-sofer-a-circulat-pe-contrasens-pe-autostrada-bucuresti-pitesti_603162.html" target="_blank">Video: Realitatea.NET // Şmecher de România: Un şofer a circulat pe contrasens pe autostrada Bucureşti-Piteşti</a></p>
<p>Un cretin in mod constient si deliberat, a circulat pe contrasensul autostrazi A1.</p>
<p>Nimic deosebit, probabil ca am vazut si chestiuni mai rele, doar ca la un moment dat ti se umple paharul.</p>
<p>Omul normal indignat isi va spune: &#8220;Selectia naturala ne va scapa intr-un tarziu de acel neg al societatii&#8221;.</p>
<p>Crud este ca cel mai probabil nu va pleca singur catre luma ailalta, va lua cel putin pasagerii lui daca nu mai mult.</p>
<p><span id="more-49"></span></p>
<h2>Drepturi stangace</h2>
<p>Neajunsurile prostiei si nesimtirii, sunt tot mai mult imbratisate ca diversitate culturala, si protejate de egalitatea drepturilor si de politicile sociale (sincer sa fiu nu-mi place gandul ca procent din salariul meu ii va plati si cretinului ala pensia, daca nu il ia dumnezeu cu el mai devreme).</p>
<p>Drepturile omului spun ca omul bun este egal cu omul rau din principiu, iar destinul si-l scrie fiecare, pe merite si pe eforturile sale. Uitam totusi ca meritocratia in societatea noastra e departe de a face valuri. Virtutea nu este insuflata si stimulata, dimpotriva este ridiculizata si infranta la fiecare colt.</p>
<p>Educatia este pur si simplu o gluma, si fara educatie nu e de mirare ca meritocratia si virtutea sunt luxuri pe care si le permit doar cei ce au acces la ele de altundeva.</p>
<p>Ajungem astfel la concluzia ca nu toti oamenii rai sunt rai, dar ca intr-o societate in care nu e necesar sa muncesti ca sa obtii ce vrei, e usor sa te complaci in nesimtirea, ignoranta si inconstienta ta.</p>
<p>Cand aspiratia ta cea mai adanca este sa faci cel mai tampit lucru de pe youtube, e logic ca nu traiesti pentru a-ti vedea nepotii corespondenti academici la Sorbona.</p>
<h2>Consecinte</h2>
<p>Daca un sistem educational nu poate educa cum se cuvine generatiile viitoare, iar generatiile deja trecute de acel moment nu au fost educate corect, cum ar putea un stat sa tina sub control situatia?</p>
<p>Cand situatia scapa de sub control blandetea, politetea, amabilitatea si politicile sociale n-au ce cauta!</p>
<p>Marirea punctului de amenda de la 15% din salariul minim pe economie la vreo 175% din salariul minim pe economie. Ar fi o chestie nu credeti? Un pas micut intr-o directie singulara, siguranta rutiera. Dar cred ca e important, sa-ti fie frica s-o calci ca te-ar si ustura chiar daca ai un BMW.</p>
<p>Marirea sentintei pentru omor prin imprudenta (nu involuntar, imprudent!) de la 8 ani la 25 de ani?</p>
<p>Marirea sentintei pentru omor calificat de la 25 de ani la 80 de ani (+).</p>
<p>Marirea sentintei pentru escrocherii si fraude de la 8-12 de ani la 30 de ani.</p>
<p>Reinstaurarea pedepsei cu moarta? Ca principiu nu sunt deacord, ca efect ar fi o gura de aer in plamanii umanitatii toata lumea stie ca viteza medie a unei turme de bizoni este data de viteza celui mai lent bizon din turma. Analog putem spune ca nivelul de prostie/coruptie/nesimtire/inconstienta este dat de cel mai inconstient individ aflat in viata/libertate. Ca sa nu mai spunem de ridicarea mediei de IQ a omenirii.</p>
<p>Instaurarea votului censitar? O suma cvasimodica, astfel incat la vot ajung doar cei care se preocupa de treaba asta, cei care fac un mic efort pentru libertatea lor. Ca daca libertatea e moca, si marfa de pe raft in magazin trebuie sa fie tot moca, si placerile vietii tot moca, iei de unde vrei pentru ca esti liber sa faci ce vrei.</p>
<p>Ok exagerez cu pedeapsa cu moartea si votul censitar, dar adevarul este ca sistemele de guvernamant de toate tipurile au esuat datorita inadaptarii la coruptibilitatea umana, fie din cauza puterii fie din cauza mizeriei, orice extrema duce la coruptie, pana si traiul bun fara mult efort duce la coruptia ignorantei a nesimtirii si a complacerii de sine.</p>
<p>Si-atunci nu ar trebuii sa luam in calcul toate posibilitatile de imbunatatire/inasprire a sistemului? Chiar si pe cele absurde?</p>
<p>O propunere considerata absurda si neluata in calcul din cauza principiilor care provoaca problema, formeaza un cerc vicios.</p>
<p>Pentru mine este clar ca nu as condamna un om la moarte&#8230; dar tare mi-ar placea sa dorm noaptea stiind ca daca cineva intra in casa peste mine, pot sa-l omor. Si ca incet in timp se subtiaza randurile nesimtimii.</p>
<p>As vrea sa stiu ca oamenii care nelegiuiesc stau pe ganduri serios inainte sa faca ce vor sa faca. Si de-ar fi s-un babau in dulap precum scaunul electric, as fi chiar linistit.</p>
<h2>Şi alte utopii</h2>
<p>Poate ca solutia mai buna este izolarea&#8230; grupuri umane bazate pe exilarea oricarui nelegiuitor.</p>
<p>Daca stau bine sa ma gandesc cand te nasti n-ai de ales cu privire la legile locului, iar puterea celor 1% din populatie care-si doresc ca omorul sa fie legal este insignifianta. Asa ca normal ar fi sa aleaga sa isi petreaca zilele intr-o societate unde omorul este legal, nu o inchisoare, nu pe banii nostrii, nu intretinuti, solo.</p>
<p>Cel ce nu este deacord cu legile unei tari ar trebuii sa aibe de ales daca sa le respecte sau sa plece&#8230; nu sa le respecte sau puscarie, vrei legile locului hai cu noi, vrei alte legi, mai da un tur de imprejurimi satu de criminali e dincolo de dealurile alea!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mihaistancu.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mihaistancu.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mihaistancu.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mihaistancu.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mihaistancu.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mihaistancu.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mihaistancu.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mihaistancu.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mihaistancu.wordpress.com&amp;blog=4393129&amp;post=49&amp;subd=mihaistancu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mihaistancu.wordpress.com/2009/08/31/inconstienta-rutiera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c75619208d2bed137638967589055ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Mihai Stancu</media:title>
		</media:content>
	</item>
		<item>
		<title>Cross Browser Transparent Background with jQuery, no css hacks, no *.png files</title>
		<link>http://mihaistancu.wordpress.com/2008/08/02/cross-browser-transparent-background-with-jquery-no-css-hacks-no-png-files/</link>
		<comments>http://mihaistancu.wordpress.com/2008/08/02/cross-browser-transparent-background-with-jquery-no-css-hacks-no-png-files/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 05:15:21 +0000</pubDate>
		<dc:creator>Mihai Stancu</dc:creator>
				<category><![CDATA[WebFoundry]]></category>
		<category><![CDATA[cross browser alfa transparency]]></category>
		<category><![CDATA[cross browser background transparency]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery Plugin]]></category>
		<category><![CDATA[no *.png files]]></category>
		<category><![CDATA[no CSS hacks]]></category>

		<guid isPermaLink="false">http://mihaistancu.wordpress.com/?p=5</guid>
		<description><![CDATA[download these two files and save them in the same folder as your index.html:
http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js
http://design-forge.ro/downloads/transBG.jquery.plugin.js

write this into the  of your website:



$(document).ready(function()
{
$("#id1").transparentbackground(); // default: black 40% opacity
$("#id2").transparentbackground({background: '#ff00ff'}); // this is purple 40% opacity
$("#id3").transparentbackground({background: '#00ff00', opacity: '0.6'}); // this is green 60% opacity
$("#id3").transparentbackground({background: 'url('image.gif')', opacity: '0.6'});
// selected picture at 60% opacity
});
// obviously you sould replace #id1 #id2 and #id3 with the ids you
//have used for the object that is supposed to have a transparent background
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mihaistancu.wordpress.com&amp;blog=4393129&amp;post=5&amp;subd=mihaistancu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Here’s the recipy, follow the first 4 steps if you don’t know JavaScript. If you do, you should read on to the finish, it may save you some grief later.</strong></p>
<p><strong>1st. </strong>download these two files and save them in the same folder as your index.html:<br />
<strong> * </strong><a href="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js">http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js</a><br />
<strong> * </strong><a href="http://design-forge.ro/downloads/transBG.jquery.plugin.js">http://design-forge.ro/downloads/transBG.jquery.plugin.js</a></p>
<p><strong>2nd. </strong>write these lines into the &lt;head&gt; of your website<br />
<strong> * </strong>&lt;script type=&#8221;text/JavaScript&#8221; src=&#8221;jquery-1.2.6.min.js&#8221;&gt;&lt;/script&gt;<br />
<strong> * </strong>&lt;script type=&#8221;text/JavaScript&#8221; src=&#8221;transBG.jquery.plugin.js&#8221;&gt;&lt;/script&gt;</p>
<p><span id="more-5"></span><br />
<strong>3rd. </strong>decide what CSS selectors to use. jQuery uses CSS selectors to ”grab” the object(s) you need.<br />
<strong> * </strong>I may want to apply the background to a speciffic object reffered to by ID and the CSS selector necesary to find that object will be ”#id”<br />
<strong> * </strong>I may want to apply the background to a speciffic type of objects reffered to by TAGNAME and the CSS selector necesary to find that array of objects will be ”div”<br />
<strong> * </strong>I may want to apply the background to a speciffic class of objects reffered to by CLASS and the CSS selector necesary to find that array of objects will be ”.classname”<br />
<strong> * </strong>jQuery accepts even complex CSS selectors, and also has extra pseudo-clases that CSS does not have, in case you know your CSS well.</p>
<p><strong>4th. </strong>write the JavaScript commands in the &lt;head&gt; section, bellow the other &lt;script&gt; tags</p>
<p><code>&lt;script type="text/JavaScript"&gt;</code></p>
<p><code>$(document).ready(function()</code></p>
<p><code>{<br />
$(”#id”).transBGdraw();<br />
$(”#menu”).transBGdraw();<br />
$(”#container”).transBGdraw();</code></p>
<p><code>// !!!IMPORTANT!!!<br />
// if you use tagnames<br />
// or classes, make sure<br />
// every object affected<br />
// has a unique id.<br />
$(”div”).each(function()<br />
{ $(this).transBGdraw(); });</code></p>
<p><code>$(”h6”).each(function()<br />
{ $(this).transBGdraw(); });</code></p>
<p><code>$(”.class1”).each(function()<br />
{ $(this).transBGdraw(); });</code></p>
<p><code>$(”.text”).each(function()<br />
{ $(this).transBGdraw(); });</code></p>
<p><code>$(”.information”).each(function()<br />
{ $(this).transBGdraw(); });</code></p>
<p><code>});</code></p>
<p><code>&lt;/script&gt;</code></p>
<p><strong>5th. </strong>All the elements that get a transparent background are included in the class ”.transBG” so if you insert data into your page via AJAX you will need to call $(”.transBG”).each(function() {$(this).transBGredraw();}); to redraw every one of the objects that have a transparent backround, or you could call the redraw function only for the elements that the AJAX affects.</p>
<p><strong>6th. </strong>You can modiffy the CSS of the transparent background by calling the method transBGdraw() with an argument like this $(”#myobject”).transBGdraw({’z-index’:’5’, ’background-color’:’#f00’, ’opacity’:’0.20’}); or by adding settings to your CSS for the element that has the id=”myobjectTransBG”.<br />
<strong><br />
7th. </strong>The transparent background effect is created by adding an object behind the data-object that needs the background. The data-object needs to have an ID so that the ID of the background object cand be set as ”initialID”+”TransBG”.<br />
<strong><br />
8th. </strong>Known issues: The transparent BG object will be correctly placed behind the desired object only if the object has natural or flowing positioning. If you position your object with absolute positioning and z-index settings you will need to match the z-index setting for the background object.</p>
<hr />For those of you looking for another solution to this problem: Another solutions make use of a fully transparent gif file, a one pixel transparent gid picture that is used to filter the transparent areas for the item in need of transparency. It works on all normal browsers except on IE6 which unfortunatly still represents some 20% of browser users world wide. To repair this dillema, the ones who created this solution used an IE6 proprietary (IE6 speciffic) css rule. Which &#8220;fixes&#8221; the fact that IE6 does not render png files as it shoud by adding an external filter that can render pngs corectly without the filter IE6 makes the png images look non transparent as if a white object was directly behind them). There are only two downsides to using this solution: having to create the semitransparent png files every time you need to discreetly alter the transparency of the object (even by 1%); and not being able to use any background-repeat properties for the object with the transparent background (a flaw of the aforementioned external filter that canot render the png images recursively inside a repeating background object&#8230; the filter is called only once). If you find this solution more usefull here&#8217;s a link torwards the &#8220;png fix&#8221; site <a href="http://homepage.ntlworld.com/bobosola/">http://homepage.ntlworld.com/bobosola/</a> all you must do is set your objects background image to a semi-transparent png file and then follow the instructions given on the png fix site.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mihaistancu.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mihaistancu.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mihaistancu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mihaistancu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mihaistancu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mihaistancu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mihaistancu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mihaistancu.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mihaistancu.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mihaistancu.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mihaistancu.wordpress.com&amp;blog=4393129&amp;post=5&amp;subd=mihaistancu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mihaistancu.wordpress.com/2008/08/02/cross-browser-transparent-background-with-jquery-no-css-hacks-no-png-files/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		<georss:point>44.433000 26.100000</georss:point>
		<geo:lat>44.433000</geo:lat>
		<geo:long>26.100000</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0c75619208d2bed137638967589055ac?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Mihai Stancu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
