<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5033847432807501594</id><updated>2012-02-26T03:49:54.687-08:00</updated><category term='metodo .css()'/><category term='Tracciato'/><category term='FAQ'/><category term='HTML5 AccessKey'/><category term='Html5 Funzioni Obsolete'/><category term='wikipedia internet 1995 world wide web'/><category term='Game'/><category term='Sicurezza HTML5'/><category term='Economics Infographic'/><category term='Geolocation with Html5'/><category term='Pagine Doorway'/><category term='sviluppatore'/><category term='traffico'/><category term='lati e diagonali'/><category term='web marketing'/><category term='Mirino'/><category term='assi'/><category term='Accessibilità web'/><category term='Web'/><category term='HTTP'/><category term='ritorno degli investimenti'/><category term='Web  Application'/><category term='Cerchi Canvas Html5'/><category term='Offline Apllication'/><category term='CERN'/><category term='HTML5 Infographic + Traduzione'/><category term='Tim Berners-Lee'/><category term='Search Engine Optimization'/><category term='cerchi con css3'/><category term='Decimal'/><category term='tutorial box shadow'/><category term='Elemento section'/><category term='statistiche'/><category term='HTML5 site'/><category term='cerchi random'/><category term='table'/><category term='indicizzazione'/><category term='Css'/><category term='jQuery'/><category term='Colori casuali HTML'/><category term='WWW'/><category term='transition'/><category term='Javascript'/><category term='francia'/><category term='Free UI'/><category term='tag section'/><category term='metodi e proprietà'/><category term='Design'/><category term='SEO Marketing'/><category term='XML'/><category term='Api HTML5'/><category term='W3C Conference'/><category term='Html5 Canvas demo'/><category term='Chrome Web Store'/><category term='World Wide Web'/><category term='Clock Time'/><category term='Visibilità'/><category term='Figure'/><category term='infoprodotto'/><category term='Css3 Box shadow'/><category term='Conferenza W3C'/><category term='Cielo stellato'/><category term='HTML'/><category term='ProcessingJs'/><category term='Free'/><category term='Menu Css3'/><category term='Css3 button'/><category term='Demo'/><category term='Attributo Placeholder'/><category term=':first-letter selector'/><category term='Twitter'/><category term='W3C'/><category term='tumblr'/><category term='It&apos;s so easy'/><category term='Cerchi css3'/><category term='Sitemap'/><category term='Standard web'/><category term='Hexadecimal'/><category term='Casuale'/><category term='HTML5 Api Canvas'/><category term='Framework'/><category term='scorciatoie da tastiera'/><category term='internet'/><category term='galleria di immagini'/><category term='Processing'/><category term='addClass'/><category term='Web Application'/><category term='Figcaption'/><category term='image'/><category term='Pagine Gateway'/><category term='crawler'/><category term='ENISA'/><category term='HTML5'/><category term='Menu'/><category term='2'/><category term='ROI'/><category term='Google Webmaster Tools'/><category term='Api'/><category term='text-shadow'/><category term='Explosive Lab Blog'/><category term='Oggetto document'/><category term='Google'/><category term='border-radius'/><category term='removeClass'/><category term='Canvas'/><category term='nerdz'/><category term='Google Chrome'/><category term='introduzione'/><category term='Example'/><category term='SEO'/><category term='function javascript'/><category term='Canvas html5'/><category term='Icon'/><category term='clock'/><category term='CSS3'/><category term='Placeholder Htm5'/><category term='Social Game'/><category term='Browser Game'/><category term='Linee'/><category term='Geolocation Api'/><category term='Web workers Api'/><category term='Free user interface'/><category term='Markup'/><category term='futuro'/><category term='Ran'/><title type='text'>Explosive Lab Blog, Html5</title><subtitle type='html'>Css3, Ajax, Canvas, Javascript, Jquery, Processing and more...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-3484039663669003999</id><published>2012-02-24T09:21:00.000-08:00</published><updated>2012-02-24T09:26:49.868-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Demo'/><category scheme='http://www.blogger.com/atom/ns#' term='ProcessingJs'/><category scheme='http://www.blogger.com/atom/ns#' term='Tracciato'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><category scheme='http://www.blogger.com/atom/ns#' term='Casuale'/><title type='text'>Tracciato casuale con Canvas e ProcessingJs</title><content type='html'>Oggi vi presento un generatore casuale di &lt;i&gt;tracciati &lt;/i&gt;creato con &lt;b&gt;ProcessingJs&lt;/b&gt;, per capire subito di cosa si tratta vi lascio il &lt;a href="http://explosivelab.altervista.org/ProcessingJs/indexx0.html" target="_blank"&gt;&lt;b&gt;link per la demo&lt;/b&gt;&lt;/a&gt;&amp;nbsp;di questo generatore casuale di tracciati e di seguito ne riporto un immagine, anzi due:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-hxo_tw6GPUM/T0e7aCUvphI/AAAAAAAAAHo/0m7FkdKvsM4/s1600/tr1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="116" src="http://2.bp.blogspot.com/-hxo_tw6GPUM/T0e7aCUvphI/AAAAAAAAAHo/0m7FkdKvsM4/s400/tr1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-HvilgJcPwBI/T0e7bQfVexI/AAAAAAAAAHw/EY3atiP4jQU/s1600/tr2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="151" src="http://3.bp.blogspot.com/-HvilgJcPwBI/T0e7bQfVexI/AAAAAAAAAHw/EY3atiP4jQU/s400/tr2.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Questo esempio è stato realizzato in &lt;b&gt;Canvas&lt;/b&gt; tramite l' aiuto di &lt;a href="http://explosivelab.blogspot.com/2012/02/demo-processingjs.html" target="_blank"&gt;ProcessingJs&lt;/a&gt;&amp;nbsp;non è nulla di particolare ma è molto interessante la semplicità del codice per generare questo esempio.&lt;br /&gt;Questo è il codice processing, la prima parte è composta dal codice base per l' inizializzazione della tela:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; void setup(){&lt;br /&gt;&amp;nbsp; size(400,400); //imposto la grandezza del canvas&lt;br /&gt;&amp;nbsp; background(0); //colore del background nero&lt;br /&gt;&amp;nbsp; fill(255); //colore background figure&lt;br /&gt;&amp;nbsp; stroke(255); //colore linee e contorni&lt;br /&gt;&amp;nbsp; frameRate(15); //velocità del framerate per s&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;In questa seconda parte invece dichiaro le variabili essenziali, quelle spaziali che ci serviranno per generare le linee e la variabile &lt;i&gt;n&lt;/i&gt;&amp;nbsp;semplice ma importante per lo svolgimento dello script.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;int x, y, x2, y2, n = 1;&lt;br /&gt;&amp;nbsp;x = 0; y = 400/2; x2 = 10; y2 = y;&lt;br /&gt;&amp;nbsp;void draw(){ //funzione ripetuta ogni tot (framerate)&lt;br /&gt;&amp;nbsp; &amp;nbsp;line(x, y, x2, y2); //disegno la linea&lt;br /&gt;&amp;nbsp; &amp;nbsp;if(n == 1) l1(); //linea casuale verticale&lt;br /&gt;&amp;nbsp; &amp;nbsp;if(n == 2) l2(); //linea casuale orizzontale&lt;br /&gt;&amp;nbsp; &amp;nbsp;if(n == 3) l3(); //linea casuale verticale&lt;br /&gt;&amp;nbsp; &amp;nbsp;if(n == 4){ l4(); n = 0;}&amp;nbsp;//linea casuale orizzontale&lt;br /&gt;&amp;nbsp; &amp;nbsp;n++;&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;Di seguito riporto le funzioni che ho creato per generare casualmente il tracciato, esse sono richiamate tramite un costrutto if dalla prima all' ultima per poi ripartire da capo sino all' infinito.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; void l1(){   x = x2; y = y2;   x2 = x2; y2 -= random(5, 50); }&lt;br /&gt; void l2(){   x = x2; y = y2;   x2 += random(5, 50);  }&lt;br /&gt; void l3(){   x = x2; y = y2;   y2 += random(5, 50); }&lt;br /&gt; void l4(){   x = x2; y = y2;   x2 += random(5, 50); }&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-3484039663669003999?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/3484039663669003999/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/tracciato-casuale-con-canvas-e.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3484039663669003999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3484039663669003999'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/tracciato-casuale-con-canvas-e.html' title='Tracciato casuale con Canvas e ProcessingJs'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-hxo_tw6GPUM/T0e7aCUvphI/AAAAAAAAAHo/0m7FkdKvsM4/s72-c/tr1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-7390842928015657312</id><published>2012-02-23T01:59:00.000-08:00</published><updated>2012-02-23T02:01:30.604-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Api'/><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Introduzione alle Api Twitter</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Eeko_U3qhCM/T0YLFLhs4HI/AAAAAAAAAHg/d_57bFdBGLY/s1600/twetter.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="145" src="http://4.bp.blogspot.com/-Eeko_U3qhCM/T0YLFLhs4HI/AAAAAAAAAHg/d_57bFdBGLY/s200/twetter.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;Twitter&lt;/b&gt;, il Social Network per micropost proprio in questi giorni ha raggiunti circa&amp;nbsp;922.000 utenti&amp;nbsp;&amp;nbsp;registrati (22 febbraio), la continua crescita di questo social e l' utilità dello stesso mi hanno spinto ad utilizzare le &lt;b&gt;API di Twitter&lt;/b&gt; e vedendo che nel web italiano gli articoli/guide su questo argomento scarseggiano ne scriverò qualcuna io compresa questa per imparare ad utilizzarle pienamente.&lt;br /&gt;&lt;br /&gt;Esistono diversi tipi di Api rese disponibili da&lt;b&gt; Twitter&lt;/b&gt;, di seguito elenco le più comuni:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://dev.twitter.com/docs/twitter-for-websites" target="_blank"&gt;&lt;i&gt;Twitter for Websites&lt;/i&gt;&lt;/a&gt;: una suite per integrare Twitter molto semplicemente nei tuoi siti web, queste Api sono utilizzabili anche dai meno esperti, è molto utile nel caso vuoi inserire il famoso bottone per il following o se vuoi mostrare i tuoi tweet senza fatica.&lt;/li&gt;&lt;li&gt;&lt;a href="https://dev.twitter.com/docs/using-search" target="_blank"&gt;&lt;i&gt;Search API&lt;/i&gt;&lt;/a&gt;: queste Api sono create appositamente per eseguire query quindi ricerche all' interno il contenuto di Twitter, servono per trovare tweet con specifiche keyword, i tweets di uno specifico utente o riferiti all' utente stesso.&lt;/li&gt;&lt;li&gt;&lt;a href="https://dev.twitter.com/docs/api" target="_blank"&gt;&lt;i&gt;REST API&lt;/i&gt;&lt;/a&gt;: permettono l' accesso al &lt;i&gt;core&lt;/i&gt; interno di Twitter, sono le più utili nel caso sei qui&amp;nbsp;perché&amp;nbsp;hai intenzione di sviluppare un' applicazione per il social network. Se cliccate il link vedrai la numerosità di queste Api che puoi trovarle tutte molto comodamente &lt;a href="https://dev.twitter.com/console" target="_blank"&gt;qui.&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="https://dev.twitter.com/docs/streaming-api"&gt;&lt;i&gt;Streaming API&lt;/i&gt;&lt;/a&gt;: queste Api permettono lo streaming in realtime di Twitter sono utili nel caso richiedi un intensivo utilizzo dei dati, lo stesso social consiglia una lettura completa della documentazione purtroppo in inglese.&lt;/li&gt;&lt;/ol&gt;Per avere tutto sotto controllo sul sito è disponibile la &lt;a href="https://dev.twitter.com/docs" target="_blank"&gt;documentazione ufficiale&lt;/a&gt;&amp;nbsp;nella quale trovi un insieme molto comodo di link&amp;nbsp;ordinato per categorie.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: large;"&gt;Un passo avanti&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Ora ti farò vedere un semplice esempio di utilizzo delle Api Twitter che stampa semplicemente il mio nome utente e il mio username, ecco il codice Javascript con jQuery per semplificare la chiamata:&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;a href="http://explosivelab.altervista.org/Css3/twitter.html" target="_blank"&gt;Qui trovi l' esempio live.&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$(function() {&lt;br /&gt;&amp;nbsp; var JSONurl = 'http://api.twitter.com/1/users/show.json?screen_name=ExplosiveLab&amp;amp;callback=?';&lt;br /&gt;&amp;nbsp; $.getJSON(JSONurl, function(data) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; $.each(data, function(key, val) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(key == 'name') {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$('div#tweets').append('&amp;lt;h3&amp;gt;' + val + '&amp;lt;/h3&amp;gt;');&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(key == 'screen_name') {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$('div#tweets').append(' &amp;lt;i&amp;gt;@' + val + '&amp;lt;/i&amp;gt;');&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;br /&gt;&amp;nbsp; &amp;nbsp; });&lt;br /&gt;&amp;nbsp; });&lt;br /&gt;});&lt;/span&gt;&lt;/blockquote&gt;Questo codice può sembrare molto complicato ma in verità è semplicissimo infatti non faccio altro che inviare una richiesta alle Api e ricevere una risposta JSON, ma visto che tutto questo può portare a una notevole confusione a presto pubblicherò la guida per utilizzare le &lt;b&gt;Api di Twitter con jQuery&lt;/b&gt;.&lt;br /&gt;Alla prossima quindi ;)&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-7390842928015657312?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/7390842928015657312/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/introduzione-alle-api-twitter.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7390842928015657312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7390842928015657312'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/introduzione-alle-api-twitter.html' title='Introduzione alle Api Twitter'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-Eeko_U3qhCM/T0YLFLhs4HI/AAAAAAAAAHg/d_57bFdBGLY/s72-c/twetter.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-9063980087676818189</id><published>2012-02-21T12:48:00.002-08:00</published><updated>2012-02-21T12:51:07.390-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Menu Css3'/><category scheme='http://www.blogger.com/atom/ns#' term='Free'/><category scheme='http://www.blogger.com/atom/ns#' term='Css'/><title type='text'>Css3 cool menu</title><content type='html'>Dopo una piccola pausa in Francia sono tornato e sono pronto per scrivere nuovi articoli per Explosive Lab Blog, oggi ti voglio presentare un altro &lt;b&gt;menu Css&lt;/b&gt; con tanto di animazioni tramite le &lt;b&gt;Css3 transition &lt;/b&gt;e layout&lt;b&gt; Html5&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="color: #999999; font-size: 0.9em;"&gt;Piccola nota aggiuntiva:&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="color: #999999; font-size: 0.9em;"&gt;Ho creato anche una pagina per &lt;a href="http://www.facebook.com/pages/Explosive-Lab/158148540970474"&gt;Explosive Lab Blog su FaceBook&lt;/a&gt;, seguimi e convidi ;)&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-tSCSWOHsemw/T0OQx-Z5xNI/AAAAAAAAAHQ/9fljmhHXkT4/s1600/Menu+2+Css3.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-tSCSWOHsemw/T0OQx-Z5xNI/AAAAAAAAAHQ/9fljmhHXkT4/s1600/Menu+2+Css3.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-u9xOfr8EoHc/T0P_2fZ7SyI/AAAAAAAAAHY/znlhDuDTYs0/s1600/menuu2.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-u9xOfr8EoHc/T0P_2fZ7SyI/AAAAAAAAAHY/znlhDuDTYs0/s1600/menuu2.png" /&gt;&lt;/a&gt;L' immagine che vedi a sinistra è il menu in stato normale di colore blu, a destra invece troverete lo stesso menu verde, potete trovare &lt;span style="font-size: 1.3em;"&gt;&lt;a href="http://explosivelab.altervista.org/Css3/menu.html"&gt;una demo live del menu css3 qui&lt;/a&gt;&lt;/span&gt;.&lt;br /&gt;Nel seguente pezzo di codice Css puoi trovare evidenziato in rosso il colore da cambiare nel caso vuoi modificare il colore del menu. Qui trovi una &lt;a href="http://0to255.com/"&gt;lista completa di tutti i colori&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; &amp;nbsp; &amp;nbsp; nav ul li{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; margin-top: 5px;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 60px;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding: 2px 5px 2px 20px;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; height: 30px;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list-style: none;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; line-height: 30px;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-align: center;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; background: #&lt;/span&gt;&lt;b&gt;&lt;span style="color: #cc0000;"&gt;3ea514&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #666666;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Di seguito trovi il codice html completo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;lt;nav&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;ul&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="#"&amp;gt;&amp;lt;li class="active"&amp;gt;home&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="#"&amp;gt;&amp;lt;li&amp;gt;news&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="#"&amp;gt;&amp;lt;li&amp;gt;demo&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="#"&amp;gt;&amp;lt;li&amp;gt;project&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="#"&amp;gt;&amp;lt;li&amp;gt;about&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href="#"&amp;gt;&amp;lt;li&amp;gt;contact&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/ul&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/nav&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;Ed infine ecco il codice css3:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nav{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 100px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; margin: 20px 0 0 0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nav ul{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 80px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; margin: 0px; padding: 0px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nav ul li{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; margin-top: 5px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 60px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding: 2px 5px 2px 20px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; height: 30px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list-style: none;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; line-height: 30px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-align: center;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; background: #3ea514;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 10px 50px rgba(255, 255, 255, 0.2),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 15px 1px rgba(255, 255, 255, 0.1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; border-top-right-radius: 4px; border-bottom-right-radius: 4px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transition: all 0.3s;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -webkit-transition: all 0.3s;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -moz-transition: all 0.3s;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -o-transition: all 0.3s;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;nav .active{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 70px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;color: #fff;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 15px 40px rgba(255, 255, 255, 0.4),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 15px 1px rgba(255, 255, 255, 0.1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nav ul li:hover{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 15px 40px rgba(255, 255, 255, 0.4),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 15px 1px rgba(255, 255, 255, 0.1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 80px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nav ul a:link, nav ul a:visited, nav ul a:focus, nav ul a:active{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-decoration: none;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color: #ddd;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font-family: Arial;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font-size: 1.1em;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nav ul a:hover{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color: #fff;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;Se vuoi che una voce del menu appaia selezionata (come nel casa della scritta 'project' dell' immagine a destra) devi semplicemente applicare la classe &lt;i&gt;active &lt;/i&gt;alla lista li corrispondente così:&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;a href="#"&amp;gt;&amp;lt;li class="&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;active&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;"&amp;gt;home&amp;lt;/li&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&amp;nbsp;Puoi utilizzare il menu in qualunque caso vuoi, sia per un sito professionale o per una semplice applicazione, sentiti libero di pubblicarlo e condividerlo.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-9063980087676818189?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/9063980087676818189/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/css3-cool-menu.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/9063980087676818189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/9063980087676818189'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/css3-cool-menu.html' title='Css3 cool menu'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-tSCSWOHsemw/T0OQx-Z5xNI/AAAAAAAAAHQ/9fljmhHXkT4/s72-c/Menu+2+Css3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4571480373873915792</id><published>2012-02-15T03:12:00.000-08:00</published><updated>2012-02-15T03:14:05.218-08:00</updated><title type='text'>DART, programmazione web strutturata</title><content type='html'>&lt;a href="http://www.dartlang.org/"&gt;DART&lt;/a&gt;&amp;nbsp;è un nuovo linguaggio di programmazione class-based per la creazione di applicazioni web strutturate. Sviluppato da Google con l' obbiettivo di essere semplice, efficiente e scalare, il linguaggio &lt;b&gt;Dart &lt;/b&gt;combina la potenza e tutte le caratteristiche di un nuovo linguaggio con dei costruttori familiari e una sintassi leggibile.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-v80851UfQy0/TzuTJ3bRdJI/AAAAAAAAAG4/R5ieX8pOD_o/s1600/dart-logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-v80851UfQy0/TzuTJ3bRdJI/AAAAAAAAAG4/R5ieX8pOD_o/s1600/dart-logo.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Questo è ciò che trovate sul &lt;a href="http://www.dartlang.org/"&gt;sito ufficiale&lt;/a&gt; del nuovo linguaggio andando nella sezione Technical Overview, subito dopo trovate le caratteristiche principali(key features) che vi spiego di seguito:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Classi&lt;/li&gt;&lt;/ul&gt;&lt;span style="background-color: white; line-height: 18px;"&gt;Classi e interfacce forniscono un buon meccanismo per definire efficienti APIs. Questi costrutti permettono l' incapsulamento e la riutilizzazione di metodi e dati.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="background-color: white;"&gt;&lt;li&gt;&lt;span style="line-height: 18px;"&gt;Tipi opzionali&lt;/span&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="background-color: white;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;b&gt;Dart&lt;/b&gt; permette ai programmatori di aggiungere dei tipi statici al loro codice, per maggiori info ti rimando all' &lt;a href="http://www.dartlang.org/articles/optional-types/"&gt;articolo ufficiale&lt;/a&gt; sui tipi opzionali molto esplicativo.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="line-height: 18px;"&gt;Librerie&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="line-height: 18px;"&gt;Gli sviluppatori possono creare e utilizzare librerie che rimangono inalterate durante il &lt;i&gt;runtime&lt;/i&gt;. Pezzi di codice sviluppati autonomamente possono quindi fare affidamento a librerie condivise.&lt;/span&gt;&lt;br /&gt;&lt;span style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="line-height: 18px;"&gt;Tooling&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="line-height: 18px;"&gt;Dart includerà un ricco ambiente di sviluppo, librerie e tools di sviluppo costruiti per supportare il linguaggio, questi tools consentiranno produttività e dinamicità di sviluppo[...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #444444; font-family: 'Open Sans', sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;Queste che vi ho appena elencato sono le proprietà principali del linguaggio, ora passiamo subito agli esempi per vedere la sintassi del nuovo linguaggio Dart:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;Prima di tutto il vecchio e semplice &lt;i&gt;hello world&lt;/i&gt;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;main() {&lt;/span&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;&amp;nbsp; print('Hello, Dart!');&lt;/span&gt;&lt;span style="font-size: 15px; line-height: 18px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;Questo è sempre lo stesso esempio con una variabile:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;main() {&lt;br /&gt;&amp;nbsp; var name = 'World';&lt;br /&gt;&amp;nbsp; print('Hello, ${name}!');&lt;br /&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;Il seguente esempio calcola la distanza fra due punti:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;class Point {&lt;br /&gt;&amp;nbsp; Point(this.x, this.y);&lt;br /&gt;&amp;nbsp; distanceTo(Point other) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; var dx = x - other.x;&lt;br /&gt;&amp;nbsp; &amp;nbsp; var dy = y - other.y;&lt;br /&gt;&amp;nbsp; &amp;nbsp; return Math.sqrt(dx * dx + dy * dy);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; var x, y;&lt;br /&gt;}&lt;br /&gt;main() {&lt;br /&gt;&amp;nbsp; Point p = new Point(2, 3);&lt;br /&gt;&amp;nbsp; Point q = new Point(3, 4);&lt;br /&gt;&amp;nbsp; print('distance from p to q = ${p.distanceTo(q)}');&lt;br /&gt;}&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;Se invece vuoi vedere se un browser supporta Dart o no una questo:&lt;/span&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;script type='text/javascript'&amp;gt;&lt;br /&gt; &amp;nbsp; if (!navigator.webkitStartDart) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// Browser doesn't support Dart&lt;br /&gt;&amp;nbsp; }&lt;br /&gt; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style="font-size: large;"&gt;Come utilizzo dart?&lt;/span&gt;&lt;br /&gt;Sviluppare in Dart è semplicissimo, infatti basta recarsi a questo link&amp;nbsp;&lt;a href="http://try.dartlang.org/"&gt;http://try.dartlang.org/&lt;/a&gt;&amp;nbsp;con un browser moderno oppure scaricate &amp;nbsp;&lt;a href="http://www.dartlang.org/downloads.html"&gt;il Dart editor da qui&lt;/a&gt;.&lt;br /&gt;Se hai bisogno di una guida seria per Dart la trovi sempre &lt;a href="http://www.dartlang.org/docs/getting-started/"&gt;sul sito ufficiale&lt;/a&gt;(in inglese).&lt;br /&gt;&lt;span style="background-color: white;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4571480373873915792?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4571480373873915792/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/dart-programmazione-web-strutturata.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4571480373873915792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4571480373873915792'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/dart-programmazione-web-strutturata.html' title='DART, programmazione web strutturata'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-v80851UfQy0/TzuTJ3bRdJI/AAAAAAAAAG4/R5ieX8pOD_o/s72-c/dart-logo.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-1020071355895536358</id><published>2012-02-14T06:24:00.000-08:00</published><updated>2012-02-14T06:24:42.329-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><category scheme='http://www.blogger.com/atom/ns#' term='2'/><title type='text'>Domande frequenti jQuery parte 2</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xpAponRt76Y/TzpknWzu5VI/AAAAAAAAAHM/sX2-9_6PvPA/s1600/faqs_pic.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="114" src="http://4.bp.blogspot.com/-xpAponRt76Y/TzpknWzu5VI/AAAAAAAAAHM/sX2-9_6PvPA/s320/faqs_pic.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Ecco la seconda parte delle domande più frequenti di &lt;b&gt;jQuery&lt;/b&gt; tradotte dalla &lt;a href="http://docs.jquery.com/Frequently_Asked_Questions"&gt;pagina&lt;/a&gt;&amp;nbsp;Frequently Asked Questions del sito ufficiale dello stesso Framework.&lt;br /&gt;&lt;a href="http://explosivelab.blogspot.com/2012/02/domande-frequenti-jquery-1.html"&gt;Trovi la prima parte qui.&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: large;"&gt;jQuery F.A.Q.&amp;nbsp;&lt;span style="color: #999999;"&gt;&lt;i&gt;parte 2&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: large;"&gt;&lt;span style="color: #999999;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"&gt;Come verifico l' esistenza di un elemento?&lt;/span&gt;&lt;div&gt;Utilizza la proprietà &lt;i&gt;length di &lt;/i&gt;jQuery dopo aver selezionato l' elemento:&lt;/div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;if($('p.response').length)&lt;br /&gt;&amp;nbsp; $('p.response').show(500);&lt;/span&gt;&lt;/blockquote&gt;La proprietà &lt;i&gt;length&lt;/i&gt; in jQuery può trarre in inganno ma è molto semplice, infatti se affiancata a un selettore ritorna il numero degli elementi selezionati, quindi anche se l' elemento ha un &lt;i&gt;display:none&lt;/i&gt; risulterà comunque presente nella pagina.&lt;br /&gt;&lt;br /&gt;C'è da notare che non è sempre necessario verificare se un elemento esiste. Il seguente codice mostra l' elemento, se esiste, invece non accade nulla(nessun errore) se non esiste.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; $('p#id').show();&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"&gt;Come determino lo stato di un elemento attivato?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;Se vuoi determinare se un elemento è visibile o no puoi usare i selettori &lt;i&gt;:visible&lt;/i&gt; e &lt;i&gt;:hidden&lt;/i&gt;.&lt;/span&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; var isVisible = $('#myDiv').is(':visible');&lt;br /&gt;var isHidden = $('#myDiv').is(':hidden');&lt;/span&gt;&lt;/blockquote&gt;Se invece vuoi semplicemente agire su un elemento basandoti sulla sua visibilità basta includere &lt;i&gt;:visible&lt;/i&gt; o &lt;i&gt;:hidden&lt;/i&gt; nel selettore jQuery:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p.top:visible').css('color','green');&lt;/span&gt;&lt;/blockquote&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: #06263c; font-family: monaco, monospace;"&gt;&lt;span style="font-size: 11px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"&gt;Come posso abilitare o disabilitare un elemento di un form?&lt;/span&gt;&lt;div&gt;In&lt;b&gt; jQuery&lt;/b&gt; ci sono due possibili soluzioni, impostare l' attributo &lt;i&gt;disabled&lt;/i&gt; rispettivamente a vero o falso:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;//disabilitare #btn1&lt;br /&gt;$('#btn1').attr('disabled', true);&lt;br /&gt;//abilitare #btn1&lt;br /&gt;$('#btn1').attr('disabled', false);&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span style="font-family: inherit;"&gt;Oppure aggiungere o rimuovere l' attributo &lt;i&gt;disabled&lt;/i&gt;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;//disabilitare #btn1&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('#btn1').attr('disabled', 'disabled');&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;//abilitare #btn1&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('#btn1').removeAttr('disabled');&lt;/span&gt;&lt;/blockquote&gt;Per ora è tutto, prossimamente pubblicherò la terza parte con altre 3 F.A.Q jQuery, per trovare la lista completa(in inglese) &lt;a href="http://docs.jquery.com/Frequently_Asked_Questions"&gt;vai qui.&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-1020071355895536358?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/1020071355895536358/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/domande-frequenti-jquery-parte-2.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1020071355895536358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1020071355895536358'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/domande-frequenti-jquery-parte-2.html' title='Domande frequenti jQuery parte 2'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-xpAponRt76Y/TzpknWzu5VI/AAAAAAAAAHM/sX2-9_6PvPA/s72-c/faqs_pic.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-7014066157918099921</id><published>2012-02-13T06:18:00.000-08:00</published><updated>2012-02-13T06:18:22.688-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Explosive Lab Blog'/><category scheme='http://www.blogger.com/atom/ns#' term='futuro'/><category scheme='http://www.blogger.com/atom/ns#' term='francia'/><category scheme='http://www.blogger.com/atom/ns#' term='statistiche'/><title type='text'>Explosive Lab Blog review</title><content type='html'>Proprio oggi ho raggiunto le &lt;b&gt;10000 pagine visualizzate&lt;/b&gt; su questo blog da quando è stato creato (23 ottobre 2011) che corrisponde alla data del mio &lt;a href="http://explosivelab.blogspot.com/2011/10/citazione.html" target="_blank"&gt;primo post&lt;/a&gt;&amp;nbsp;(una citazione), per questo risultato devo ringraziare proprio te e tutti i miei altri lettori, anche occasionali.&lt;br /&gt;Oggi il blog conta&lt;b&gt; 54 post &lt;/b&gt;più questo&amp;nbsp;&lt;b&gt;55&lt;/b&gt;, purtroppo solo &lt;b&gt;4&lt;/b&gt; commenti ed è per questo che non mi posso ritenere soddisfatto quindi se stai leggendo questo post non esitare a commentare;&amp;nbsp;&lt;b&gt;4.319 &lt;/b&gt;pagine visualizzate a gennaio e ciò fa capire che il blog è in costante crescita e&amp;nbsp;&lt;b&gt;209 &lt;/b&gt;pagine visualizzate oggi(14.55).&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Ndtp7pHBtOo/Tzkak3V7UbI/AAAAAAAAAHE/imWd823paiQ/s1600/stat1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-Ndtp7pHBtOo/Tzkak3V7UbI/AAAAAAAAAHE/imWd823paiQ/s1600/stat1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Ho voluto creare questo post, oltre al traguardo delle 10000 visualizzazioni per informarti che fra 3 giorni, precisamente Giovedì 16 &lt;b&gt;parto per la Francia&lt;/b&gt; stando via 4 giorni; andrò a trovare mia sorella che ora è la per motivi di studio e quindi sarò impossibilitato a pubblicare ulteriori post per Explosive Lab Blog. Se riesco pianifico qualche post così da non restare a vuoto sino a lunedì.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Qual' è il futuro di &lt;a href="http://explosivelab.blogspot.com/"&gt;Explosive Lab Blog&lt;/a&gt;?&lt;/span&gt;&lt;br /&gt;Beh, caro lettore questo è tutto da scoprire, infatti solo se seguirai la vita di questo blog potrai saperlo veramente. Ultimamente sto collaborando con&amp;nbsp;&lt;a href="http://html5andmore.info/"&gt;Html5 And More&lt;/a&gt;&amp;nbsp;e il suo creatore per un futuro progetto ma di questo non voglio anticipare assolutamente niente, segui questo blog e lo scoprirai :)&lt;br /&gt;Sono alla ricerca sempre di nuovi articoli o esempi da proporti, non smetterò mai di rendere sempre più interessante questo blog!&lt;br /&gt;&lt;br /&gt;Detto questo ti auguro buona giornata,&lt;br /&gt;evolution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-7014066157918099921?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/7014066157918099921/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/explosive-lab-blog-review.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7014066157918099921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7014066157918099921'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/explosive-lab-blog-review.html' title='Explosive Lab Blog review'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-Ndtp7pHBtOo/Tzkak3V7UbI/AAAAAAAAAHE/imWd823paiQ/s72-c/stat1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2152908979445357255</id><published>2012-02-12T12:18:00.000-08:00</published><updated>2012-02-13T02:16:56.574-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Demo'/><category scheme='http://www.blogger.com/atom/ns#' term='Game'/><category scheme='http://www.blogger.com/atom/ns#' term='Example'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Application'/><title type='text'>5 Html5 Game, Demo, Site e Example</title><content type='html'>L' &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;Html5&lt;/a&gt; oltre a destare notevole interesse come novità del web 2.0 riscontra molto successo per la costruzione di siti web interattivi(Web Application), giochi, o semplici demo ed esempi.&lt;br /&gt;Tra le novità di Html5 sicuramente troviamo le Web Application, cioè quei siti che utilizzando le nuove tecnologie fornite dallo stesso linguaggio di markup Html5 sono riusciti a distinguersi dalla massa spiccando per la loro originalità; anche i giochi o i cosiddetti 'esperimenti' non sono da meno, infatti tramite di essi è possibile capire tutte le possibilità di questo fantastico insieme di tecnologie.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-rr6n0_uLeFI/TzgTnryCPVI/AAAAAAAAAGQ/VkuFFg-1Tc4/s1600/iphone4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-rr6n0_uLeFI/TzgTnryCPVI/AAAAAAAAAGQ/VkuFFg-1Tc4/s200/iphone4.png" width="121" /&gt;&lt;/a&gt;Oggi ti voglio presentare proprio quei siti oltre a quello che stai leggendo ;)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tjrus.com/iphone"&gt;&lt;b&gt;Iphone creato solo con Css3&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;Questo fantastico iphone è creato interamente con i &lt;a href="http://explosivelab.blogspot.com/2011/12/introduzione-ai-css3-parte-2.html"&gt;Css3&lt;/a&gt; con tanto di slider e di icone sempre in puro Css e un tocco di Javascript. Niente immagini, SVG o Canvas, 3395 linee di Css e 335 linee di Javascript + &lt;a href="http://explosivelab.blogspot.com/2012/02/introduzione-jquery.html"&gt;Jquery&lt;/a&gt;.&lt;br /&gt;Un vasto&amp;nbsp;sguardo&amp;nbsp;alle nuove potenzialità di Css3: ombre, gradienti e nuove proprietà.&lt;br /&gt;Css3? ma che centra?&lt;br /&gt;La specifica Css3 è 'inclusa' nel vasto mondo di Html5, se vuoi avere maggiori dettagli su tutte le novità su di essi vai qui:&amp;nbsp;&lt;a href="http://css3clickchart.com/#box-sizing"&gt;http://css3clickchart.com/&lt;/a&gt;&amp;nbsp;nel&amp;nbsp;link che ti ho appena proposto troverai Web Application che descrive in modo semplice e intuitivo con codici, esempi, link e tutorial tutte le nuove&amp;nbsp;caratteristiche&amp;nbsp;di Css3.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-35i6Lvqzxp8/TzgYCZyX2EI/AAAAAAAAAGY/SuAEgia1UFk/s1600/chrome_webstore.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="http://4.bp.blogspot.com/-35i6Lvqzxp8/TzgYCZyX2EI/AAAAAAAAAGY/SuAEgia1UFk/s200/chrome_webstore.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="https://chrome.google.com/webstore/category/home"&gt;Chrome Web Store&lt;/a&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;Fantastica web application by Google, un web store interamente dedicato ad applicazioni web, giochi, estensioni e temi per il browser Chrome. Di questo però ne ho già parlato &lt;a href="http://explosivelab.blogspot.com/2012/02/chrome-web-store.html"&gt;in questo articolo.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-yfuGV7gkO70/TzgZwcaWI8I/AAAAAAAAAGg/g9vwjkDykt0/s1600/angrybirds.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="148" src="http://3.bp.blogspot.com/-yfuGV7gkO70/TzgZwcaWI8I/AAAAAAAAAGg/g9vwjkDykt0/s200/angrybirds.png" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://chrome.angrybirds.com/"&gt;Angry Birds for browser&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Ecco a te il gioco Angry Birds creato interamente in Html5 giocabile quindi comodamente dal tuo browser web se supporti canvas o dal tuo cellulare.&lt;br /&gt;Questo gioco creato da google fa capire quanto potente sia il mondo di Html5 e come&amp;nbsp;ormai Flash sia facilmente superabile.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-3VKU-UBa9_s/TzgbtwQtmCI/AAAAAAAAAGo/wquAHYnR3IE/s1600/html55.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="104" src="http://2.bp.blogspot.com/-3VKU-UBa9_s/TzgbtwQtmCI/AAAAAAAAAGo/wquAHYnR3IE/s200/html55.png" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.w3.org/html/logo/"&gt;Html5 Logo&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Semplice web application creata dal &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html"&gt;W3C&lt;/a&gt;, essa permette di capire il&amp;nbsp;perché&amp;nbsp;della scelta di adottare logo e aiuta la creazione di un logo personalizzato a seconda delle tecnologie utilizzate nella propria Web App Html5. Colora il mondo di arancio!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-f_S4WuZLsKM/Tzgdl-gjPWI/AAAAAAAAAGw/WGOWHiCppaQ/s1600/HTML5.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="60" src="http://4.bp.blogspot.com/-f_S4WuZLsKM/Tzgdl-gjPWI/AAAAAAAAAGw/WGOWHiCppaQ/s200/HTML5.png" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.chromeexperiments.com/"&gt;Chrome Experiments&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Chrome Experiments è una vetrina per creativi esperimenti web la maggiorparte dei quali creati con Canvas, SVG, Javascript e WebGl.&lt;br /&gt;Se vuoi dare uno sguardo al futuro di Html5 sei nel posto giusto.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2152908979445357255?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2152908979445357255/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/5-html5-game-demo-site-e-example.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2152908979445357255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2152908979445357255'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/5-html5-game-demo-site-e-example.html' title='5 Html5 Game, Demo, Site e Example'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-rr6n0_uLeFI/TzgTnryCPVI/AAAAAAAAAGQ/VkuFFg-1Tc4/s72-c/iphone4.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-68724745948768470</id><published>2012-02-11T02:40:00.000-08:00</published><updated>2012-02-11T02:54:18.637-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Icon'/><category scheme='http://www.blogger.com/atom/ns#' term='Menu'/><title type='text'>Css3 icon Menu</title><content type='html'>Giocando con le proprietà &lt;b&gt;Css3&lt;/b&gt; è possibile creare fantastici effetti, questa volta ho deciso di sviluppare un semplice menu ad icone &lt;a href="http://explosivelab.altervista.org/Css3/Css3-icon-menu.html" target="_blank"&gt;che potete trovare qui.&lt;/a&gt;&lt;br /&gt;Di seguito trovate le tre immagini dei relativi stati del menu Css3, il primo a riposo, nel quale potete notare una leggera opacità:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-8Gt-2U6Z7Iw/TzZBOC7AWHI/AAAAAAAAAGs/Ri108tLmLN8/s1600/menu1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="71" src="http://1.bp.blogspot.com/-8Gt-2U6Z7Iw/TzZBOC7AWHI/AAAAAAAAAGs/Ri108tLmLN8/s320/menu1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;Il secondo stato invece rappresenta l' &lt;i&gt;:hover&lt;/i&gt;, eseguito in particolare sull' elemento indicato dalla freccia:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-a-5ELj0RbxU/TzZBPvRzF0I/AAAAAAAAAG0/02_g3VGYe9s/s1600/menu2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="71" src="http://3.bp.blogspot.com/-a-5ELj0RbxU/TzZBPvRzF0I/AAAAAAAAAG0/02_g3VGYe9s/s320/menu2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;Il terzo rappresenta lo stato &lt;i&gt;:active, &lt;/i&gt;cioè quando un elemento viene cliccato:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-nNC-SDSOxuI/TzZBRPD-khI/AAAAAAAAAG8/3omkdY1029I/s1600/menu3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="78" src="http://1.bp.blogspot.com/-nNC-SDSOxuI/TzZBRPD-khI/AAAAAAAAAG8/3omkdY1029I/s320/menu3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;La struttura html5 del menu è la seguente:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div class="menu0"&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;ul&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="http://cdn1.iconfinder.com/data/icons/Absolute%2032-PNG/32/Configuration.png" /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="http://cdn1.iconfinder.com/data/icons/Absolute%2032-PNG/32/Settings_-_Dark.png" /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="http://cdn1.iconfinder.com/data/icons/Absolute%2032-PNG/32/iTunes.png" /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="http://cdn1.iconfinder.com/data/icons/Absolute%2032-PNG/32/RAM.png" /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="http://cdn1.iconfinder.com/data/icons/Absolute%2032-PNG/32/Command.png" /&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;Come potete notare il menu è composto da un semplice &lt;i&gt;div&lt;/i&gt; con classe &lt;i&gt;menu0 &lt;/i&gt;la quale contiene le seguenti regole Css3:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;div.menu0 ul li{&lt;br /&gt;&amp;nbsp; display: inline; //imposto gli elementi in linea&lt;br /&gt;&amp;nbsp; list-style: none; //tolgo lo stile della lista&lt;br /&gt;&amp;nbsp; width: 100px; height: 100px;&lt;br /&gt;&amp;nbsp; padding: 32px 15px 12px 15px;&lt;br /&gt;&amp;nbsp; border-radius: 200px; //creo il cerchio&lt;br /&gt;&amp;nbsp; opacity: 0.7; //setto l' opacità a 0.7&lt;br /&gt;&amp;nbsp; transition: all 0.8s; //imposto la transizione di tutti i tag li&lt;br /&gt;&amp;nbsp; -webkit-transition: all 0.8s; //per compatibilità Chrome...&lt;br /&gt;&amp;nbsp; -moz-transition: all 0.8s; //per compatibilità con Mozzilla&lt;br /&gt;&amp;nbsp; -o-transition: all 0.8s; //per compatibilità con Opera&lt;br /&gt; }&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Poi tramite il selettore&lt;i&gt; :hover &lt;/i&gt;imposto l' opacità nulla della lista se il mouse passerà sopra di essa in questo modo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; div.menu0:hover ul li{&lt;br /&gt;&amp;nbsp; opacity: 1;&lt;br /&gt; }&lt;/span&gt;&lt;/blockquote&gt;Infine aggiungo 2 regole Css per definire le animazioni di rollhover e click:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;div.menu0 ul li:hover{&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3);&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; background: #f0fdf0;&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; }&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; div.menu0 ul li:active{&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.1),&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; inset 0 10px 10px rgba(0, 0, 0, 0.1),&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; inset 0 -10px 10px rgba(0, 0, 0, 0.1);&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; background: #d1f9d2;&lt;/span&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; }&lt;/span&gt;&lt;/blockquote&gt;Vuoi altre icone? Nessun problema, su iconFinder c'è il &lt;a href="http://www.iconfinder.com/search/?q=iconset%3AAbsolute_32-PNG" target="_blank"&gt;set apposito di icon&lt;/a&gt;.&lt;br /&gt;Ritengo importante far notare che per una maggiore compatibilità è necessario aggiungere i suffissi(webkit, moz,o e ms) anche per le proprietà Css3 &lt;i&gt;box-shadow&lt;/i&gt; e &lt;i&gt;border-radius&lt;/i&gt;. &lt;br /&gt;Ti ricordo ancora una volta che puoi trovare &lt;a href="http://explosivelab.altervista.org/Css3/Css3-icon-menu.html" target="_blank"&gt;la demo del menu css3 qui.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-68724745948768470?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/68724745948768470/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/css3-icon-menu.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/68724745948768470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/68724745948768470'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/css3-icon-menu.html' title='Css3 icon Menu'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-8Gt-2U6Z7Iw/TzZBOC7AWHI/AAAAAAAAAGs/Ri108tLmLN8/s72-c/menu1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6712303023156739059</id><published>2012-02-11T02:03:00.000-08:00</published><updated>2012-02-11T02:03:09.354-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oggetto document'/><category scheme='http://www.blogger.com/atom/ns#' term='metodi e proprietà'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>L' oggetto document in Javascript</title><content type='html'>&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-sXG_gKRl54M/TzY8uaWeTQI/AAAAAAAAAGE/aWP4yC2IxV0/s1600/js.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/-sXG_gKRl54M/TzY8uaWeTQI/AAAAAAAAAGE/aWP4yC2IxV0/s200/js.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;L’&amp;nbsp;&lt;strong style="margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;oggetto document&amp;nbsp;&lt;/strong&gt;di&amp;nbsp;&lt;strong style="outline-color: initial; outline-style: none; outline-width: 0px;"&gt;Javascript&amp;nbsp;&lt;/strong&gt;viene creato ogni qual volta il tuo browser visualizza una pagina&amp;nbsp;&lt;em style="margin-bottom: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;HTML&lt;/em&gt;, esso&amp;nbsp;offre l’ accesso alle varie proprietà e ai vari metodi che intervengono nella visualizzazione della pagina web.&amp;nbsp;&lt;/div&gt;&lt;span style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;"&gt;Un esempio?&lt;/span&gt;&lt;div style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;Uno di questi metodi è il metodo&lt;em style="margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;&amp;nbsp;document.write()&lt;/em&gt;&amp;nbsp;che sicuramente conoscerai, se non è così la sua funzione è semplicissima, infatti consente di stampare una stringa di testo all’ interno del documento&amp;nbsp;&lt;em style="margin-bottom: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;HTML&lt;/em&gt;.&lt;/div&gt;&lt;div style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;Esempio:&lt;/div&gt;&lt;blockquote class="tr_bq"&gt;&lt;code style="margin-bottom: 0px !important; margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;document.write('Questo testo verrà stampato nella pagina');&lt;/span&gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;span style="font-size: large;"&gt;Lista completa delle proprietà e dei metodi dell’ oggetto document&lt;/span&gt;&lt;span style="color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: large;"&gt;&lt;span style="line-height: 19px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;Le proprietà e i metodi più importanti possiedono una breve descrizione.&lt;/div&gt;&lt;div style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;&lt;strong style="margin-bottom: 0px !important; margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;Proprietà:&lt;/strong&gt;&lt;/div&gt;&lt;ol style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;activeElement&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;alinkColor&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;anchors&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;applets&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;bgColor (restituisce il valore esadecimale del colore di sfondo del documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;charset&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;classes (usato per impostare gli stili di classi)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;cookie (usato per impostare i cookie Javascript di un documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;defaultCharset&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;designMode&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;dir&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;doctype (restituisce il doctype del documento in questione)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;documentElement (restituisce una stringa con il nodo radice del documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;domain (restituisce il nome del dominio del server del documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;embeds&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;expando&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;fgColor (restituisce il valore esadecimale del colore del testo del documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;fileCreatedDate (restituisce la data di creazione del documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;fileModifiedDate ( restituisce&amp;nbsp;&amp;nbsp;la data dell’ ultima modifica del documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;fileSize ( restituisce&amp;nbsp;&amp;nbsp;le dimensioni del documento in byte)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;formName&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;forms&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;ids&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;images&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;implementation&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;lastModified&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;layers&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;all (consente l’ accesso a tutti gli oggetti della pagina)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;linkColor&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;links&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;parentWindow&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;plugins&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;protocol&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;readyState&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;reffer&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;tags&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;title (restituisce il titolo della pagina)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;uniqueID&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;URL&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;URLUnecoded&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;vlinkColor&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;XMLDocument&lt;/li&gt;&lt;li style="margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;XSLDocument&lt;/li&gt;&lt;/ol&gt;&lt;div style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;&lt;strong style="margin-bottom: 0px !important; margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;Metodi:&lt;/strong&gt;&lt;/div&gt;&lt;ol style="background-color: white; color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;attachEvent()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createAttribute()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createComment()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createDocumentFragment() (crea un nuovo documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createElement()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createEventObject()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createStyleSheet() (crea un foglio di stile che verrà utilizzato nel documento)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;createTextNode()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;detachEvent()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;elementFromPoint()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;execCommand()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;getElementById() ( restituisce&amp;nbsp;&amp;nbsp;un riferimento all’ oggetto con l’ attributo ID passato come parametro)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;getElementByName()&amp;nbsp;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;getElementByTagName() ( restituisce&amp;nbsp;&amp;nbsp;i riferimenti agli elementi con il tag inviato come parametro)&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;getSelection()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;hasFocus()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;mergeAttributes()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;open() (apre un nuovo documento e ne consente la scrittura tramite write() o writeln())&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;close()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;recalc()&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;setActive&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;write() (contente di scrivere una stringa di testo in un documento Html)&lt;/li&gt;&lt;li style="margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: 0px;"&gt;writeln() (fa la stessa cosa di write() ma alla fine della stringa da stampare termina la riga con ‘\n’)&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style="color: #444444; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;"&gt;&lt;span style="font-size: 14px; line-height: 19px;"&gt;Per avere maggiori info su i metodi e le proprietà di Javascript puoi semplicemente cercare su google il metodo/proprietà seguito dalla parola chiave &lt;i&gt;Javascript&lt;/i&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6712303023156739059?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6712303023156739059/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/l-oggetto-document-in-javascript.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6712303023156739059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6712303023156739059'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/l-oggetto-document-in-javascript.html' title='L&apos; oggetto document in Javascript'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-sXG_gKRl54M/TzY8uaWeTQI/AAAAAAAAAGE/aWP4yC2IxV0/s72-c/js.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4677468707930109566</id><published>2012-02-10T04:00:00.000-08:00</published><updated>2012-02-10T04:01:17.996-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ProcessingJs'/><category scheme='http://www.blogger.com/atom/ns#' term='Mirino'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><title type='text'>Mirino con ProcessingJs</title><content type='html'>Durante lo sviluppo di giochi o semplici applicazioni per scopi intuitivi è utile creare un mirino che segue il mouse e che magari al click di esso richiami un particolare evento o funzione.&lt;br /&gt;&lt;div&gt;&lt;a href="http://explosivelab.altervista.org/ProcessingJs/index6.html" target="_blank"&gt;Qui puoi trovare una demo del codice ProcessingJs &lt;/a&gt;oppure puoi tranquillamente vedere l' effetto nell' immagine seguente.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-1fM_4jjeE5A/TzQm7MqVPmI/AAAAAAAAAF8/7u1NTV7sB28/s1600/mirino.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-1fM_4jjeE5A/TzQm7MqVPmI/AAAAAAAAAF8/7u1NTV7sB28/s1600/mirino.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Il funzionamento del codice &lt;b&gt;ProcessingJs&lt;/b&gt; è molto semplice, infatti per creare il mirino basta formare un cerchio nelle esatte coordinate del mouse e due semirette che partono dall' origine del cerchio sino a poco più in la...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Prima di tutto inizializzo la funzione &lt;i&gt;setup() &lt;/i&gt;che serve per inizializzare il Canvas:&lt;/div&gt;&lt;div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; void setup(){&lt;br /&gt;&amp;nbsp; &amp;nbsp; size(500, 500); &lt;span style="font-size: x-small;"&gt;//grandezza del canvas&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; background(0);&lt;span style="font-size: x-small;"&gt; // sfondo del canvas&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; strokeWeight(2);&lt;span style="font-size: x-small;"&gt; //grandezza linea di contorno&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; stroke(255); &lt;span style="font-size: x-small;"&gt;//colore linea di contorno&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; smooth(); &lt;span style="font-size: x-small;"&gt;//antialiasing&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; fill(146); &lt;span style="font-size: x-small;"&gt;//colore&amp;nbsp;riempimento&amp;nbsp;oggetti&lt;/span&gt;&lt;br /&gt;&amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;Poi con la funzione &lt;i&gt;draw() &lt;/i&gt;che viene richiamata ogni tot&lt;i&gt; frameset&amp;nbsp;&lt;/i&gt;disegno mirino vero e proprio tramite un ellisse e due linee(una verticale e una orizzontale):&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; int x, y, x2, y2;&lt;br /&gt;&amp;nbsp; x = 0; y = 0;&lt;br /&gt;&amp;nbsp; void draw(){ &lt;span style="font-size: x-small;"&gt;//funzione richiamata ogni tot&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; background(0); &lt;span style="font-size: x-small;"&gt;//pulisco il canvas&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; line(x-20, y, x+20, y); &lt;span style="font-size: x-small;"&gt;//creo la linea orizzontale&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; line(x, y-20, x, y+20); &lt;span style="font-size: x-small;"&gt;//credo la linea verticale&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; ellipse(x, y, 10, 10); &lt;span style="font-size: x-small;"&gt;//creo l' ellisse&lt;/span&gt;&lt;br /&gt;&amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Infine trovo le coordinate del mouse tramite Processing in modo semplicissimo, infatti tramite la funzione &lt;i&gt;mouseMoved() &lt;/i&gt;il linguaggio restituisce rispettivamente le coordinate&lt;i&gt; x &lt;/i&gt;e&lt;i&gt; y &lt;/i&gt;del mouse:&lt;/div&gt;&lt;div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; void mouseMoved(){&lt;br /&gt;&amp;nbsp; &amp;nbsp; x = mouseX; &lt;span style="font-size: x-small;"&gt;//assegna a x il valore di mouseX che contiene le coordinate del mouse rispetto all' asse x&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; y = mouseY;&lt;br /&gt;&amp;nbsp; }&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;Per il codice ProcessingJs completo &lt;a href="http://explosivelab.altervista.org/ProcessingJs/code6.pde" target="_blank"&gt;vai qui&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4677468707930109566?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4677468707930109566/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/mirino-con-processingjs.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4677468707930109566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4677468707930109566'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/mirino-con-processingjs.html' title='Mirino con ProcessingJs'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-1fM_4jjeE5A/TzQm7MqVPmI/AAAAAAAAAF8/7u1NTV7sB28/s72-c/mirino.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-8379770895256715831</id><published>2012-02-10T00:45:00.000-08:00</published><updated>2012-02-10T00:48:09.809-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Demo'/><category scheme='http://www.blogger.com/atom/ns#' term='ProcessingJs'/><category scheme='http://www.blogger.com/atom/ns#' term='Processing'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Demo ProcessingJs</title><content type='html'>&lt;span style="font-size: large;"&gt;Cos'è Processing?&lt;/span&gt;&lt;br /&gt;&lt;div&gt;Il&lt;b&gt; linguaggio processing&lt;/b&gt; è stato originalmente creato da MIT in collaborazione con il gruppo Media Lab e Aesthetics e Computation necessitando di colmare il divario tra gli sviluppatori, gli artisti, etc., e creando una via  che permette ai nuovi programmatori(o non programmatori) di eseguire complesse visualizzazioni lavorando facilmente. Processing è stato creato usando Java, e può essere pensato come un Java semplificato, con delle Api semplificate per disegni e grafici.&lt;span style="background-color: white; color: #404040; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://processingjs.org/articles/jsQuickStart.html" target="_blank"&gt;Qui&lt;/a&gt;&amp;nbsp;&lt;/span&gt;potete trovare una semplice guida introduttiva(in inglese) dalla quale ho preso questa spiegazione. Il linguaggio ProcessingJs invece è un port del linguaggio stesso che permette di utilizzarlo per lavorare nella tela Canvas direttamente con Javascript mantenendo però la sintassi Java.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Alcune fantastiche demo di ProcessingJs&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-vjMvC6prhFs/TzQUqhMz26I/AAAAAAAAAGE/GnE-_Df0b9A/s1600/balldroppings.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-vjMvC6prhFs/TzQUqhMz26I/AAAAAAAAAGE/GnE-_Df0b9A/s1600/balldroppings.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://balldroppings.com/js/" target="_blank"&gt;Ball Droppings&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;Disegna linee per far rimbalzare le palline di varie dimensioni controllando le loro direzioni.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-ESBFWuy1Ul0/TzQVK3qme9I/AAAAAAAAAGM/AOGdwO13b1o/s1600/towerofdefense.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-ESBFWuy1Ul0/TzQVK3qme9I/AAAAAAAAAGM/AOGdwO13b1o/s1600/towerofdefense.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://willarson.com/code/processing/ptd.html" target="_blank"&gt;Tower of Defence&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;Fantastico gioco creato sempre in ProcesingJs, forse la grafica non è il massimo ma tiene davvero attaccati allo schermo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-W2wAZR_jAH4/TzQWBQwt8uI/AAAAAAAAAGU/mBSVqenB0tM/s1600/abstract.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-W2wAZR_jAH4/TzQWBQwt8uI/AAAAAAAAAGU/mBSVqenB0tM/s1600/abstract.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://mariuswatz.com/works/abstract01js/index_auto.html" target="_blank"&gt;ABSTRACT01js&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;Rielaborazione di un vecchio sketch 2d, veramente un bel effetto.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-3AkC9NGJDeI/TzQWGaATtHI/AAAAAAAAAGc/LYT5tIGJL6c/s1600/gmail.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-3AkC9NGJDeI/TzQWGaATtHI/AAAAAAAAAGc/LYT5tIGJL6c/s1600/gmail.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://www.monocubed.com/2010/07/27/galactic-inbox/" target="_blank"&gt;Galactic Inbox&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Gioco molto simpatico creato dal team di Gmail, da notare il loro interesse per processingJs&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-ioRs2tSDrbQ/TzQWbRcTJLI/AAAAAAAAAGk/2bCB05pHocI/s1600/astroid.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-ioRs2tSDrbQ/TzQWbRcTJLI/AAAAAAAAAGk/2bCB05pHocI/s1600/astroid.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://www.section9.co.uk/" target="_blank"&gt;Asteroids&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Rielaborazione del vecchio e caro gioco Asteroids.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Infine vi lascio un mio simpatico esempio creato sempre con ProcessingJs, &lt;a href="http://explosivelab.altervista.org/ProcessingJs/index5.html" target="_blank"&gt;un semplice cerchio che segue il mouse :)&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Vi lascio anche il source:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; void setup(){&lt;br /&gt;&amp;nbsp; size(500, 500);&lt;br /&gt;&amp;nbsp; background(0);&lt;br /&gt;&amp;nbsp; fill(255);&lt;br /&gt; }&lt;br /&gt;  int xE, yE, E, mod1, mod2, r;&lt;br /&gt; xE = yE = 100;&lt;br /&gt; r = 50;&lt;br /&gt; void draw(){&lt;br /&gt;&amp;nbsp; mod1 = (xM-xE)/10;&lt;br /&gt;&amp;nbsp; mod2 = (yM-yE)/10;&lt;br /&gt;&amp;nbsp; background(0);&lt;br /&gt;&amp;nbsp; xE += mod1;&lt;br /&gt;&amp;nbsp; yE += mod2;&lt;br /&gt;&amp;nbsp; ellipse(xE, yE, r, r);&lt;br /&gt; }&lt;br /&gt;  int xM, yM;&lt;br /&gt; void mouseMoved(){&lt;br /&gt;&amp;nbsp; xM = mouseX;&lt;br /&gt;&amp;nbsp; yM = mouseY;&lt;br /&gt; }&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-8379770895256715831?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/8379770895256715831/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/demo-processingjs.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8379770895256715831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8379770895256715831'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/demo-processingjs.html' title='Demo ProcessingJs'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-vjMvC6prhFs/TzQUqhMz26I/AAAAAAAAAGE/GnE-_Df0b9A/s72-c/balldroppings.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-7467025359782824157</id><published>2012-02-09T10:17:00.000-08:00</published><updated>2012-02-09T10:19:52.740-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cielo stellato'/><category scheme='http://www.blogger.com/atom/ns#' term='ProcessingJs'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><title type='text'>Cielo stellato con ProcessingJs + Html5</title><content type='html'>&lt;div class="tr_bq"&gt;Ultimamente visto il successo riscosso da &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html" target="_blank"&gt;Html5&lt;/a&gt; e le 'sue' Api Canvas non ho esitato ad informarmi sull' argomento anche scoprendo il linguaggio Processing e il suo relativo port&amp;nbsp;&lt;a href="http://processingjs.org/" target="_blank"&gt;ProcessingJs&lt;/a&gt;.&lt;/div&gt;In parole semplici ProcessingJs può essere pensato come un framework che facilita le operazioni 2d e 3d del Canvas.&lt;br /&gt;&lt;br /&gt;Successivamente trovate l' immagine che rappresenta il cielo stellato generato automaticamente con ProcessingJs:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-lJrHZ1MTUY4/TzQIwfjfLWI/AAAAAAAAAF0/M3J4QMRkI2w/s1600/sky1.png" imageanchor="1" style="margin-left: 0em; margin-right: 0em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-lJrHZ1MTUY4/TzQIwfjfLWI/AAAAAAAAAF0/M3J4QMRkI2w/s1600/sky1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://explosivelab.altervista.org/ProcessingJs/index4.html" target="_blank"&gt;Potete trovare lo script in azione qui.&lt;/a&gt;&amp;nbsp;(premi F5 per generare un altro cielo stellato casuale)&lt;br /&gt;&lt;br /&gt;Questo è il codice Processing che ho creato per generare casualmente il cielo:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;var c = 0;&lt;br /&gt;&amp;nbsp;void star(n){&lt;br /&gt;&amp;nbsp; &amp;nbsp;pushStyle();&lt;br /&gt;&amp;nbsp; &amp;nbsp;background(0, 15, 43);&lt;br /&gt;&amp;nbsp; &amp;nbsp;stroke(255);&lt;br /&gt;&amp;nbsp; &amp;nbsp;while(c &amp;lt; n){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;x1 = random(1, width-1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;y1 = random(1, height-1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(n%c == 0){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strokeWeight(random(3,4));&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}else{ strokeWeight(random(2));}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;point(x1, y1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;c++;&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp;popStyle();&lt;br /&gt;&amp;nbsp; &amp;nbsp;c = 0;&lt;br /&gt;&amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-family: inherit;"&gt;&amp;nbsp;Questo invece è il codice ProcessingJs completo:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;void setup(){&lt;br /&gt;&amp;nbsp; &amp;nbsp;size(700, 230);&lt;br /&gt;&amp;nbsp; &amp;nbsp;background(0, 15, 43);&lt;br /&gt;&amp;nbsp; &amp;nbsp;smooth();&lt;br /&gt;&amp;nbsp; &amp;nbsp;fill(255);&lt;br /&gt;&amp;nbsp; &amp;nbsp;stroke(255);&lt;br /&gt;&amp;nbsp; &amp;nbsp;star(700);&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;void draw(){&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;var c = 0;&lt;br /&gt;&amp;nbsp;void star(n){&lt;br /&gt;&amp;nbsp; &amp;nbsp;pushStyle();&lt;br /&gt;&amp;nbsp; &amp;nbsp;background(0, 15, 43);&lt;br /&gt;&amp;nbsp; &amp;nbsp;stroke(255);&lt;br /&gt;&amp;nbsp; &amp;nbsp;while(c &amp;lt; n){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;x1 = random(1, width-1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;y1 = random(1, height-1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(n%c == 0){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strokeWeight(random(3,4));&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}else{ strokeWeight(random(2));}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;point(x1, y1);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;c++;&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp;popStyle();&lt;br /&gt;&amp;nbsp; &amp;nbsp;c = 0;&lt;br /&gt;&amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-7467025359782824157?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/7467025359782824157/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/cielo-stellato-con-processingjs-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7467025359782824157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7467025359782824157'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/cielo-stellato-con-processingjs-html5.html' title='Cielo stellato con ProcessingJs + Html5'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-lJrHZ1MTUY4/TzQIwfjfLWI/AAAAAAAAAF0/M3J4QMRkI2w/s72-c/sky1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-8432977358093323818</id><published>2012-02-08T01:19:00.000-08:00</published><updated>2012-02-08T01:19:01.724-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Clock Time'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Application'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='Chrome Web Store'/><title type='text'>Chrome Web Store</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-6Fap6vLSjA0/TzI9nx0YFKI/AAAAAAAAAFs/3FI53Z3WNWc/s1600/cws.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-6Fap6vLSjA0/TzI9nx0YFKI/AAAAAAAAAFs/3FI53Z3WNWc/s1600/cws.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Chrome Web Store&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Il &lt;b&gt;&lt;a href="https://chrome.google.com/webstore?hl=it" target="_blank"&gt;Chrome Web Store&lt;/a&gt;&amp;nbsp;&lt;/b&gt;è un marketplace online che permette agli utenti che possiedono il browser Google Chrome di scaricare o acquistare migliaia di Applicazioni web, temi e estensioni. Il &lt;b&gt;Chrome Web Store&lt;/b&gt; è attualmente disponibile in lingua italiana anche se la maggior parte dei componenti aggiuntivi è in inglese non si dovrebbero avere difficoltà a navigare nel portale.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: 1.2em;"&gt;Dentro il Chrome Web Store&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Una volta registrati tutto sempre tramite il browser Chrome potrai navigare liberamente in cerca di fantastici componenti aggiuntivi per il tuo browser, ma non solo, infatti come ho già detto puoi trovare ottime Applicazioni Web che sono veri e propri siti web interattivi che forniscono un vasto insieme di soluzioni mantenendo velocità e fluidità.&lt;br /&gt;&lt;div&gt;Proprio per testare il Chrome Web Store by Google, dopo aver pagato la tassa di sviluppatore di 5$ ho pubblicato la mia prima semplice applicazione nello store, &lt;b&gt;Clock Time&lt;/b&gt;, che si occupa semplicemente di stampare l' ora in un formato alquanto gradevole, ecco un immagine:&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-BTjJsDEZjIA/Ty_SOAI9EII/AAAAAAAAAFc/sOTFJFVBzdY/s1600/clock.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-BTjJsDEZjIA/Ty_SOAI9EII/AAAAAAAAAFc/sOTFJFVBzdY/s1600/clock.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;a href="https://chrome.google.com/webstore/detail/dbnemcjgeijkglbldlgicbcgjddaolfn" target="_blank"&gt;&lt;b&gt;Questo è il link se vuoi scaricare l' applicazione!&lt;/b&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Detto questo traggo le mie conclusioni.&lt;br /&gt;Chrome Web Store è un market molto giovane rispetto ai suoi concorrenti, ma come al solito Google non si smentisce, infatti tramite varie forme lo store permette di pubblicare senza sforzo App o estensioni a pagamento così da far subito concorrenza a i suoi 2 più grandi rivali(Apple e Android). Come vedi non lo paragono neanche a Mozzilla che pur avendo le sue care estensioni è rimasto notevolmente indietro con la creatività in fattore marketing.&lt;br /&gt;Tramite queste nuove Applicazioni Web il futuro degli sviluppatori&amp;nbsp;dovrà&amp;nbsp;passare anche da questo market essendo una buona fonte di pubblicità e purtroppo di sana concorrenza.&lt;br /&gt;Per ora è tutto, non esitate a commentare :)&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-8432977358093323818?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/8432977358093323818/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/chrome-web-store.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8432977358093323818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8432977358093323818'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/chrome-web-store.html' title='Chrome Web Store'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-6Fap6vLSjA0/TzI9nx0YFKI/AAAAAAAAAFs/3FI53Z3WNWc/s72-c/cws.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4715955842560676564</id><published>2012-02-07T03:38:00.000-08:00</published><updated>2012-02-07T03:38:15.523-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='FAQ'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Domande frequenti jQuery 1</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-DWLDBxL0T5Y/TzEM_hhhRcI/AAAAAAAAAFk/AJPyEU_wC-4/s1600/faqs_pic.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="114" src="http://3.bp.blogspot.com/-DWLDBxL0T5Y/TzEM_hhhRcI/AAAAAAAAAFk/AJPyEU_wC-4/s320/faqs_pic.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Qui puoi trovare le domande maggiormente chieste durante l' utilizzo di &lt;b&gt;jQuery &lt;/b&gt;tradotte da me in italiano dal s&lt;a href="http://docs.jquery.com/Frequently_Asked_Questions" target="_blank"&gt;ito ufficiale&lt;/a&gt;; se hai anche tu qualche domanda che qui non trovi non esitare a chiederla tramite commento.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: large;"&gt;jQuery F.A.Q. &lt;/span&gt;&lt;i&gt;&lt;span style="color: #999999; font-size: large;"&gt;parte 1&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: 1.1em;"&gt;&lt;b&gt;Come seleziono un elemento usando una classe o un ID?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Questo codice seleziona un elemento con ID 'myId'. Visto che l' ID è unico questa espressione seleziona sempre, a seconda della situazione, un elemento o nessun elemento nel caso esso non esista.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('#myId')&lt;/span&gt;&lt;/blockquote&gt;Questo codice seleziona l' elemento con classe 'myClass'. Dato che un qualunque numero di elementi può avere la stessa classe questa espressione seleziona un numero qualunque di elementi.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('.myClass')&lt;/span&gt;&lt;/blockquote&gt;Un oggetto jQuery contenente l' elemento selezionato può essere assegnato tranquillamente a una variabile Javascript:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;var element1 = $('#myId');&lt;/span&gt;&lt;/blockquote&gt;Ricorda anche che puoi intervenire sugli elementi in un oggetto jQuery anche tramite altre funzioni jQuery.&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #444444; font-family: 'Courier New', Courier, monospace;"&gt;        var element1 = $('#myId').text(); &lt;span style="font-size: x-small;"&gt;//Questa funzione nativa di jQUery permette di risalire al testo dell' elemento&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b style="font-size: 18px;"&gt;Come posso selezionare gli elementi quando ho già un elemento DOM?&lt;/b&gt;&lt;br /&gt;Se hai una variabile contenente un elemento DOM e hai la necessità di selezionare gli elementi connessi ad esso puoi farlo tramite il metodo &lt;i&gt;find() &lt;/i&gt;così:&lt;/div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;var element1 = document.getElementById('myId'); &lt;span style="font-size: x-small;"&gt;//elemento DOM&lt;/span&gt;&lt;br /&gt;$(element1).find('p'); &lt;span style="font-size: x-small;"&gt;//trova tutti i paragrafi contenuti nell' elemento DOM&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;Molte persone cercano di concatenare un elemento DOM o un oggetto jQuery con una stringa in questo modo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$(element1 + '.myClass');&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;Ma questo è sbagliato! Non è possibile concatenare oggetti con stringhe.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: 1.1em;"&gt;Come posso testare se un elemento possiede una determinata classe?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Il metodo &lt;i&gt;hasClass()&lt;/i&gt; di jQuery (introdotto dalla versione 1.2) si occupa nativamente di questo scopo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;if($('p').hasClass('evid')){ &lt;span style="font-size: x-small;"&gt;//se hasClass trova la classe 'evid' ritorna true e quindi esegue l' alert&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;alert('classe trovata');&lt;br /&gt;&amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;Puoi anche utilizzare il metodo &lt;i&gt;is() &lt;/i&gt;con gli appropriati selettori Css3 per delle corrispondenze avanzate:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;if($('div').is('p.uno')){&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; console.log('corrispondenza trovata');&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/blockquote&gt;Per ora è tutto, pubblicherò prossimamente sempre a gruppi di 3 domande le prossime FAQ di jQuery che puoi trovare sul &lt;a href="http://docs.jquery.com/Frequently_Asked_Questions" target="_blank"&gt;sito ufficiale in inglese&lt;/a&gt;; se hai domande non esitare a chiedere qui.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4715955842560676564?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4715955842560676564/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/domande-frequenti-jquery-1.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4715955842560676564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4715955842560676564'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/domande-frequenti-jquery-1.html' title='Domande frequenti jQuery 1'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-DWLDBxL0T5Y/TzEM_hhhRcI/AAAAAAAAAFk/AJPyEU_wC-4/s72-c/faqs_pic.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5010414662073177206</id><published>2012-02-06T05:22:00.000-08:00</published><updated>2012-02-06T05:22:55.557-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='clock'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>Css3 Clock Design</title><content type='html'>Questo nuovo design Css3 che con l' aiuto di Javascript simula un orologio digitale a tutti gli effetti.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-BTjJsDEZjIA/Ty_SOAI9EII/AAAAAAAAAFc/sOTFJFVBzdY/s1600/clock.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-BTjJsDEZjIA/Ty_SOAI9EII/AAAAAAAAAFc/sOTFJFVBzdY/s1600/clock.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://explosivelab.altervista.org/Css3/clock.html" target="_blank"&gt;&lt;b&gt;&lt;span style="font-size: 1.2em;"&gt;Per vedere la demo in azione vai qui.&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Creare il design forse è la parte che può sembrare più complicata, ma grazie alle diverse proprietà css3(&lt;a href="http://explosivelab.blogspot.com/2012/01/proprieta-border-radius-e-cerchi-con.html" target="_blank"&gt;border-radius&lt;/a&gt;, &lt;a href="http://explosivelab.blogspot.com/2012/01/la-proprieta-box-shadow-css3.html" target="_blank"&gt;box-shadow&lt;/a&gt;) diventa tutto molto semplice e tutto ciò permette di evitare l' uso di pensanti immagini creando la grafica tramite l' utilizzo dei Css3.&lt;br /&gt;Per chi volesse ecco il codice Css completo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;div.clock{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      width: 400px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      height: 120px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      padding: 10px 20px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      margin: auto;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -40px 50px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -40px 50px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -o-box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -40px 50px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -40px 50px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -o-border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      background: #ddd;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    div.cont{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      width: 100px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      height: 100px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      margin: 10px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      float: left;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      background: #333;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      text-align: center; &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 5px 1px rgba(0, 0, 0, 0.9),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -1px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 2px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 0 15px 4px rgba(0, 0, 0, 0.1); &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 5px 1px rgba(0, 0, 0, 0.9),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -1px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 2px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 0 15px 4px rgba(0, 0, 0, 0.1);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -o-box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 5px 1px rgba(0, 0, 0, 0.9),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -1px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 2px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 0 15px 4px rgba(0, 0, 0, 0.1);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 5px 1px rgba(0, 0, 0, 0.9),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -1px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 2px 1px rgba(255, 255, 255, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 -20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  inset 0 20px 30px rgba(255, 255, 255, 0.1),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                  0 0 15px 4px rgba(0, 0, 0, 0.1);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -o-border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-border-radius: 5px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    @-webkit-keyframes 'pulse'{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      from{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;        -webkit-transform: rotateX(0deg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;        -moz-transform: rotateX(0deg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;        -o-transform: rotateX(0deg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      to{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;        -webkit-transform: rotateX(360deg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;        -moz-transform: rotateX(360deg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;        -o-transform: rotateX(360deg);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    .move{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-animation-name: pulse;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-animation-duration: 1s;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-animation-timing-function: ease-in-out;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -webkit-animation-iteration-count: infinite;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-animation-name: pulse;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-animation-duration: 1s;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-animation-timing-function: ease-in-out;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      -moz-animation-iteration-count: infinite;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    div.cont h3{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      line-height: 100px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      margin: 0px; padding: 0px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      color: #eee;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      font-size: 4.5em;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    div.cont span{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      position: absolute;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      margin-top: -40px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      font-family: Arial;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      font-size: 1.1em;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      color: #999;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    div.cc{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      width: 360px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;      margin: auto;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;Enjoy :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5010414662073177206?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5010414662073177206/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/css3-clock-design.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5010414662073177206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5010414662073177206'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/css3-clock-design.html' title='Css3 Clock Design'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-BTjJsDEZjIA/Ty_SOAI9EII/AAAAAAAAAFc/sOTFJFVBzdY/s72-c/clock.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-74759537163136219</id><published>2012-02-04T02:52:00.000-08:00</published><updated>2012-02-04T02:52:21.449-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='metodo .css()'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Metodo .css() di jQuery</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-P48Y5WwJbEg/Ty0No36BIxI/AAAAAAAAAF8/OmbikHEvMIw/s1600/css-jquery.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="93" src="http://2.bp.blogspot.com/-P48Y5WwJbEg/Ty0No36BIxI/AAAAAAAAAF8/OmbikHEvMIw/s320/css-jquery.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-size: large;"&gt;Metodo .css() di jQuery&lt;/span&gt;&lt;br /&gt;Il metodo .css() di jQuery permette di eseguire diverse operazioni riguardanti i Css degli elementi, infatti esso permette di scoprire le proprietà degli stili stessi e di modificarle a piacimento.&lt;br /&gt;L' uso più comune di questo metodo è usarlo per prelevare uno stile del primo elemento trovato tramite selettore jQuery così:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p').css('background-color');&lt;/span&gt;&lt;/blockquote&gt;Questo esempio ritorna il colore di sfondo del primo paragrafo trovato, per esempio &lt;i&gt;rgb(170,170,170).&amp;nbsp;&lt;/i&gt;&lt;br /&gt;Da notare che il metodo&lt;i&gt; .css()&lt;/i&gt; restituisce lo stesso risultato anche se usiamo un termine differente come pattern, magari un esempio dal sito ufficiale chiarisce meglio:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('div.left').css('float');&lt;br /&gt;$('div.left').css('cssFloat');&lt;br /&gt;$('div.left').css('styleFloat');&lt;/span&gt;&lt;/blockquote&gt;In questo caso se il &lt;i&gt;float&lt;/i&gt; sarà verso sinistra il metodo jQuery restituirà la stringa &lt;i&gt;left &lt;/i&gt;in ogni caso.&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Un passo avanti&lt;/span&gt;&lt;br /&gt;Ora poniamoci il problema di conoscere il valore del background di un paragrafo solo se ci passiamo sopra con il mouse; niente di arcano, infatti basta utilizzare l' evento &lt;i&gt;mouseover() &lt;/i&gt;e la parola chiave&lt;i&gt; this &lt;/i&gt;che ci permette di selezionare l' elemento corrente utilizzando solo 3 righe jQuery.&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p').mouseover(function(){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alert($(this).css('background-color'));&lt;br /&gt;});&lt;/span&gt;&lt;/blockquote&gt;Come vedi l' evento &lt;i&gt;mouseover&lt;/i&gt; si attiva solo quando il mouse passa sopra ad un paragrafo, quando succede esso crea un alert e tramite &lt;i&gt;this&lt;/i&gt; trova il &lt;i&gt;background&lt;/i&gt; dell' elemento corrente.&lt;br /&gt;&lt;a href="http://explosivelab.altervista.org/jQuery/es1.html" target="_blank"&gt;Per l' esempio live vai qui.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Modificare gli stili degli elementi&lt;/span&gt;&lt;br /&gt;Sempre tramite questo metodo è possibile modificare una o più proprietà di un elemento con estrema facilità, infatti con questa riga:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;$('selettore css3').css('nomeProprietà','value');&lt;/span&gt;&lt;/blockquote&gt;modifichiamo la proprietà dell' elemento selezionato con il valore dentro &lt;i&gt;value&lt;/i&gt;.&lt;br /&gt;Se vogliamo invece settare più proprietà di un elemento possiamo fare così:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p').css({'background-color' : '#333', 'color' : 'white'});&lt;/span&gt;&lt;/blockquote&gt;&lt;a href="http://explosivelab.altervista.org/jQuery/es2.html" target="_blank"&gt;Trovi l' esempio qui.&amp;nbsp;&lt;/a&gt;&amp;nbsp;In questo caso tutti i paragrafi cambieranno il colore di sfondo e quello del font.&lt;br /&gt;Se cerchi una maggiore documentazione ti rimando alla pagina ufficiale della &lt;a href="http://api.jquery.com/css/" target="_blank"&gt;proprietà .css()&lt;/a&gt; di jQuery.&lt;br /&gt;&lt;br /&gt;Per ora è tutto, se hai domande non esitare a chiedere qui, alla prossima.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-74759537163136219?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/74759537163136219/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/metodo-css-di-jquery.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/74759537163136219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/74759537163136219'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/metodo-css-di-jquery.html' title='Metodo .css() di jQuery'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-P48Y5WwJbEg/Ty0No36BIxI/AAAAAAAAAF8/OmbikHEvMIw/s72-c/css-jquery.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6684248253818501764</id><published>2012-02-03T01:16:00.000-08:00</published><updated>2012-02-03T01:16:08.316-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='removeClass'/><category scheme='http://www.blogger.com/atom/ns#' term='addClass'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Metodi addClass() e removeClass() di jQuery</title><content type='html'>&lt;div&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/--8O3TS7uABI/Tyulus5dkUI/AAAAAAAAAFU/2piQ-eqPPwo/s1600/jquery1.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="128" src="http://1.bp.blogspot.com/--8O3TS7uABI/Tyulus5dkUI/AAAAAAAAAFU/2piQ-eqPPwo/s320/jquery1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;jQuery&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="font-size: large;"&gt;Metodo .addClass di jQuery&lt;/span&gt;&lt;/div&gt;&lt;b&gt;Aggiunge la classe o le classi specificate al set di elementi passati tramite selettore jQuery di Javascript.&lt;/b&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;.addClass( nomeClasse );&lt;/span&gt;&lt;/blockquote&gt;Dove &lt;i&gt;nomeClasse&lt;/i&gt; indica la classe o le classi da aggiungere separate tramite uno spazio; grazie questo metodo &amp;nbsp;è anche possibile aggiungere una classe dopo che si sia verificato un determinato evento, come il passaggio del mouse sopra l' elemento.&lt;br /&gt;Ecco un esempio pratico che si limita ad aggiungere una classe a tutti i paragrafi della pagina:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p').addClass('color');&lt;/span&gt;&lt;/blockquote&gt;E' importante capire che il metodo &lt;i&gt;.addClass()&lt;/i&gt; non sostituisce una eventuale classe dell' elemento ma si limita ad aggiungerla ignorando le altre eventuali classi.&lt;br /&gt;Ora vediamo un esempio che aggiunge tre classi a tutti i paragrafi contenuti nel tag div di un documento:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('div p').addClass('color menu big1');&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size: large;"&gt;Metodo .addClass di jQuery&lt;/span&gt;&lt;br /&gt;Se si vuole invece rimuovere una classe da un elemento si può utilizzare il metodo &lt;i&gt;.removeClass() &lt;/i&gt;il quale permette di rimuovere una classe, classi multiple o tutte le classi da un set di elementi selezionati.&lt;br /&gt;Per rimuovere una classe tramite questo metodo &lt;b&gt;jQuery&lt;/b&gt; si utilizza questo metodo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p.nascosto').removeClass('color');&lt;/span&gt;&lt;/blockquote&gt;In questo caso ho rimosso la classe &lt;i&gt;color&lt;/i&gt; da tutti i paragrafi con classe &lt;i&gt;nascosto&lt;/i&gt;. Come per il metodo precedente è possibile rimuovere più classi semplicemente separandole con uno spazio; è anche possibile rimuovere tutte le classi semplicemente lasciando il metodo vuoto, quindi se voglio cancellare &lt;b&gt;tutte le classi&lt;/b&gt; di tutti i paragrafi scriverò:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;$('p').removeClass();&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size: large;"&gt;Un passo avanti...&lt;/span&gt;&lt;br /&gt;E' possibile inoltre, tramite tutte e due i metodi creare una funzione per eseguire un ciclo su tutti gli elementi selezionati, quindi &amp;nbsp;è possibile per ogni elemento eseguire operazioni a parte assegnandoli una classe unica.&lt;br /&gt;Ecco la sintatti da utilizzare per .addClass():&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;.addClass( function(index, currentClass){&lt;br /&gt;&amp;nbsp; //quello che vuoi qui...&lt;br /&gt;});&lt;/blockquote&gt;&lt;div&gt;Come potete notare questa funzione accetta 2 parametri(dati da Jquery), uno è l' &lt;i&gt;index &lt;/i&gt;il quale a ogni ciclo &amp;nbsp;indica la posizione dell' elemento (dal primo '0' all' ultimo...), il secondo invece,&lt;i&gt; currentClass&lt;/i&gt;, indica la eventuale classe trovata sull' elemento. Ecco un esempio che aggiunge la classe &lt;i&gt;big1 &lt;/i&gt;solo ai paragrafi che possiedono una classe &lt;i&gt;font&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;$('p').addClass(function(index, currentClass){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var addClass;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(currentClass === 'font'){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addClass = 'big1';&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return addClass;&lt;br /&gt;&amp;nbsp; &amp;nbsp;});&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://explosivelab.altervista.org/php/jqy.html" target="_blank"&gt;&amp;nbsp;Qui trovi un esempio.&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6684248253818501764?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6684248253818501764/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/metodi-addclass-e-removeclass-di-jquery.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6684248253818501764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6684248253818501764'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/metodi-addclass-e-removeclass-di-jquery.html' title='Metodi addClass() e removeClass() di jQuery'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/--8O3TS7uABI/Tyulus5dkUI/AAAAAAAAAFU/2piQ-eqPPwo/s72-c/jquery1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2343345137566180793</id><published>2012-02-02T01:19:00.000-08:00</published><updated>2012-02-02T01:19:55.379-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Introduzione a jQuery</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/-6IiKvg9R2LA/TypVKWDBugI/AAAAAAAAAFM/NsEC0IQKZcQ/s1600/jQuery.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-6IiKvg9R2LA/TypVKWDBugI/AAAAAAAAAFM/NsEC0IQKZcQ/s1600/jQuery.png" /&gt;&lt;/a&gt;&lt;span style="font-size: large;"&gt;Introduzione a jQuery&lt;/span&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.&lt;/blockquote&gt;In italiano:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;jQuery è una veloce e concisa libreria Javascript che semplifica la transazione Html, la manipolazione degli eventi, le animazioni, e le iterazioni Ajax per un rapido sviluppo web. jQuery è progettato per cambiare il modo in cui scrivi Javascript.&lt;/blockquote&gt;&lt;br /&gt;Questa frase la troviamo se ci dirigiamo sul sito ufficiale di jQuery (&lt;a href="http://jquery.com/"&gt;jQuery.com&lt;/a&gt;), nel quale possiamo trovare tutta la documentazione a riguardo.&lt;br /&gt;jQuery è un ottimo framework Javascript che aiuta lo sviluppatore a essere più efficiente aiutando a scrivere meno ottenendo di più: Write Less, Do More, naturalmente mantenendo un ottima compatibilità cross-browser.&lt;br /&gt;&lt;br /&gt;La nascita di jQuery risale al 2006, grazie allo sviluppatore&amp;nbsp;&lt;i style="background-color: white; color: #474747; font-family: verdana, arial, tahoma; font-size: 14px;"&gt;John Resign&amp;nbsp;&lt;/i&gt;con l' intento di creare un framework veloce e semplice, non per altro è il framework più utilizzato dagli sviluppatori nel mondo, attualmente l' ultima versione di jQuery è la 1.7.1.&lt;br /&gt;&lt;br /&gt;Un altra notevole potenzialità &amp;nbsp;è la possibilità di usare plugin specifici creati dagli sviluppatori di tutto il mondo; tramite &lt;a href="http://jquerylist.com/" target="_blank"&gt;questo sito&lt;/a&gt;&amp;nbsp;puoi trovare una lista costantemente aggiornata di tutti i plugin infatti la sezione del sito ufficiale riguardante i plugin di jQuery è in ricostruzione.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Intervista a John Resing&lt;/span&gt;&lt;br /&gt;Questo è solo una piccola parte dell' intervista completa, se vuoi leggerla tutta &lt;a href="http://javascript.html.it/articoli/leggi/2879/intervista-a-john-resig"&gt;vai qui&lt;/a&gt;.&lt;div&gt;&lt;b&gt;Riccardo&lt;/b&gt;: jQuery è uno dei framework Javascript più utilizzati (e forse il più utilizzato in assoluto) su scala mondiale. Quale è stata a tuo parere la ragione principale di questo grande successo?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;John&lt;/b&gt;: La semplicità. Le API di jQuery sono molto più semplici di quelle fornite nativamente da Javascript e dalla maggior parte degli altri framework. Credo che la maggior parte dei framework tenda a complicare le cose anziché cercare la soluzione più semplice per poter portare a termine un lavoro. La semplicità è la caratteristica principale di jQuery. L'API è semplice, la buona documentazione permette di iniziare immediatamente ad utilizzarla e la totale resa cross-browser ne semplifica notevolmente l'utilizzo.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Inserire jQuery nelle nostre pagine:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Per iniziale a sviluppare con jQuery si deve scaricare la libreria dal &lt;a href="http://jquery.com/" target="_blank"&gt;sito ufficiale&lt;/a&gt;&amp;nbsp;e inserirla nel&amp;nbsp;proprio&amp;nbsp;hosting, oppure è possibile inserirla direttamente nelle nostre pagine tramite le api di google o sempre dal sito ufficiale così:&lt;/div&gt;&lt;div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"&amp;gt;&amp;lt;/script&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;in questo modo siamo sicuri di avere sempre l' ultima versione del framework inclusa nella nostra pagina; per una maggiore documentazione sui metodi e sulle proprietà di jQuery puoi guardare nella &lt;a href="http://docs.jquery.com/Main_Page" target="_blank"&gt;documentazione in inglese&lt;/a&gt; oppure aspettare ulteriori alticoli da questo blog :)&lt;/div&gt;&lt;div&gt;Alla prossima!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2343345137566180793?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2343345137566180793/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/02/introduzione-jquery.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2343345137566180793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2343345137566180793'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/02/introduzione-jquery.html' title='Introduzione a jQuery'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-6IiKvg9R2LA/TypVKWDBugI/AAAAAAAAAFM/NsEC0IQKZcQ/s72-c/jQuery.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4299206615537913694</id><published>2012-01-30T02:42:00.000-08:00</published><updated>2012-01-30T10:39:19.492-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='table'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>Css3 pure Tablet Design</title><content type='html'>Oggi vi presento un &lt;b&gt;&lt;a href="http://explosivelab.altervista.org/Html5/css3_pure_tablet.html" target="_blank"&gt;design&lt;/a&gt;&lt;/b&gt; creato solamente con i &lt;b&gt;Css3&lt;/b&gt; e le sue varie e fantastiche proprietà.&lt;br /&gt;Con questo design ho cercato di riprodurre un generico tablet portatile, ecco la foto:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-9J90dfF7svg/TyZzT9QOQJI/AAAAAAAAAFs/TOXFSHBmu8o/s1600/css3tablet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-9J90dfF7svg/TyZzT9QOQJI/AAAAAAAAAFs/TOXFSHBmu8o/s1600/css3tablet.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;C'è anche uno slider funzionante, comunque provvederò ad aggiornarlo, infatti questa è solo la versione 0.1 :)&lt;/div&gt;&lt;span style="font-size: 1.3em;"&gt;Se vuoi vedere la demo del tablet&amp;nbsp;&lt;a href="http://explosivelab.altervista.org/Html5/css3_pure_tablet.html" target="_blank"&gt;clicca qui.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;Nella pagina troverai i sorgenti e potrai anche utilizzare lo slider creato anch' esso tramite &lt;b&gt;Css3 e le transition&lt;/b&gt;.&lt;br /&gt;Sono gradite opinioni e consigli sul Design; alla prossima.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4299206615537913694?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4299206615537913694/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/css3-pure-tablet-design.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4299206615537913694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4299206615537913694'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/css3-pure-tablet-design.html' title='Css3 pure Tablet Design'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-9J90dfF7svg/TyZzT9QOQJI/AAAAAAAAAFs/TOXFSHBmu8o/s72-c/css3tablet.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5456937988209140957</id><published>2012-01-27T08:43:00.000-08:00</published><updated>2012-01-27T08:48:30.696-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='image'/><category scheme='http://www.blogger.com/atom/ns#' term='transition'/><category scheme='http://www.blogger.com/atom/ns#' term='galleria di immagini'/><title type='text'>Galleria di immagini Css3</title><content type='html'>Nel mio precedente articolo ho spiegato come utilizzare l' elemento &lt;i&gt;figure &lt;/i&gt;e vi avevo promesso che scrivevo un tutorial per creare una &lt;b&gt;galleria di immagini con Css3&lt;/b&gt;, più in particolare questa:&lt;br /&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;a href="http://3.bp.blogspot.com/-Xkb7Enwgwdo/TyFLeFUYa6I/AAAAAAAAAFE/R6hWCKSmJNY/s1600/fig.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="286" src="http://3.bp.blogspot.com/-Xkb7Enwgwdo/TyFLeFUYa6I/AAAAAAAAAFE/R6hWCKSmJNY/s640/fig.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;Per visualizzare l'&amp;nbsp;esempio&amp;nbsp;&lt;b&gt;&lt;a href="http://explosivelab.altervista.org/Css3/Css3-circle-img.html" target="_blank"&gt;completo vai qui&lt;/a&gt;.&lt;/b&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;figure class="a"&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;figcaption&amp;gt;&amp;lt;p&amp;gt;WAR!&amp;lt;/p&amp;gt;&amp;lt;/figcaption&amp;gt;&lt;br /&gt; &amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;Questo è il codice Html5 molto semplice che ho usato per creare la prima immagine che vedere (quella degli aerei); la classe &lt;i&gt;a&lt;/i&gt;&amp;nbsp;si riferisce all' immagine di sfondo, ora vediamo il css più da vicino&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; figure.a{&lt;br /&gt;&amp;nbsp; background: url('/Nerdz/img/wallpaper2.jpg') center center;&lt;br /&gt; }&lt;/span&gt;&lt;/blockquote&gt;Essa non fa altro che impostare l' immagine di sfondo del cerchio posizionandola centralmente, ho dovuto ricorrere a questo metodo forse un po rozzo non per futili motivi, infatti in questo modo con qualunque immagine voi mettiate il cerchio sarà sempre un cerchio e non una forma strana o non prevista.&lt;br /&gt;&lt;a href="http://explosivelab.altervista.org/Css3/circle-demo1.html" target="_blank"&gt;Qui puoi trovare un esempio&lt;/a&gt; del codice che ho appena scritto.&lt;br /&gt;&lt;br /&gt;Come vedete dell' esempio passando sopra con il mouse sarà visualizzato un&amp;nbsp;tooltip&amp;nbsp;contenente il testo inserito dentro &lt;i&gt;figcaption&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Se volete invece che il tooltip sia visualizzabile a prescindere che l' utente interagisca o no con l' immagine si deve semplicemente aggiungere una classe chiamata &lt;i&gt;on &lt;/i&gt;al paragrafo&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;figure class="a"&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;figcaption&amp;gt;&amp;lt;p class="on"&amp;gt;WAR!&amp;lt;/p&amp;gt;&amp;lt;/figcaption&amp;gt;&lt;br /&gt;&amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;a href="http://explosivelab.altervista.org/Css3/circle-demo2.html" target="_blank"&gt;Qui trovi l' esempio&lt;/a&gt;&amp;nbsp;oppure guarda qui:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-iiYTYxjmjZs/TyLNTRcbiUI/AAAAAAAAAFA/RJE9pDzUOPk/s1600/war.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="284" src="http://3.bp.blogspot.com/-iiYTYxjmjZs/TyLNTRcbiUI/AAAAAAAAAFA/RJE9pDzUOPk/s320/war.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Per creare questo semplice effetto ho utilizzato la &lt;b&gt;pseudoclasse css3 :hover&lt;/b&gt; in questo modo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; figure:hover p, figure p.on{&lt;br /&gt;&amp;nbsp; padding: 2px;&lt;br /&gt;&amp;nbsp; height: 20px;&lt;br /&gt;&amp;nbsp;display: block;&lt;br /&gt;&amp;nbsp; text-align: center;&lt;br /&gt;&amp;nbsp; background: #fff;&lt;br /&gt;&amp;nbsp; margin-top: 45%;&lt;br /&gt;&amp;nbsp; font-weight: bold;&lt;br /&gt;&amp;nbsp; font-size: 1.3em;&lt;br /&gt;&amp;nbsp; color: #666;&lt;br /&gt;&amp;nbsp; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);&lt;br /&gt; }&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size: large;"&gt;Perchè non andare oltre con i Css3?&lt;/span&gt;&lt;br /&gt;Sfruttando le transizioni Css3 è possibile creare animazioni sugli elementi della pagina Html(5), quindi sarebbe possibile aggiungendo un ulteriore classe allargare le immagini a piacimento quando l' utente ci passa sopra con il mouse, vediamo come:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;figure class="a animate"&amp;gt;&lt;br /&gt;   &amp;lt;figcaption&amp;gt;&amp;lt;p class="on"&amp;gt;WAR!&amp;lt;/p&amp;gt;&amp;lt;/figcaption&amp;gt;&lt;br /&gt;&amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;a href="http://explosivelab.altervista.org/Css3/circle-demo3.html" target="_blank"&gt;Qui trovi l' esempio live.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;.animate{&lt;br /&gt;&amp;nbsp; transition-property: width, height, border-radius;&lt;br /&gt;&amp;nbsp; transition-duration: 500ms;&lt;br /&gt;&amp;nbsp; -webkit-transition-property: width, height, border-radius;&lt;br /&gt;&amp;nbsp; -webkit-transition-duration: 500ms;&lt;br /&gt;&amp;nbsp; -moz-transition-property: width, height, border-radius;&lt;br /&gt;&amp;nbsp; -moz-transition-duration: 500ms;&lt;br /&gt;&amp;nbsp; -o-transition-property: width, height, border-radius;&lt;br /&gt;&amp;nbsp; -o-transition-duration: 500ms;&lt;br /&gt; }&lt;br /&gt; .animate:hover{&lt;br /&gt;&amp;nbsp; width: 500px;&lt;br /&gt;&amp;nbsp; height: 500px;&lt;br /&gt;&amp;nbsp; border-radius: 300px;&lt;br /&gt; }&lt;/span&gt;&lt;/blockquote&gt;Tramite questa classe, &lt;i&gt;animate&lt;/i&gt;, aggiungendola all' elemento figure avremo la nostra animazione al passaggio del mouse sopra l' immagine, bello vero? Infatti questa classe aumenta gradualmente le dimensioni, da 300px sino a 500px e di conseguenza aumenta anche il border-radius.&lt;br /&gt;Per visualizzare l' esempio&amp;nbsp;&lt;b&gt;&lt;a href="http://explosivelab.altervista.org/Css3/Css3-circle-img.html" target="_blank"&gt;completo vai qui!&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Di seguito riporto il file Css3 completo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt; figure{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    float: left;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    width: 300px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    height: 300px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    border-radius: 200px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    box-shadow: inset 0 40px 50px rgba(0, 0, 0, 0.2),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                inset 0 -40px 50px rgba(0, 0, 0, 0.2),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                inset 0 0 3px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                0 0 3px 1px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    border: 5px solid #fff;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  .animate{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    transition-property: width, height, border-radius;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    transition-duration: 500ms;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    -webkit-transition-property: width, height, border-radius;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    -webkit-transition-duration: 500ms;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    -moz-transition-property: width, height, border-radius;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    -moz-transition-duration: 500ms;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    -o-transition-property: width, height, border-radius;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    -o-transition-duration: 500ms;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  .animate:hover{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    width: 500px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    height: 500px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    border-radius: 300px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figure:hover{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    cursor: pointer;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    box-shadow: inset 0 50px 30px rgba(0, 0, 0, 0),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                inset 0 -50px 30px rgba(0, 0, 0, 0),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                inset 0 0 3px 1px rgba(0, 0, 0, 0.3),&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;                0 0 3px 1px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figure:active{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figure.a{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    background: url('/Nerdz/img/wallpaper2.jpg') center center;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figure.b{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    background: url('/Nerdz/img/futurama2.jpg') center center;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figure.c{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    background: url('/Nerdz/img/futurama1.jpg') center center;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figcaption p{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    display: none;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  figure:hover p, figure p.on{&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    padding: 2px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    height: 20px;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    display: block;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    text-align: center;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    background: #fff;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    margin-top: 45%;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    font-weight: bold;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    font-size: 1.3em;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    color: #666;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="webkit-line-number"&gt;&lt;/td&gt;&lt;td class="webkit-line-content"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;  }&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5456937988209140957?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5456937988209140957/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/galleria-di-immagini-css3.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5456937988209140957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5456937988209140957'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/galleria-di-immagini-css3.html' title='Galleria di immagini Css3'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Xkb7Enwgwdo/TyFLeFUYa6I/AAAAAAAAAFE/R6hWCKSmJNY/s72-c/fig.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6470094430768690755</id><published>2012-01-26T04:49:00.000-08:00</published><updated>2012-01-27T07:49:39.535-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Figure'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Figcaption'/><title type='text'>Figure e Figcaption con Css3</title><content type='html'>&lt;div class="tr_bq"&gt;L' elemento &lt;b&gt;Figure &lt;/b&gt;è un nuovo tag introdotto grazie a&amp;nbsp;&lt;b&gt;Html5&lt;/b&gt;&amp;nbsp;che insieme a &lt;b&gt;Figcaption&lt;/b&gt; permette di rappresentare un blocco distinto di informazioni in un testo, come una immagine, un grafico, tabelle, codici o altro ancora.&lt;/div&gt;Questo elemento è molto utile in quanto facilità la formattazione del testo separando i due contenuti (testo e blocco) senza spezzare il flusso del documento stesso e grazie al secondo elemento &lt;i&gt;Figcaption&lt;/i&gt; possiamo introdurre un ulteriore informazione per descrivere meglio il contenuto qual' ora per esempio fosse un immagine.&lt;br /&gt;Sintassi base:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;lt;figure&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;img src="/immagine1" alt="Immagine uno" /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;figcaption&amp;gt;Descrizione del' immagine&amp;lt;/figcaption&amp;gt;&lt;br /&gt;&amp;lt;/figure&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;Come ho detto l' elemento figure non ammette solo immagini, infatti potrete benissimo trovarvi nella situazione di dover formattare un codice di esempio in questo modo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;figure&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;figcaption&amp;gt;Esemio 1.0, Javascript&amp;lt;/figcaption&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;code&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; var count = 0;&lt;br /&gt;&amp;nbsp; &amp;nbsp; while(count &amp;lt;= 100){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alert(count);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; count++;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;lt;/code&amp;gt;&lt;br /&gt;&amp;lt;/figure&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Il prossimo esempio invece, preso dal sito ufficiale del W3C presenta il tag &amp;lt;figure&amp;gt; con tre immagini all' interno:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="background-color: #fcfcfc; font-size: inherit; white-space: pre-wrap;"&gt;&amp;lt;figure&amp;gt;&lt;/span&gt; &amp;lt;img src="castle1423.jpeg" title="Etching. Anonymous, ca. 1423."&lt;br /&gt;      alt="The castle has one tower, and a tall wall around it."&amp;gt;&lt;br /&gt; &amp;lt;img src="castle1858.jpeg" title="Oil-based paint on canvas. Maria Towle, 1858."&lt;br /&gt;      alt="The castle now has two towers and two walls."&amp;gt;&lt;br /&gt; &amp;lt;img src="castle1999.jpeg" title="Film photograph. Peter Jankle, 1999."&lt;br /&gt;      alt="The castle lies in ruins, the original tower all that remains in one piece."&amp;gt;&lt;br /&gt; &amp;lt;figcaption&amp;gt;The castle through the ages: 1423, 1858, and 1999 respectively.&amp;lt;/figcaption&amp;gt;&lt;br /&gt;&lt;span style="background-color: #fcfcfc; font-size: inherit; white-space: pre-wrap;"&gt;&amp;lt;/figure&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;Grazie a questi due nuovi elementi di Html5 abbiamo la possibilità di avere una maggiore flessibilità nel caso dobbiamo intervenire sugli stili dell' elemento stesso; nel caso di immagini &amp;nbsp;lavorando un po' con le nuove proprietà Css3 possiamo creare, come al solito, fantastici effetti almeno dal mio punto di vista ma spero anche dal vostro. ^^&lt;br /&gt;Nel prossimo articolo, infatti, spiegherò come creare questo &lt;b&gt;design con Css3 &lt;/b&gt;contenente delle immagini(la seconda immagine rappresenta lo stato :hover):&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Xkb7Enwgwdo/TyFLeFUYa6I/AAAAAAAAAFE/R6hWCKSmJNY/s1600/fig.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="286" src="http://3.bp.blogspot.com/-Xkb7Enwgwdo/TyFLeFUYa6I/AAAAAAAAAFE/R6hWCKSmJNY/s640/fig.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6470094430768690755?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6470094430768690755/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/figure-e-figcaption-con-css3.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6470094430768690755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6470094430768690755'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/figure-e-figcaption-con-css3.html' title='Figure e Figcaption con Css3'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Xkb7Enwgwdo/TyFLeFUYa6I/AAAAAAAAAFE/R6hWCKSmJNY/s72-c/fig.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4396862820641943422</id><published>2012-01-24T07:13:00.000-08:00</published><updated>2012-01-24T07:13:04.173-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Free UI'/><category scheme='http://www.blogger.com/atom/ns#' term='Cerchi css3'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>Css3 Design: Cerchi con stile</title><content type='html'>Con i &lt;b&gt;Css3 &lt;/b&gt;come abbiamo visto in&amp;nbsp;&lt;a href="http://explosivelab.blogspot.com/2012/01/only-css3-free-user-interface.html" target="_blank"&gt;questa interfaccia&lt;/a&gt;&amp;nbsp;è possibile creare fantastici effetti grafici solo tramite l' utilizzo di poche semplici proprietà; principalmente la proprietà border-radius e la box-shadow, ma è l' unione di molteplici stili che da luogo a questi design.&lt;br /&gt;Oggi vedremo come creare dei &lt;b&gt;cerchi con Css3&lt;/b&gt; nei quali possiamo inserire facilmente del testo; ecco gli esempi di oggi:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-JTxUrMBahAk/Tx7KWpRwccI/AAAAAAAAAE0/6SHo9Uw1Ra8/s1600/cerchi_css3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="227" src="http://1.bp.blogspot.com/-JTxUrMBahAk/Tx7KWpRwccI/AAAAAAAAAE0/6SHo9Uw1Ra8/s640/cerchi_css3.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Ti consiglio però di &lt;a href="http://explosivelab.altervista.org/Css3/circle_css3.html" target="_blank"&gt;visualizzare la versione live&lt;/a&gt;&amp;nbsp;nel sito ufficiale di Explosive Lab, dove potrai anche notare l' effetto &lt;i&gt;:hover&lt;/i&gt;(quando passi con il mouse sopra l' elemento) e l' effetto&amp;nbsp;&lt;i&gt;:active&lt;/i&gt;(quando clicchi l' elemento).&lt;br /&gt;In questo tutorial ti spiegherò come creare il primo effetto, gli altri due compreso il primo potrai scaricarli direttamente dal sito.&lt;br /&gt;Iniziamo!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Struttura Html(5)&lt;/span&gt;&lt;br /&gt;La struttura semantica di questo effetto è molto più semplice di quanto si possa pensare, infatti è composta da un &lt;i&gt;div&lt;/i&gt; e da un &lt;i&gt;p&lt;/i&gt;.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div class="ball"&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;Benvenuto nel mio sito, questi 3 cerchi cono stati creati interamente con i &amp;lt;em&amp;gt;css3&amp;lt;/em&amp;gt;!&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size: large;"&gt;Creiamo il cerchio&lt;/span&gt;&lt;br /&gt;Dopo avere impostato gli stili base a nostro piacimento, quale il margin, il colore di sfondo e di conseguenza quello testuale dobbiamo creare un cerchio con i Css3 proprio &lt;a href="http://explosivelab.blogspot.com/2012/01/proprieta-border-radius-e-cerchi-con.html" target="_blank"&gt;come avevo spiegato qui&lt;/a&gt;. Per chi non lo avesse letto consiglio una rapida vista dell' articolo, comunque è semplicissimo, infatti basta impostare le misure del div (height e width naturalmente identiche) e definire il border-radius a metà di quel valore. In questo caso visto che dopo definiremo un padding per il paragrafo la misura degli angoli arrotondati dovrà essere maggiore. Quindi:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;div.ball{&lt;br /&gt;&amp;nbsp; margin: 10px;&lt;br /&gt;&amp;nbsp; background-color: #444;&lt;br /&gt;&amp;nbsp; width: 200px;&lt;br /&gt;&amp;nbsp; height: 200px;&lt;br /&gt;&amp;nbsp; border-radius: 150px; /* non 100px ma 150px */&lt;br /&gt; &amp;nbsp; text-align: center;&lt;br /&gt;&amp;nbsp; border: 20px outset #eee;&lt;br /&gt;&amp;nbsp; box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5),&lt;br /&gt;&amp;nbsp; inset 0 20px 20px rgba(0, 0, 0, 0.3),&lt;br /&gt;&amp;nbsp; inset 0 -20px 20px rgba(0, 0, 0, 0.3);&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size: large;"&gt;Bordo e ombre&lt;/span&gt;&lt;br /&gt;Come potete vedere dal codice ho impostato anche un bordo di 20px per creare l' effetto 'cornice', per le sfumature invece ho usato la proprietà &lt;b&gt;box-shadow di Css3 &lt;/b&gt;meglio spiegata&amp;nbsp;&lt;a href="http://explosivelab.blogspot.com/2012/01/la-proprieta-box-shadow-css3.html" target="_blank"&gt;in un precedente articolo qui&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Centrare il testo&lt;/span&gt;&lt;br /&gt;Per centrare il testo all' interno del box ho usato il caro e vecchio &lt;i&gt;padding;&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;Ho anche aggiunto il colore del testo e ho impostato il font-weight a bold per avere il testo in grassetto.&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;div.ball p{&lt;br /&gt;&amp;nbsp; color: #ddd;&lt;br /&gt;&amp;nbsp; font-weight: bold;&lt;br /&gt;&amp;nbsp; padding: 40px 40px 40px 40px;&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;Attento, però, perchè se aumenti la larghezza del cerchio devi aumentare naturalmente il padding.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Gestire il click con i Css3&lt;/span&gt;&lt;br /&gt;Per evitare fraintendimenti non intendo con questo titoletto di spiegarvi come reindirizzare l' utente su un url con i css3 ma vi spiego come modificare il box quando l' utente lo clicca o semplicemente ci passa sopra.&lt;br /&gt;I selettori &lt;i&gt;:hover&lt;/i&gt; e &lt;i&gt;:active&lt;/i&gt; ci aiutano in questo caso e ci permetto di modificare il Css dell' elemento in questione. Ecco quindi il codice per completare il &lt;b&gt;Css3&lt;/b&gt;:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;/* se il mouse passa sopra l' elemento */&lt;br /&gt;div.ball:hover{&lt;br /&gt;&amp;nbsp; cursor: pointer;&lt;br /&gt;&amp;nbsp; box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 20px 20px rgba(0, 0, 0, 0.3),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 -20px 20px rgba(0, 0, 0, 0.3),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 30px 50px rgba(255, 255, 255, 0.1);&lt;br /&gt;}&lt;br /&gt;/* se il mouse clicca l' elemento */&lt;br /&gt;div.ball:active{&lt;br /&gt;&amp;nbsp; cursor: pointer;&lt;br /&gt;&amp;nbsp; box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 20px 20px rgba(0, 0, 0, 0.4),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 -20px 20px rgba(0, 0, 0, 0.4),&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inset 0 30px 50px rgba(255, 255, 255, 0.1);&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ricorda che &lt;a href="http://explosivelab.altervista.org/Css3/circle_css3.html" target="_blank"&gt;puoi scaricare tutto gratuitamente qui&lt;/a&gt;, enjoy!&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4396862820641943422?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4396862820641943422/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/css3-design-cerchi-con-stile.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4396862820641943422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4396862820641943422'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/css3-design-cerchi-con-stile.html' title='Css3 Design: Cerchi con stile'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-JTxUrMBahAk/Tx7KWpRwccI/AAAAAAAAAE0/6SHo9Uw1Ra8/s72-c/cerchi_css3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2732193466403193837</id><published>2012-01-23T13:45:00.000-08:00</published><updated>2012-01-23T13:45:57.136-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term=':first-letter selector'/><category scheme='http://www.blogger.com/atom/ns#' term='Css'/><title type='text'>:first-letter Css, modificare la prima lettera di un testo</title><content type='html'>Grazie ai &lt;b&gt;Css &lt;/b&gt;modificare &lt;i&gt;la prima lettera&lt;/i&gt; di un elemento Html è semplicissimo, infatti grazie al &lt;b&gt;selettore :first-letter&lt;/b&gt; &amp;nbsp;possiamo creare uno stile aggiuntivo alla prima lettera del paragrafo in questione.&lt;br /&gt;Scrivendo&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;p:first-letter{&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; color: #666;&lt;br /&gt;&amp;nbsp; font-size: 3em;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;}&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;Otteniamo questo&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-4ml5xi5SDyo/Tx3QtxZeVfI/AAAAAAAAAEk/3jn1qy8-_M8/s1600/lorem_first-letter.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-4ml5xi5SDyo/Tx3QtxZeVfI/AAAAAAAAAEk/3jn1qy8-_M8/s1600/lorem_first-letter.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Semplice vero? Purtroppo come in questo caso, se imposto un grande valore di font per la prima lettera la spaziatura con la riga sottostante è troppo elevata e questo non crea un bel effetto(vedi immagine).&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-9e82E-Dc4iM/Tx3UfzQQFwI/AAAAAAAAAE0/fmXc85x0V_Q/s1600/lorem_first-letter3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-9e82E-Dc4iM/Tx3UfzQQFwI/AAAAAAAAAE0/fmXc85x0V_Q/s1600/lorem_first-letter3.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Per ovviare questo problema devo impostare il line height a 100%. Così:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;p:first-line{&lt;br /&gt;&amp;nbsp; line-height: 100%;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;Per ottenere un effetto ancora più realistico possiamo assegnare anche un float left al selettore in questo modo:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="background-color: white; color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;p:first-letter{&lt;br /&gt; &amp;nbsp; color: #666;&lt;br /&gt;  &amp;nbsp; font-size: 3em;&lt;br /&gt; &amp;nbsp; float: left;&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;span style="background-color: white; color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: white; color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;In questo modo la prima lettera sembrerà più 'incassata', prendendo questo effetto:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-NiOgo5dhLGQ/Tx3R06sy1hI/AAAAAAAAAEs/EolQFcymRj0/s1600/lorem-first-letter2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-NiOgo5dhLGQ/Tx3R06sy1hI/AAAAAAAAAEs/EolQFcymRj0/s1600/lorem-first-letter2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="color: #666666;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2732193466403193837?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2732193466403193837/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/first-letter-css-modificare-la-prima.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2732193466403193837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2732193466403193837'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/first-letter-css-modificare-la-prima.html' title=':first-letter Css, modificare la prima lettera di un testo'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-4ml5xi5SDyo/Tx3QtxZeVfI/AAAAAAAAAEk/3jn1qy8-_M8/s72-c/lorem_first-letter.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5914118181448026098</id><published>2012-01-23T12:51:00.000-08:00</published><updated>2012-01-23T12:51:25.283-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='cerchi con css3'/><category scheme='http://www.blogger.com/atom/ns#' term='border-radius'/><title type='text'>Proprietà border radius e cerchi con Css3</title><content type='html'>La proprietà &lt;b&gt;border-radius&lt;/b&gt; di &lt;a href="http://explosivelab.blogspot.com/2011/12/introduzione-ai-css3-parte-2.html" target="_blank"&gt;Css3&lt;/a&gt; permette di arrotondare a piacimento gli angoli di un box generico, con più precisione essa definisce il raggio di 1/4 di un ellisse il quale definisce la forma dello spigolo in questione(vedi immagine sotto). Il primo valore indica il raggio orizzontale, il secondo valore indica quello verticale; se il secondo valore è omesso sarà copiato dal primo.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-vu0w44BraVg/Tx3BeD-2osI/AAAAAAAAAEc/qSNzAynE00o/s1600/corner_w3c.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="123" src="http://2.bp.blogspot.com/-vu0w44BraVg/Tx3BeD-2osI/AAAAAAAAAEc/qSNzAynE00o/s200/corner_w3c.png" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Esempio perso dal W3C&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Per creare un semplice box arrotondato possiamo utilizzare la forma più semplice del border-radius in questo modo:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq" style="background: #ddd; border-radius: 10px; padding: 10px;"&gt;border-radius: 10px;&lt;/blockquote&gt;Se volete invece avere dei lati perfettamente rotondi dovrete impostare il valore del raggio esattamente a metà del valore del' altezza nel box sul quale attuare l' effetto. In questo caso, non sapendo il valore del paragrafo utilizzo un valore del border-radius sicuramente maggiore della metà del' altezza stessa.&lt;br /&gt;&lt;blockquote class="tr_bq" style="background: #ddd; border-radius: 50px; padding: 10px;"&gt;border-radius: 50px;&lt;/blockquote&gt;Questo attributo permette anche, come introdotto inizialmente, la definizione individuale dell angolo per ogni spigolo del box.&lt;br /&gt;Infatti&lt;br /&gt;&lt;blockquote class="tr_bq" style="background: #ddd; border-radius: 50px 10px 23px 1px; padding: 10px;"&gt;border-radius: 50px 10px 23px 1px;&lt;/blockquote&gt;è uguale a:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq" style="background: #ddd; border-bottom-left-radius: 1px; border-bottom-right-radius: 23px; border-top-left-radius: 50px; border-top-right-radius: 10px; padding: 10px;"&gt;border-top-left-radius: 50px;&lt;br /&gt;border-top-right-radius: 10px;&lt;br /&gt;border-bottom-right-radius: 23px;&lt;br /&gt;border-bottom-left-radius: 1px;&amp;nbsp;&lt;/blockquote&gt;E ora un ultimo trucco... grazie a questa proprietà &lt;b&gt;Css3&lt;/b&gt;, &lt;i&gt;border-radius&lt;/i&gt;, lo ripeto ancora per farvelo restare in mente ^^, &lt;b&gt;&lt;i&gt;è possibile creare cerchi&lt;/i&gt;&lt;/b&gt;, infatti impostando un valore d' altezza e di larghezza uguali e il border-radius a metà di questo valore possiamo ottenerli senza il minimo sforzo. Ecco un esempio:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq" style="background: #ddd; border-radius: 150px; height: 300px; text-align: center; width: 300px;"&gt;height: 300px;&lt;br /&gt;width: 300px;&lt;br /&gt;border-radius: 150px;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5914118181448026098?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5914118181448026098/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/proprieta-border-radius-e-cerchi-con.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5914118181448026098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5914118181448026098'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/proprieta-border-radius-e-cerchi-con.html' title='Proprietà border radius e cerchi con Css3'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-vu0w44BraVg/Tx3BeD-2osI/AAAAAAAAAEc/qSNzAynE00o/s72-c/corner_w3c.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6907640055777421781</id><published>2012-01-20T03:31:00.000-08:00</published><updated>2012-01-20T03:53:56.096-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Css3 Box shadow'/><title type='text'>La proprietà box shadow Css3</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-72xJoVSiFcg/TxlQgmEQtoI/AAAAAAAAAEU/8AtnplTqun8/s1600/css3-box-shadow.png" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="132" src="http://2.bp.blogspot.com/-72xJoVSiFcg/TxlQgmEQtoI/AAAAAAAAAEU/8AtnplTqun8/s400/css3-box-shadow.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Css3 box-shadow&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;La&amp;nbsp;proprietà&amp;nbsp;&lt;b&gt;box-shadow Css3&amp;nbsp;&lt;/b&gt;permette la creazione di una o più ombre di un box. La proprietà accetta da 2 a 4 parametri per il posizionamento dell' ombra, una parola opzionale &lt;i&gt;inset &lt;/i&gt;per le ombre interne e un colore&amp;nbsp;anch'esso&amp;nbsp;opzionale (esadecimale o rbg/rgba).&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;box-shadow: 1px 1px 1px 0 #333;&lt;/blockquote&gt;&lt;div style="-moz-box-shadow: 1px 1px 1px 0 #333; -webkit-box-shadow: 1px 1px 1px 0 #333; border: 0px solid; box-shadow: 1px 1px 1px 0 #333; padding: 5px;"&gt;Questa è la forma più semplice della proprietà, il primo valore (1px) corrisponde alla deviazione verso destra dell' ombra, il secondo (1px) indica lo spostamento verso il basso e il terzo valore del &lt;b&gt;box-shadow&lt;/b&gt; indica il raggio di sfocatura dell' ombreggiatura, il quarto invece (0px) indica la distanza dell' ombra dal box in questione e come vedete ho omesso il 'px' cosa possibile quando il valore è '0'; infine l' ultimo ne indica il colore.Come potete notare ho applicato l' esempio a questo div, davvero semplice.&lt;br /&gt;Ps: E' possibile utilizzare oltre ai colori esadecimali anche quelli in formato rgb/rgba, esempio:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);&lt;/blockquote&gt;Questo codice genererà una ombreggiatura nera sfumata con opacità di 0.5.&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="-moz-box-shadow: -1px -1px 1px green; -webkit-box-shadow: -1px -1px 1px green; box-shadow: -1px -1px 1px green; padding: 5px;"&gt;&lt;span style="font-size: large;"&gt;Valori negativi&lt;/span&gt;&lt;br /&gt;I valori della proprietà box shadow accettano anche valori negativi, possiamo vedere l' esempio applicato a questo box; il codice in questione è questo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;box-shadow: -1px -1px 1px green;&lt;/blockquote&gt;Come vedete ho omesso il valore della distanza dell' ombreggiatura, infatti se un valore vale 0 è possibile tralasciarlo.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Ora per creare una sfumatura più complessa utilizzo il quarto valore, quello per la distanza dell' ombra. Codice:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;box-shadow: 0 0 20px 1px orange; Risultato:&lt;/blockquote&gt;&lt;div style="-moz-box-shadow: 0 0 20px 1px orange; -webkit-box-shadow: 0 0 20px 1px orange; box-shadow: 0 0 20px 1px orange; padding: 20px; text-align: center;"&gt;Sfumatura Css3 con la proprietà text-shadow!&lt;/div&gt;&lt;br /&gt;Come vedete ho ottenuto un semplice effetto di ombreggiatura totale nei contorni del box.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;La parola chiave &lt;i&gt;inset&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;Per eguagliare tutte le potenzialita o quasi di un editor grafico il &lt;b&gt;w3c&lt;/b&gt; propone anche una comoda keyword per creare ombreggiature interne. Questa parola è&lt;i&gt; inset &lt;/i&gt;ed è possibile inserirla all' inizio e alla fine della dichiarazione box-shadow css3. Esempio:&lt;br /&gt;&lt;blockquote class="tr_bq" style="-moz-box-shadow: inset 0 15px 20px #ccc; -webkit-box-shadow: inset 0 15px 20px #ccc; box-shadow: inset 0 15px 20px #ccc; padding: 10px;"&gt;box-shadow: inset 0 15px 20px #ccc;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Valori multipli&lt;/span&gt;&lt;br /&gt;Naturalmente&amp;nbsp;è possibile dare più effetti con text-shadow su un singolo box semplicemente aggiungendo una virgola alla fine della prima sfumatura e scrivendo il resto dopo di essa. Vediamo un esempio:&lt;br /&gt;&lt;blockquote class="tr_bq" style="-moz-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5), inset 0 20px 20px rgba(0, 0, 0, 0.3), 0 3px 3px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5), inset 0 20px 20px rgba(0, 0, 0, 0.3), 0 3px 3px rgba(0, 0, 0, 0.5); box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5), inset 0 20px 20px rgba(0, 0, 0, 0.3), 0 3px 3px rgba(0, 0, 0, 0.5); padding: 10px;"&gt;box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5), &lt;br /&gt;inset 0 20px 20px rgba(0, 0, 0, 0.3), &lt;br /&gt;0 3px 3px rgba(0, 0, 0, 0.5);&lt;/blockquote&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://dev.w3.org/csswg/css3-background/#the-box-shadow" target="_blank"&gt;Qui puoi trovare la referenza ufficiale del w3c.&lt;/a&gt;&lt;/div&gt;&lt;span style="font-size: large;"&gt;&lt;a href="http://explosivelab.altervista.org/Css3/css3_button4.html" target="_blank"&gt;Css3 Free UI&lt;/a&gt; con box-shadow&lt;/span&gt;&lt;br /&gt;Visto che siamo a tema ti informo che ho creato &lt;a href="http://explosivelab.altervista.org/Css3/css3_button4.html" target="_blank"&gt;questa UI con Css3&lt;/a&gt;&amp;nbsp;in particolare con la proprietà box-shadow scaricabile gratuitamente :)&lt;br /&gt;&lt;br /&gt;E infine diamo un piccolo sguardo alla compatibilità nei browser della proprietà box-shadow:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Per i browser Mozzila e Safari e Chrome dobbiamo aggiungere il solito suffisso &lt;i&gt;-webkit-&lt;/i&gt; e &lt;i&gt;-moz-&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote class="tr_bq"&gt;&lt;i&gt;-moz-box-shadow: -1px -1px 1px green;&lt;/i&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;i&gt; -webkit-box-shadow: -1px -1px 1px green;&lt;/i&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;i&gt; box-shadow: -1px -1px 1px green;&lt;/i&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Per IE&amp;lt;=8 invece, come sempre, dobbiamo usare il suo filtro &lt;i&gt;shadow&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote class="tr_bq"&gt;&lt;i&gt;filter: progid:DXImageTransform.Microsoft.Shadow(color='green', Direction=50, Strength=5);&lt;/i&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6907640055777421781?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6907640055777421781/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/la-proprieta-box-shadow-css3.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6907640055777421781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6907640055777421781'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/la-proprieta-box-shadow-css3.html' title='La proprietà box shadow Css3'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-72xJoVSiFcg/TxlQgmEQtoI/AAAAAAAAAEU/8AtnplTqun8/s72-c/css3-box-shadow.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-436238792993141190</id><published>2012-01-20T01:02:00.000-08:00</published><updated>2012-01-20T01:04:48.902-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Free user interface'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><title type='text'>Only Css3 Free User Interface</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Oggi vi presento una semplice &lt;i&gt;User Interface&lt;/i&gt; (UI) creata da me in &lt;b&gt;Css3 e Html5&lt;/b&gt; senza uso di script e immagini per creare l' effetto; il design è scaricabile gratuitamente a &lt;a href="http://only%20css3%20free%20user%20interface/" target="_blank"&gt;questo indirizzo&lt;/a&gt;.&lt;br /&gt;Ecco un immagine dell' interfaccia Css3:&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://explosivelab.altervista.org/Css3/file/css3ui.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://explosivelab.altervista.org/Css3/file/css3ui.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Css3 UI Free&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Siete&amp;nbsp;naturalmente&amp;nbsp;liberi di utilizzarla e modificarla, per vedere l' esempio in azione vai nella &lt;a href="http://explosivelab.altervista.org/Css3/css3_button4.html" target="_blank"&gt;pagina ufficiale&lt;/a&gt;.&lt;br /&gt;Aspetto vostre opinioni in merito ^^&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-436238792993141190?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/436238792993141190/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/only-css3-free-user-interface.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/436238792993141190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/436238792993141190'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/only-css3-free-user-interface.html' title='Only Css3 Free User Interface'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-7043839436797987228</id><published>2012-01-18T08:34:00.000-08:00</published><updated>2012-01-18T08:34:47.713-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Accessibilità web'/><category scheme='http://www.blogger.com/atom/ns#' term='W3C'/><title type='text'>Linee guida sul’ accessibilità dei contenuti Web, parte 1</title><content type='html'>&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-5pkzTbNo-sk/Txb0ReLYyyI/AAAAAAAAAEI/U-mVoc9zDHg/s1600/willy_coyote.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-5pkzTbNo-sk/Txb0ReLYyyI/AAAAAAAAAEI/U-mVoc9zDHg/s320/willy_coyote.jpg" width="232" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="background-color: #fafffa; color: #333333; font-family: Georgia, 'Times New Roman', Times; font-size: 15px; line-height: 22px;"&gt;Per chi non conosce i &lt;b&gt;problemi di accessibilità&lt;/b&gt; che riguardano le pagine Web, sappiate che molti utenti operano su contesti molto diversi dal nostro:&lt;/div&gt;&lt;ul style="background-color: #fafffa; color: #333333; font-family: Georgia, 'Times New Roman', Times; font-size: 15px; line-height: 22px;"&gt;&lt;li&gt;Essi possono non essere in grado di vedere, sentire, muoversi o essere in grado di trattare alcuni tipi di informazione facilmente o del tutto.&lt;/li&gt;&lt;li&gt;Essi possono avere difficoltà a leggere del testo o a comprenderlo.&lt;/li&gt;&lt;li&gt;Essi possono non essere abilitati o non avere mouse e/o tastiera.&lt;/li&gt;&lt;li&gt;Essi potrebbero avere uno schermo per solo testo, un piccolo schermo o una connessione lenta.&lt;/li&gt;&lt;li&gt;Essi possono non parlare o capire fluentemente la lingua nel quale un documento è stato scritto.&lt;/li&gt;&lt;li&gt;Essi potrebbero essere in una situazione dove i loro occhi, orecchie o mani sono occupati o interferiti. (stanno andando al lavoro oppure lavorano in un ambiente rumoroso)&lt;/li&gt;&lt;li&gt;Essi possono avere una versione precedente del browser, un browser completamente diverso, un&amp;nbsp;&lt;em&gt;voice&lt;/em&gt;&amp;nbsp;browser o un diverso sistema operativo.&lt;/li&gt;&lt;/ul&gt;&lt;div style="background-color: #fafffa; color: #333333; font-family: Georgia, 'Times New Roman', Times; font-size: 15px; line-height: 22px;"&gt;Uno sviluppatore deve considerare queste differenti situazioni durante il design di una pagina. Per esempio usando un foglio di stile per controllare lo stile del font e eliminando l’ elemento&amp;nbsp;&lt;em&gt;&lt;a href="http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_font" style="background-attachment: initial; background-clip: initial; background-color: #f8b398; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #333333; padding-bottom: 1px; padding-left: 2px; padding-right: 2px; padding-top: 1px; text-decoration: none;" target="_blank" title="elemento font"&gt;font&lt;/a&gt;&lt;/em&gt;&amp;nbsp;gli autori html avranno più controllo sulle loro pagine, rendere le pagine più accessibili a persone con ipovisione (problemi di vista) e condividere i fogli di stile spesso il tempo di download della pagina per gli utenti.&amp;nbsp;&lt;/div&gt;&lt;div style="background-color: #fafffa; color: #333333; font-family: Georgia, 'Times New Roman', Times; font-size: 15px; line-height: 22px;"&gt;&lt;u&gt;Prima parte della tradizione in italiano&lt;/u&gt; della pagina web del &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html" target="_blank"&gt;W3C&lt;/a&gt; sull’ accessibilità dei contenuti nelle pagine web.&amp;nbsp;&lt;/div&gt;&lt;div style="background-color: #fafffa; color: #333333; font-family: Georgia, 'Times New Roman', Times; font-size: 15px; line-height: 22px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: #fafffa; color: #333333; font-family: Georgia, 'Times New Roman', Times; font-size: 15px; line-height: 22px;"&gt;Titolo ufficiale:&amp;nbsp;&lt;a href="http://www.w3.org/TR/WAI-WEBCONTENT/" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; color: #333333; padding-bottom: 1px; padding-left: 2px; padding-right: 2px; padding-top: 1px; text-decoration: none;" target="_blank" title="Web Content Accessibility Guidelines 1.0"&gt;Web Content Accessibility Guidelines 1.0&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-7043839436797987228?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/7043839436797987228/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/linee-guida-sul-accessibilita-dei.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7043839436797987228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7043839436797987228'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/linee-guida-sul-accessibilita-dei.html' title='Linee guida sul’ accessibilità dei contenuti Web, parte 1'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-5pkzTbNo-sk/Txb0ReLYyyI/AAAAAAAAAEI/U-mVoc9zDHg/s72-c/willy_coyote.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5317138829130367516</id><published>2012-01-14T04:29:00.000-08:00</published><updated>2012-01-14T04:35:53.110-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial box shadow'/><category scheme='http://www.blogger.com/atom/ns#' term='Css3 button'/><title type='text'>Css3 button Tutorial con box shadow</title><content type='html'>Creare bottoni&amp;nbsp;&lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/12/introduzione-ai-css3-parte-2.html" target="_blank"&gt;Css3&lt;/a&gt;&lt;/b&gt; non è mai stato così semplice, infatti grazie alla proprietà &lt;b&gt;css3&lt;/b&gt;&amp;nbsp;&lt;b&gt;box-shadow &lt;/b&gt;è possibile ottenere ottimi risultati che possono benissimo eguagliare qualunque editor grafico. Anzi, se facciamo un paragone tra le due tecnologie (Css3 e per esempio Photoshop) sarà molto più sbrigativo creare il button con i &lt;b&gt;Css3&lt;/b&gt; applicando poche semplici regole.&lt;br /&gt;&lt;a href="http://explosivelab.altervista.org/demo/nerdz4.html" target="_blank"&gt;Qui puoi guardare un esempio&lt;/a&gt; in azione dei bottoni che andremo a creare; il tuo browser potrebbe anche non essere compatibile con il &lt;b&gt;box-shadow&lt;/b&gt; quindi ecco la immagine dei css3 button:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-PZuKE_dBbDE/TxFutjjW19I/AAAAAAAAAEA/xEXZaZY9nTU/s1600/css3_button1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-PZuKE_dBbDE/TxFutjjW19I/AAAAAAAAAEA/xEXZaZY9nTU/s1600/css3_button1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Per creare un bottone innanzi tutto ho usato il tag &lt;i&gt;button &lt;/i&gt;così da avere una maggiore flessibilità:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;button class="shadow1 color"&amp;gt;Css3 Button&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;Così facendo ho assegnato al bottone due classi, la classe &lt;i&gt;shadow1&lt;/i&gt; nel quale verrà scritto il codice che dà l' effetto al bottone, e la classe&lt;i&gt; color&lt;/i&gt; che ne definisce il colore.&lt;br /&gt;Vediamo la prima classe: &lt;i&gt;shadow1&lt;/i&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666; font-family: inherit;"&gt;.shadow1{&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;margin: 5px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;padding: 5px 10px 5px 10px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;text-align: center;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;border: 0px solid;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;box-shadow: inset 0 5px 10px &amp;nbsp;rgba(255, 255, 255, 0.4), /* ombra bianca per la sfumatura */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inset 0 1px 1px &amp;nbsp;rgba(255, 255, 255, 1), /* linea bianca sfumata in alto */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0 1px 1px rgba(0, 0, 0, 0.3), /*linea nera sfumata di contorno */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 1px 1px rgba(0, 0, 0, 0.3), /* linea nera sfumata in basso */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inset 0 13px 15px rgba(255, 255, 255, 0.4); /* ombra bianca per la sfumatura */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;border-radius: 3px;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;color: #fff;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;font-weight: bold;&lt;br /&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;In questa classe ho definito il &lt;i&gt;margin&lt;/i&gt; e il &lt;i&gt;padding&lt;/i&gt;, ho allineato il testo centralmente, definito il bordo a &lt;i&gt;0px&lt;/i&gt; cosa molto importante, impostato i bordi con una curvatura di &lt;i&gt;3px&lt;/i&gt; tramite &lt;i&gt;border-radius&lt;/i&gt;, ho impostato il colore e la formattazione del testo a &lt;i&gt;bold&lt;/i&gt;.&lt;br /&gt;Ora diamo uno sguardo più attento alla proprietà più importante, &lt;b&gt;box-shadow&lt;/b&gt;, ma prima voglio farvi una piccola introduzione.&lt;br /&gt;La proprietà &lt;b&gt;box-shadow&lt;/b&gt; accetta vari tipi di parametri, questa è la sua forma più semplice:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666;"&gt;box-shadow: 1px 1px 1px #333;&lt;/span&gt;&lt;/blockquote&gt;In questo caso ho impostato un ombra spostata a destra e in basso di &lt;i&gt;1px&lt;/i&gt; con una sfocatura di &lt;i&gt;3px&lt;/i&gt; e di colore &lt;i&gt;#333&lt;/i&gt;. Semplice vero? e per fare una ombra interna? Basta inserire il valore &lt;i&gt;inset&lt;/i&gt; nella proprietà così:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666;"&gt;box-shadow: inset 1px 1px 1px #333;&lt;/span&gt;&lt;/blockquote&gt;Ricordatevi anche che il colore può essere definito &amp;nbsp;tramite la modalità rgb/rgba anche per impostare un opacità del colore. Esempio:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666;"&gt;box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);&lt;/span&gt;&lt;/blockquote&gt;In questo caso ho impostato un ombra senza movimento, sfuocata di 10px e di colore nero sfuocato (0.3%).&lt;br /&gt;Esiste anche un altro valore accettato dal box-shadow, che ne definisce la larghezza del' ombra in questione, essa va definita in pixel dopo l' effetto di sfocatura.&lt;br /&gt;&lt;br /&gt;Ritornando a noi non è difficile capire cosa ho creato con la proprietà &lt;i&gt;box-shadow&lt;/i&gt;, infatti ho anche inserito una spiegazione al fianco di ogni operazione effettuata.&lt;br /&gt;Continuiamo&amp;nbsp;con i css.&lt;br /&gt;&lt;br /&gt;Ora dobbiamo definire lo stato del bottone &lt;i&gt;:active&lt;/i&gt; e &lt;i&gt;:hover &lt;/i&gt;che servono per dare un effetto più realistico nel callback con gli utenti:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp;.shadow1:hover{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;cursor: pointer;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;box-shadow: &amp;nbsp;/* ombra bianca per la sfumatura */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inset 0 1px 1px &amp;nbsp;rgba(255, 255, 255, 1), /* linea bianca sfumata in alto */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0 1px 1px rgba(0, 0, 0, 0.3), /*linea nera sfumata di contorno */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 1px 1px rgba(0, 0, 0, 0.3); /* linea nera sfumata in basso */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.shadow1:active{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;box-shadow: &amp;nbsp;/* ombra bianca per la sfumatura */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inset 0 1px 1px &amp;nbsp;rgba(255, 255, 255, 1), /* linea bianca sfumata in alto */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0 1px 1px rgba(0, 0, 0, 0.3), /*linea nera sfumata di contorno */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 1px 1px rgba(0, 0, 0, 0.3), /* linea nera sfumata in basso */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inset 0 5px 10px rgba(0, 0, 0, 0.2) /* linea nera sfumata alta */;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;La classe &lt;i&gt;.shadow1:hover&lt;/i&gt; sarà attivata quando l' utente posizionerà il mouse sopra il bottone, la classe &lt;i&gt;.shadow1:active&lt;/i&gt; verrà attivata quando l' utente cliccherà il bottone css3.&lt;br /&gt;&lt;br /&gt;Ora passiamo alla parte più semplice, la definizione del colore; ecco il codice Css:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.orange{ background: #f28d22; } .orange:hover{ background: #f5a652; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.red{ background: #ed3624; } .red:hover{ background: #f16153; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.green1{ background: #36be62; } .green1:hover{ background: #58cf7f; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.yellow{ background: #f9d10d; } .yellow:hover{ background: #fada3f; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.violet{ background: #c148f0; } .violet:hover{ background: #d177f4; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.blue{ background: #2e60cb; } .blue:hover{ background: #4673d5; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.light_blue{ background: #69d2f7; } .light_blue:hover{ background: #9ae1f9; }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666;"&gt;&amp;nbsp; &amp;nbsp;.brown{ background: #b38a51; } .brown:hover{ background: #c2a275; }&lt;/span&gt;&lt;/blockquote&gt;Grazie a queste 'microclassi' infatti potrai cambiare il colore semplicemente cambiando la classe &lt;i&gt;color &lt;/i&gt;con uno dei seguenti colori.&lt;br /&gt;Ma come crearne uno nuovo? Semplicissimo, vai &lt;a href="http://0to255.com/" target="_blank"&gt;qui&lt;/a&gt;, scegli un colore che ti piace e inseriscilo nel primo background, poi preleva un colore più chiaro ma della stessa sfumatura e inseriscilo nel secondo background e il gioco è fatto.&lt;br /&gt;Se vuoi riguardare i &lt;b&gt;Css3 button &lt;/b&gt;in azione &lt;a href="http://explosivelab.altervista.org/demo/nerdz4.html" target="_blank"&gt;clicca qui.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5317138829130367516?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5317138829130367516/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/css3-button-tutorial-con-box-shadow.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5317138829130367516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5317138829130367516'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/css3-button-tutorial-con-box-shadow.html' title='Css3 button Tutorial con box shadow'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-PZuKE_dBbDE/TxFutjjW19I/AAAAAAAAAEA/xEXZaZY9nTU/s72-c/css3_button1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-8352042912433653894</id><published>2012-01-12T02:55:00.000-08:00</published><updated>2012-01-14T03:17:21.987-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='text-shadow'/><title type='text'>Text Shadow Css3</title><content type='html'>Il &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/12/introduzione-ai-css3-parte-2.html" target="_blank"&gt;Css3&lt;/a&gt;&lt;/b&gt;&amp;nbsp;una ha introdotto una nuova proprietà riguardante il testo, la proprietà &lt;b&gt;text-shadow &lt;/b&gt;con lo scopo di aggiungere &lt;i&gt;l' ombreggiatura&lt;/i&gt; ad ogni lettera di un testo a cui si vuole dare l' effetto.&lt;br /&gt;La proprietà text-shadow si presenta in questo modo:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;text-shadow: 3px 3px 5px #333;&lt;/span&gt;&lt;/blockquote&gt;Se per esempio provaste ad applicare questo effetto a un testo otterreste sempre questo:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-bJxhtBrOhrI/Tw7CvbcYa2I/AAAAAAAAAD4/Pk0XH_FCZHs/s1600/css21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-bJxhtBrOhrI/Tw7CvbcYa2I/AAAAAAAAAD4/Pk0XH_FCZHs/s1600/css21.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;span style="text-align: left;"&gt;Infatti il primo valore (3px) serve per definire lo spostamento verso destra dell' ombra, il secondo valore serve ad indicare lo spostamento verso il basso, il terzo invece indica la&amp;nbsp;sfocatura&amp;nbsp;dell' ombreggiatura in questione.&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Vediamo un altro esempio:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-L7yMtuQKEFM/Tw68TappQzI/AAAAAAAAADg/JTvcMzzrDuA/s1600/css32.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-L7yMtuQKEFM/Tw68TappQzI/AAAAAAAAADg/JTvcMzzrDuA/s1600/css32.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;text-shadow: 0px 0px 3px orange;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;In questo caso ho lasciato i primi due valori a &lt;i&gt;0 &lt;/i&gt;e ho impostato la sfuocatura a 3px&amp;nbsp;così che la sfumatura prenda un effetto diverso da quello precedente, quasi come un enfasi o un testo 'fluo'.&lt;br /&gt;Terzo esempio:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-z9UtcnpNJ6s/Tw6-qpJpyNI/AAAAAAAAADw/mMtG6MNE38c/s1600/css34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-z9UtcnpNJ6s/Tw6-qpJpyNI/AAAAAAAAADw/mMtG6MNE38c/s1600/css34.png" /&gt;&lt;/a&gt;&lt;/div&gt;Nel terzo esempio ho cercato di simulare il 3D aggiungendo più di un ombra, infatti la proprietà&lt;b&gt; text-shadow&lt;/b&gt; supporta le &lt;i&gt;ombre multiple&lt;/i&gt; semplicemente mettendo una virgola e scrivendo successivamente la nuova ombreggiatura; ecco il codice:&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;text-shadow: 1px 1px 1px #999,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;2px 2px 1px #888,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;3px 3px 1px #777,&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt; 4px 4px 1px #666,&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;5px 5px 1px #555,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;6px 6px 1px #444,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;7px 7px 1px #333,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;8px 8px 1px #222,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt; 9px 9px 1px #111,&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;10px 10px 1px #000;&lt;/span&gt;&lt;/blockquote&gt;Può sembrare difficile ma invece è tutt' altro che complicato, infatti sono in tutto 10 sfumature che servono per completare la scala di grigi (da #999 a #000 che è il nero), i primi due valori invece variano da 1 a 10px per aumentare la profondità dell' ombreggiatura.&lt;br /&gt;&lt;br /&gt;Quarto esempio:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-c50YXn2iugI/Tw69RwepKzI/AAAAAAAAADo/ywWIKTh0E2o/s1600/css33.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-c50YXn2iugI/Tw69RwepKzI/AAAAAAAAADo/ywWIKTh0E2o/s1600/css33.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Per creare come nel' esempio un testo con solo il contorno dobbiamo rendere negativi alcuni valori, anche se non è il massimo della bellezza ecco il codice per crearlo:&lt;/div&gt;&lt;blockquote class="tr_bq"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;&lt;/span&gt;&lt;/blockquote&gt;Il colore della linea di contorno in questo caso è definito nel&amp;nbsp;&lt;b&gt;text-shadow&lt;/b&gt; che in questo caso è &lt;i&gt;black&lt;/i&gt;.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-8352042912433653894?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/8352042912433653894/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/text-shadow-css3.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8352042912433653894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8352042912433653894'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/text-shadow-css3.html' title='Text Shadow Css3'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-bJxhtBrOhrI/Tw7CvbcYa2I/AAAAAAAAAD4/Pk0XH_FCZHs/s72-c/css21.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-8065977163245894865</id><published>2012-01-11T05:28:00.000-08:00</published><updated>2012-01-11T05:32:28.582-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><category scheme='http://www.blogger.com/atom/ns#' term='Html5 Canvas demo'/><title type='text'>Html5 Canvas demo #2</title><content type='html'>Nell' &lt;a href="http://explosivelab.blogspot.com/2012/01/cerchi-con-canvas-html5.html" target="_blank"&gt;articolo precedente&lt;/a&gt;&amp;nbsp;ho spiegato come generare cerchi con il &lt;b&gt;Canvas&lt;/b&gt;, e non solo, infatti introducendo le due funzioni &lt;i&gt;c_arc()&lt;/i&gt; e &lt;i&gt;c_arcRandom() &lt;/i&gt;ho creato uno script in grado di creare cerchi casuali in questo modo:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-GIY_-Vx5XH8/Tw2LszGDvTI/AAAAAAAAAEc/ZRZkdcSu9as/s1600/canvas3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img src="http://3.bp.blogspot.com/-GIY_-Vx5XH8/Tw2LszGDvTI/AAAAAAAAAEc/ZRZkdcSu9as/s1600/canvas3.png" style="border-bottom-color: orange; border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: orange; border-left-style: solid; border-left-width: 1px; border-right-color: orange; border-right-style: solid; border-right-width: 1px; border-top-color: orange; border-top-style: solid; border-top-width: 1px;" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;a href="http://explosivelab.altervista.org/Canvas/canvas1.html" target="_blank"&gt;html5 canvas demo #1&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Bene, oggi vi voglio presentare la seconda &lt;b&gt;demo html5&lt;/b&gt; creata sempre con &lt;b&gt;canvas&lt;/b&gt; e&lt;b&gt; Javascript&lt;/b&gt; capace sempre di generare cerchi casualmente in un tempo preciso, allo scadere dello stesso la tela &lt;b&gt;canvas&lt;/b&gt; sarà ripulita e verranno ristampati nuovi cerchi e così via. Potrai anche variare il&lt;i&gt; raggio&lt;/i&gt; dei cerchi con le frecce direzionali rispettivamente sinistra e destra per incrementare o diminuire la misura.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: large;"&gt;&lt;a href="http://explosivelab.altervista.org/Canvas/canvas2.html" target="_blank"&gt;Per vedere la demo in azione vai qui&lt;/a&gt; &lt;/span&gt;(sito ufficiale di &lt;i&gt;Explosive Lab&lt;/i&gt;)&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Nella stessa pagina troverai una spiegazione esaustiva del codice e dell' esempio in questione, troverai anche un link a un file &lt;i&gt;.js &lt;/i&gt;con il codice completo.&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-8065977163245894865?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/8065977163245894865/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/html5-canvas-demo-2.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8065977163245894865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8065977163245894865'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/html5-canvas-demo-2.html' title='Html5 Canvas demo #2'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-GIY_-Vx5XH8/Tw2LszGDvTI/AAAAAAAAAEc/ZRZkdcSu9as/s72-c/canvas3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-878208056783176600</id><published>2012-01-09T06:23:00.000-08:00</published><updated>2012-01-09T13:32:38.799-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cerchi Canvas Html5'/><category scheme='http://www.blogger.com/atom/ns#' term='function javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas html5'/><category scheme='http://www.blogger.com/atom/ns#' term='cerchi random'/><title type='text'>Cerchi con Canvas Html5</title><content type='html'>Per designare un &lt;b&gt;cerchio&lt;/b&gt; con il &lt;b&gt;Canvas&lt;/b&gt; di &lt;b&gt;Html5&lt;/b&gt; &amp;nbsp;bisogna usare il metodo &lt;i&gt;arc()&lt;/i&gt; impostando come partenza dell' angolo a &lt;i&gt;0&lt;/i&gt; e come fine 2*PI (in javascript = &lt;i&gt;2*Math.PI&lt;/i&gt;).&lt;br /&gt;&lt;br /&gt;Questa è il metodo ufficiale che ho prelevato dal sito del &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html" target="_blank"&gt;W3C&lt;/a&gt;.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;void &lt;a href="http://dev.w3.org/html5/2dcontext/#dom-context-2d-arc"&gt;arc&lt;/a&gt;(double x, double y, double radius, double startAngle, double endAngle, optional boolean anticlockwise);&lt;/blockquote&gt;Come vedete i valori da inserire sono considerati &lt;i&gt;double &lt;/i&gt;quindi è possibile inserire valori con la virgola.&lt;br /&gt;Prima della spiegazione del metodo vediamo un esempio:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;window.onload = function(){&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; var canvas = document.getElementById('ex1');&lt;br /&gt;&amp;nbsp; var c = canvas.getContext('2d');&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; c.beginPath();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; c.arc(100, 120, 60, 0, 2*Math.PI, false);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; c.fillStyle = '#333';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; c.fill();&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Nello script in precedenza ho utilizzato la funzione &lt;b&gt;c.arc&lt;/b&gt; per creare un cerchio in &lt;b&gt;Canvas&lt;/b&gt; dove il centro di questo cerchio è dato dalle coordinate x(100) e y(120), r(60) indica il suo raggio e gli altri valori invece ( &lt;i&gt;inizio angolo&lt;/i&gt;, &lt;i&gt;fine angolo&lt;/i&gt; e l'&lt;i&gt; anticlockwise&lt;/i&gt;)sono sempre li stessi. Ho anche riempito il cerchio del colore #333 grazie a c.fillStyle che permette di impostare lo sfondo di un oggetto canvas.&lt;/div&gt;&lt;div&gt;Risultato:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-2R7JeczwwvI/TwtRp214PTI/AAAAAAAAADA/r1Jp_7s1DJ8/s1600/canvas1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-2R7JeczwwvI/TwtRp214PTI/AAAAAAAAADA/r1Jp_7s1DJ8/s1600/canvas1.png" style="border: 1px solid #333;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Un passo avanti.&lt;/div&gt;&lt;div&gt;E' possibile per esempio creare tanti cerchi nello stesso contesto canvas semplicemente riscrivendo quelle 4 righe di codice precedenti tot volte, questa tecnica però non sicuramente la più intelligente e&amp;nbsp;benché&amp;nbsp;meno sbrigativa infatti se si vuole generare un numero elevato di archi è bene creare una apposita funzione e richiamarla di volta in volta e&amp;nbsp;perché&amp;nbsp;no con un altra funzione :) .&lt;br /&gt;Prima di tutto vediamo il risultato:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-yFWMGvrnOO8/TwtVDGWEpwI/AAAAAAAAADI/M-YJ6AHFAoA/s1600/canvas2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-yFWMGvrnOO8/TwtVDGWEpwI/AAAAAAAAADI/M-YJ6AHFAoA/s1600/canvas2.png" style="border: 1px solid #333;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;i&gt;&lt;a href="http://explosivelab.altervista.org/Canvas/canvas1.html" target="_blank"&gt;per vederlo in azione vai clicca qui.&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ora vediamo come creare la semplice funzione per generare cerchi casualmente. (Se vuoi una infarinatura sulla casualità in Javascript &lt;a href="http://explosivelab.blogspot.com/2011/12/metodo-random-javascript-numeri-e.html" target="_blank"&gt;vai qui.&lt;/a&gt;)&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;    function c_arc(x, y, r, fStyle){&lt;br /&gt;&amp;nbsp; c.beginPath();&lt;br /&gt;&amp;nbsp; c.arc(x, y, r, 0, 2*Math.PI, false);&lt;br /&gt;&amp;nbsp; c.fillStyle = fStyle;&lt;br /&gt;&amp;nbsp; c.fill();&lt;br /&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Questa funzione accetta 4 parametri, due sono le rispettive coordinate spaziali &lt;i&gt;x&lt;/i&gt; e &lt;i&gt;y&lt;/i&gt;&amp;nbsp;per il posizionamento, &lt;i&gt;r&lt;/i&gt;&amp;nbsp;è il raggio del cerchio e &lt;i&gt;fStyle&lt;/i&gt; è il colore dello sfondo dell' oggetto; il resto del codice inserito nella funzione è inutile spiegarlo, infatti è identico al primo script visto in questo articolo stando dal fatto per le variabili &lt;i&gt;x&lt;/i&gt;, &lt;i&gt;y&lt;/i&gt; e &lt;i&gt;r&lt;/i&gt;.&lt;/div&gt;&lt;div&gt;Bene, grazie a questa funzione possiamo generare cerchi a volontà, ma non casualmente, infatti per farlo &amp;nbsp;abbiamo bisogno di quest' altra funzione:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; function c_arcRandom(rMax, loop, fStyle){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; var c1 = 0;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while(c1 &amp;lt;= loop){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var x = Math.floor(Math.random()*(canvas.width+1));&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var y = Math.floor(Math.random()*(canvas.height+1));&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var r = Math.floor(Math.random()*(rMax+1));&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c_arc(x, y, r, fStyle);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c1++;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Anche questa è molto semplice da capire, infatti essa accetta 3 parametri, &lt;i&gt;rMax &lt;/i&gt;che indica il massimo raggio che i cerchi potranno avere, &lt;i&gt;loop&lt;/i&gt;&amp;nbsp;indica il numero di ripetizioni da attuare, quindi il numero di cerchi da generare e &lt;i&gt;fStyle&lt;/i&gt; indica sempre il colore di riempimento.&amp;nbsp;Essa opera tramite un ciclo while che genera casualmente le tre variabili (x, y, r) chiamando poi la funzione c_arc()&amp;nbsp;per generare i cerchi.&lt;/div&gt;&lt;div&gt;Vedi lo script in azione (&lt;a href="http://explosivelab.altervista.org/Canvas/canvas1.html"&gt;http://explosivelab.altervista.org/Canvas/canvas1.html&lt;/a&gt;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-878208056783176600?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/878208056783176600/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/cerchi-con-canvas-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/878208056783176600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/878208056783176600'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/cerchi-con-canvas-html5.html' title='Cerchi con Canvas Html5'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-2R7JeczwwvI/TwtRp214PTI/AAAAAAAAADA/r1Jp_7s1DJ8/s72-c/canvas1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4243245330284244743</id><published>2012-01-04T03:30:00.000-08:00</published><updated>2012-01-04T03:34:32.052-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tag section'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Elemento section'/><title type='text'>Elemento Section di Html5</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-2nXtnXfka3M/TwQ4c-xFvvI/AAAAAAAAAC4/nvc_5nhDgmE/s1600/motivi-per-usare-html5-da-subito-700x313.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="143" src="http://4.bp.blogspot.com/-2nXtnXfka3M/TwQ4c-xFvvI/AAAAAAAAAC4/nvc_5nhDgmE/s320/motivi-per-usare-html5-da-subito-700x313.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;L' elemento &lt;b&gt;section&lt;/b&gt; di &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html" target="_blank"&gt;Html5&lt;/a&gt; rappresenta una sezione generica di un documento o di una applicazione. Una sezione è raggruppamento tematico del contenuto, tipicamente con una intestazione.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;i&gt;&amp;lt;section&amp;gt; &amp;lt;/section&amp;gt;&lt;/i&gt;&lt;/blockquote&gt;Esempi di sezione potrebbero essere una suddivisione in capitoli di una pagina, in questo caso ogni capitolo rappresenterebbe una sezione con un suo heading separato. Un altro esempio potrebbe essere la suddivisione di una pagina in sezione, una per l' introduzione, una per le news e l' altra per i contatti.&lt;br /&gt;&lt;br /&gt;Ora vediamo un semplice esempio di utilizzo del&lt;b&gt; tag section&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;header&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h1&amp;gt;Frutta fresca&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/header&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;section&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h1&amp;gt;Limoni&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;p&amp;gt;I limoni sono buonissimi&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/section&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;section&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h1&amp;gt;Fragole&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;p&amp;gt;Ma le fragole sono imbattibili.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/section&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #666666; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Come vedete ho utilizzato due sezioni con un tag &amp;lt;h1&amp;gt; ciascuno, cosa molto conveniente per dare più attinenza alla pagina in questione; il tag &lt;b&gt;&amp;lt;section&amp;gt;&lt;/b&gt; è molto utile, ma attenzione, il w3c &lt;u&gt;sconsiglia&lt;/u&gt; di utilizzarlo per contenuti redistribuiti nella pagina (come nei blog gli articoli) infatti esso non è un contenuto generico ma deve rappresentare una parte ben precisa del documento.&lt;br /&gt;&lt;br /&gt;Ringrazio il &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html" target="_blank"&gt;W3C&lt;/a&gt; per gli spunti, se vuoi maggiori informazioni guarda la documentazione ufficiale sul' elemento &amp;lt;section&amp;gt; &lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element" target="_blank"&gt;qui.&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4243245330284244743?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4243245330284244743/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2012/01/elemento-section-di-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4243245330284244743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4243245330284244743'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2012/01/elemento-section-di-html5.html' title='Elemento Section di Html5'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-2nXtnXfka3M/TwQ4c-xFvvI/AAAAAAAAAC4/nvc_5nhDgmE/s72-c/motivi-per-usare-html5-da-subito-700x313.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2200312516043625049</id><published>2011-12-31T05:10:00.000-08:00</published><updated>2011-12-31T05:37:27.194-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Attributo Placeholder'/><category scheme='http://www.blogger.com/atom/ns#' term='Placeholder Htm5'/><title type='text'>Attributo Placeholder di Html5</title><content type='html'>&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-dpjGWmBE7qA/Tv8KaB7x9TI/AAAAAAAAAEU/Y4Gk3H8Iwwg/s1600/placeholder+html5.jpg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="133" src="http://4.bp.blogspot.com/-dpjGWmBE7qA/Tv8KaB7x9TI/AAAAAAAAAEU/Y4Gk3H8Iwwg/s200/placeholder+html5.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Placeholder Html5 Attribute&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;L' attributo &lt;b&gt;placeholder&lt;/b&gt; di &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html" target="_blank"&gt;Html5&lt;/a&gt; &lt;/b&gt;rappresenta un breve suggerimento (una parola o una frase breve) al fine di favorire l' utente con l' inserimento dei dati nel campo. Come suggerimento nel &lt;b&gt;placeholder&lt;/b&gt; potresti inserire un valore di esempio o una breve descrizione del formato previsto.&lt;br /&gt;Ecco un semplice esempio di utilizzo:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;p&amp;gt;&amp;lt;label&amp;gt;Name: &amp;lt;input type="text" name="fullname" &lt;span style="color: #e69138;"&gt;placeholder="Bred Follinbarg"&lt;/span&gt;&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;p&amp;gt;&amp;lt;label&amp;gt;Address: &amp;lt;input type="email" name="address" &lt;span style="color: #e69138;"&gt;placeholder="dudu@example.net"&lt;/span&gt;&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;p&amp;gt;&amp;lt;label&amp;gt;Password: &amp;lt;input type="password" name="password" &lt;span style="color: #e69138;"&gt;placeholder="*******"&lt;/span&gt;&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;p&amp;gt;&amp;lt;label&amp;gt;Description: &amp;lt;input type="text" name="desc" &lt;span style="color: #e69138;"&gt;placeholder="Email Account"&lt;/span&gt;&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Prova questo stesso esempio nel sito ufficiale di Explosive Lab. &lt;a href="http://explosivelab.altervista.org/Html5/placeholder-html5.html" target="_blank"&gt;Demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Per lunghi suggerimenti o altro testo aggiuntivo si consiglia di utilizzare l' attributo&amp;nbsp;&lt;i&gt;title&lt;/i&gt;; ricordo anche che l' attributo&amp;nbsp;&lt;b&gt;placeholder&lt;/b&gt;&amp;nbsp;non deve essere usato in&amp;nbsp;alternativa&amp;nbsp;al&amp;nbsp;&lt;i&gt;label&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Supporto nei browser&lt;/span&gt;&lt;br /&gt;Purtroppo l' Html5 essendo ancora in draft quindi in via di sviluppo l' attributo placeholder non è ancora pienamente supportato da tutti i browser. Di seguito riporto una semplice tabella esplicativa riguardo ai browser e al supporto dell' attributo:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&amp;nbsp;Safari 5.1 (supportato)&lt;/li&gt;&lt;li&gt;Firefox 8(supportato)&lt;/li&gt;&lt;li&gt;Opera 11.1 (supportato)&lt;/li&gt;&lt;li&gt;Chrome 15 (supportato)&lt;/li&gt;&lt;li&gt;IE 6,7,8,9 (non supportato)&lt;/li&gt;&lt;/ol&gt;Vai &lt;a href="http://www.findmebyip.com/litmus/#target-selector" target="_blank"&gt;qui&lt;/a&gt; per maggiori dettagli.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2200312516043625049?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2200312516043625049/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/attributo-placeholder-di-html5.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2200312516043625049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2200312516043625049'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/attributo-placeholder-di-html5.html' title='Attributo Placeholder di Html5'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-dpjGWmBE7qA/Tv8KaB7x9TI/AAAAAAAAAEU/Y4Gk3H8Iwwg/s72-c/placeholder+html5.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-8920461138897194217</id><published>2011-12-28T11:26:00.001-08:00</published><updated>2011-12-28T11:29:24.705-08:00</updated><title type='text'>Aggiornata l' home page di Explosive Lab</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-jKWDab7eAd4/TvttVOmJpGI/AAAAAAAAAEI/Vh1347f6OCo/s1600/home.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="248" src="http://1.bp.blogspot.com/-jKWDab7eAd4/TvttVOmJpGI/AAAAAAAAAEI/Vh1347f6OCo/s640/home.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://explosivelab.altervista.org/" style="font-size: x-large;"&gt;Aggiornata l' home page di Explosive Lab&lt;/a&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;(link)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-8920461138897194217?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/8920461138897194217/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/blog-post.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8920461138897194217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/8920461138897194217'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/blog-post.html' title='Aggiornata l&apos; home page di Explosive Lab'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-jKWDab7eAd4/TvttVOmJpGI/AAAAAAAAAEI/Vh1347f6OCo/s72-c/home.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6924949565186916502</id><published>2011-12-25T15:21:00.000-08:00</published><updated>2011-12-25T15:28:43.529-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='It&apos;s so easy'/><category scheme='http://www.blogger.com/atom/ns#' term='tumblr'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><title type='text'>Auguri e buone feste a tutti (in ritardo)</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-iBtRACBSZ0s/Tvev94WhWhI/AAAAAAAAAD8/T6f2_jwF-oI/s1600/it%2527s+so+easy.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="100" src="http://3.bp.blogspot.com/-iBtRACBSZ0s/Tvev94WhWhI/AAAAAAAAAD8/T6f2_jwF-oI/s320/it%2527s+so+easy.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Cari lettori oggi vi auguro i miei più pieni auguri di natale (da notare l' orario dell' articolo, asd), come mio regalo oggi vi presento il &lt;a href="http://explosivelab.tumblr.com/" target="_blank"&gt;blog di supporto di &lt;b&gt;Explosive Lab su&lt;/b&gt; &lt;i&gt;Tumblr&lt;/i&gt;&lt;/a&gt;&amp;nbsp;chiamato &lt;a href="http://explosivelab.tumblr.com/" target="_blank"&gt;It's so Easy!&lt;/a&gt;, in esso oltre a essere disponibili sotto forma di link veloci tutti gli articoli di questo blog potete anche trovare nuovi approfondimenti su tematiche sempre inerenti a: &amp;nbsp;&lt;b&gt;Html5, Css3, Javascript, Canvas e molto altro ancora; &lt;/b&gt;&lt;a href="http://explosivelab.tumblr.com/" target="_blank"&gt;entraci subito!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6924949565186916502?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6924949565186916502/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/nuovi-articoli-sul-blog-di-supporto.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6924949565186916502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6924949565186916502'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/nuovi-articoli-sul-blog-di-supporto.html' title='Auguri e buone feste a tutti (in ritardo)'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-iBtRACBSZ0s/Tvev94WhWhI/AAAAAAAAAD8/T6f2_jwF-oI/s72-c/it%2527s+so+easy.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-3289249994671800354</id><published>2011-12-20T04:44:00.000-08:00</published><updated>2011-12-20T05:34:22.498-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scorciatoie da tastiera'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5 AccessKey'/><title type='text'>Assegnare scorciatoie da tastiera con Html5</title><content type='html'>Ad ogni elemento che può essere attivato o focalizzato(focus) può essere assegnata una singola scorciatoia da tastiera per attivarlo, utilizzando l' &lt;b&gt;attributo accesskey di &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;Html5&lt;/a&gt;&lt;/b&gt;. Ricorda però che noi sviluppatori non siamo gli unici a voler assegnare queste comode scorciatoie, infatti è bene controllare prima, a differenza del browser e del sistema operativo se esistono dell accesskey già predefinite tramite javascript.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-fNIuVv6Lh3s/TvCN6IeyVOI/AAAAAAAAADk/cNaR7RlKgzw/s1600/tastiera-key.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="131" src="http://2.bp.blogspot.com/-fNIuVv6Lh3s/TvCN6IeyVOI/AAAAAAAAADk/cNaR7RlKgzw/s200/tastiera-key.jpg" width="200" /&gt;&lt;/a&gt;Di seguito ho scritto la sintassi dell' attributo &lt;b&gt;accesskey&lt;/b&gt;:&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;elemento accesskey="tasto"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Esempio:&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;lt;nav&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;lt;a href="/entra.html" accesskey="V"&amp;gt;Entra.&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;lt;a href="/esci.html" accesskey="F"&amp;gt;Esci.&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/nav&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Nel caso di questo ultimo esempio se l' utente premerà la combinazione di tasti &lt;i&gt;alt+V&lt;/i&gt; sarà reindirizzato nella pagina &lt;i&gt;/entra.html&lt;/i&gt;, nel caso clicchi &lt;i&gt;alt+F&lt;/i&gt; andrà nella pagina &lt;i&gt;/esci.hml.&lt;/i&gt;&lt;br /&gt;Come avete potuto notare assegnando una acceskey ad un elemento a (link), al susseguirsi di una precisa combinazione da tastiera si viene reindirizzati nel' apposito link; le caso di un form invece se si assegna una scorciatoia al verificarsi di essa viene impostato il focus dell' elemento in questione.&lt;br /&gt;&lt;br /&gt;Esempio:&lt;br /&gt;&amp;nbsp;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt; &amp;lt;form action="index.html"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;Cerca: &amp;lt;input type="search" name="search" accesskey="s"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Nel precedente esempio come già detto se viene utilizzata la scorciatoia sarà attivo il focus su l' input di nome &lt;i&gt;search&lt;/i&gt;;&amp;nbsp;anche l' elemento &lt;i&gt;textarea&lt;/i&gt;, allo scattare dell' evento viene attivato il focus su di esso, nel' elemento &lt;i&gt;button&lt;/i&gt; invece oltre al focus viene inviata la richiesta del form inerente alla pagina web.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-3289249994671800354?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/3289249994671800354/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/assegnare-scorciatoie-da-tastiera-con.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3289249994671800354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3289249994671800354'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/assegnare-scorciatoie-da-tastiera-con.html' title='Assegnare scorciatoie da tastiera con Html5'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-fNIuVv6Lh3s/TvCN6IeyVOI/AAAAAAAAADk/cNaR7RlKgzw/s72-c/tastiera-key.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-7895247510604301290</id><published>2011-12-19T14:06:00.000-08:00</published><updated>2011-12-20T03:53:19.354-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Html5 Funzioni Obsolete'/><title type='text'>Funzioni obsolete di Html5</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-_RbWo5Vi9aY/Tu-1Sr0_69I/AAAAAAAAADU/By8xmBfCRVI/s1600/code_obsolete_html5.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/-_RbWo5Vi9aY/Tu-1Sr0_69I/AAAAAAAAADU/By8xmBfCRVI/s200/code_obsolete_html5.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Passando da &lt;i&gt;Html4&lt;/i&gt; a&lt;b&gt; &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;Html5&lt;/a&gt;&lt;/b&gt; alcune funzioni per la formattazione di una pagina web usate in circostanze ristrette &amp;nbsp;o di uso non usuale sono state considerate obsolete. Il gruppo &lt;i&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html"&gt;W3C&lt;/a&gt;&lt;/i&gt; ha diviso queste funzioni in due categorie: quelle obsolete ma conformi e quelle obsolete e non conformi allo standard.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Funzioni obsolete ma conformi:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Non si dovrebbe specificare l' attributo 'border' su un elemento immagine. Se l' attributo è presente il suo valore deve essere 0.&lt;/li&gt;&lt;li&gt;Non si dovrebbe specificare l' attributo 'lenguage' su un elemento script. Nel caso fosse presente basta aggiungere il solito 'type="text/javascript"'.&lt;/li&gt;&lt;li&gt;Non si dovrebbe neanche più specificare, nel caso lo si faccia, l' attributo name sull' elemento a.&lt;/li&gt;&lt;/ol&gt;Queste funzioni obsolete se non corrette normalmente creano avvisi durante la validazione della pagina in questione.&lt;/div&gt;&lt;div&gt;Un altro tipo di funzioni è quello delle obsolete e non conformi allo standard, quindi fate bene attenzione, infatti questi elementi non sono più utilizzabili dopo la specifica di &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;Html5&lt;/a&gt;&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Funzioni obsolete non conformi:&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;applet &lt;/span&gt;(usa embed o object)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;acronym&lt;/span&gt; (usa abbr)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;bgsound &lt;/span&gt;(usa audio)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;dir &lt;/span&gt;(usa ul)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;frame&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;frameset&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;noframes &lt;/span&gt;(usa iframe e i Css)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;isindex &lt;/span&gt;(usa form espliciti con text field)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;listing &lt;/span&gt;(usa pre e code)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;nextid &lt;/span&gt;(usa GUIDs)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;noembed &lt;/span&gt;(usa object o embed quando è necessario il fallback)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;plaintext &lt;/span&gt;(usa il 'text/plain' MIME type)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;rb &lt;/span&gt;(inutile, usa l' elemento ruby)&lt;/li&gt;&lt;li&gt;&lt;span style="color: #93c47d;"&gt;&lt;a href="http://www.w3.org/TR/html5/obsolete.html#non-conforming-features" target="_blank"&gt;Lista completa&lt;/a&gt;&amp;nbsp;&lt;/span&gt;con pagina ufficiale del W3C.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Come vedi tutti gli elementi eliminati o quasi hanno uno o più elementi sostitutivi adatti per svolgere quello scopo, per questo questi elementi sono stati considerati inutili e definiti come obsoleti; ciò aiuta molto la crescita del &lt;b&gt;markup Html5 come futuro standard&lt;/b&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-7895247510604301290?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/7895247510604301290/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/funzioni-obsolete-di-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7895247510604301290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7895247510604301290'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/funzioni-obsolete-di-html5.html' title='Funzioni obsolete di Html5'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-_RbWo5Vi9aY/Tu-1Sr0_69I/AAAAAAAAADU/By8xmBfCRVI/s72-c/code_obsolete_html5.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4347082316162211470</id><published>2011-12-13T12:47:00.000-08:00</published><updated>2011-12-13T13:23:39.179-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ran'/><title type='text'>Metodo Random Javascript, numeri e scritte casuali.</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Rji_RfDsnrY/TufBLFuJf5I/AAAAAAAAACk/NtIXQysXFfM/s1600/numbers.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="193" src="http://3.bp.blogspot.com/-Rji_RfDsnrY/TufBLFuJf5I/AAAAAAAAACk/NtIXQysXFfM/s200/numbers.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Con &lt;b&gt;Javascript&lt;/b&gt; è possibile generare numeri casuali tramite il metodo &lt;b&gt;random()&lt;/b&gt; dell' oggetto &lt;i&gt;Math&lt;/i&gt;, infatti esso genera un numero casuale da 0 a 1 (decimali compresi); in questo articolo spiegherò il funzionamento del metodo e come visualizzare scritte casualmente.&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;var n = Math.random();&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;alert(n);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;//0.3736578756943345&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Come puoi vedere il risultato è un numero molto piccolo, quasi inutile per i nostri script, infatti solitamente è meglio usare numeri interi per creare rotazioni casuali di scritte o annunci; vediamo come:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;var n = Math.random()*11;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;alert(n);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;//&lt;/span&gt;7.972552427323535&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;In questo caso il risultato è un numero reale con virgola da 1 a 10; ora basta togliere la parte decimale con il metodo &lt;b&gt;Math.floor()&lt;/b&gt; che restituisce il numero intero arrotondato per difetto.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;var n = Math.floor(Math.random()*11);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alert(n);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;//3&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Perfetto, ora quando la variabile sarà dichiarata assumerà un valore da 1 a 10, se per esempio vogliamo avere un range più vasto basta moltiplicare il metodo Math.random() per il numero massimo al quale si somma 1; per esempio:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;var n = Math.floor(Math.random()*101);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;alert(n);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;//42&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Ora vediamo come creare un visualizzatore di testo random con l' aiuto del random javascript.&lt;br /&gt;&lt;div&gt;Creo un array contenente gli elementi o le scritte da visualizzare.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;var text = new Array('&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;Questo è il primo elemento&amp;lt;/p&amp;gt;',&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; '&amp;lt;p&amp;gt;Questo è il secondo elemento&amp;lt;/p&amp;gt;',&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; '&amp;lt;p&amp;gt;Questo è il terzo elemento&amp;lt;/p&amp;gt;',&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; '&amp;lt;p&amp;gt;Questo è il quarto elemento&amp;lt;/p&amp;gt;',&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; '&amp;lt;p&amp;gt;Questo è il quinto elemento&amp;lt;/p&amp;gt;'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;Poi creo la variabile che conterrà il numero generato casualmente tramite la funzione &lt;i&gt;Math.floor(Math.random()*(text.length)&lt;/i&gt; che genera un numero casuale da 0 sino alla lunghezza dell' array prelevata tramite &lt;i&gt;length&lt;/i&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; var n = Math.floor(Math.random()*(text.length));&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Infine stampo il testo casuale da visualizzare.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;document.write(text[n]);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Semplice Vero?&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4347082316162211470?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4347082316162211470/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/metodo-random-javascript-numeri-e.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4347082316162211470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4347082316162211470'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/metodo-random-javascript-numeri-e.html' title='Metodo Random Javascript, numeri e scritte casuali.'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Rji_RfDsnrY/TufBLFuJf5I/AAAAAAAAACk/NtIXQysXFfM/s72-c/numbers.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2747918078044794715</id><published>2011-12-09T04:43:00.001-08:00</published><updated>2011-12-09T06:21:53.725-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pagine Gateway'/><category scheme='http://www.blogger.com/atom/ns#' term='Pagine Doorway'/><title type='text'>Pagine Doorway / Gateway</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-1MkZGGIZicc/TuIKB1lYh_I/AAAAAAAAADI/ocdAH34Om3w/s1600/doorway.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/-1MkZGGIZicc/TuIKB1lYh_I/AAAAAAAAADI/ocdAH34Om3w/s200/doorway.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Le pagine &lt;b&gt;Doorway&lt;/b&gt; o pagine &lt;b&gt;Gateway&lt;/b&gt;, letteralmente pagine di entrata, sono pagine ottimizzate per i motori di ricerca solo per precise parole chiave allo scopo di reindirizzare l' utente alla home page del sito da pubblicizzare. In poche parole le pagine &lt;b&gt;Doorway&lt;/b&gt; sono pagine estremamente ottimizzate per i motori di ricerca allo scopo di raggiungere i primi posti nella &lt;i&gt;SERP&lt;/i&gt;&amp;nbsp;(pagina dei risultati del motore di ricerca).&lt;br /&gt;&lt;br /&gt;Come detto in &lt;a href="http://explosivelab.blogspot.com/2011/10/seo-search-engine-optimization.html" target="_blank"&gt;questo articolo&lt;/a&gt; queste pagine 'di entrata' appartengono al lato oscuro del Web Marketing, ma questo è solo un punto di vista, infatti creare pagine Doorway in modo intelligente è un ottima tecnica per portare visitatori al proprio sito; purtroppo una sovraottimizzazione può portare all' oscuramento della pagina da parte dei motori di ricerca.&lt;br /&gt;&lt;br /&gt;Per creare una pagina Doorway, dopo averla ottimizzata a dovere (title,meta,h1, etc...) bisogna inserire un redirect, io solitamente uso Javascript in questo modo:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px;"&gt;&amp;lt;script language="JavaScript"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px; text-align: left;"&gt;&amp;lt;!--&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px; text-align: left;"&gt;setTimeout('location.href="http://www.tuosito.com"',3000);&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px; text-align: left;"&gt;// End --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px; text-align: left;"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #ffffdd; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Il 3000 indica il tempo in millisecondi dopo del quale si eseguirà il&amp;nbsp;redirect.&lt;br /&gt;&lt;div&gt;Così con &amp;nbsp;questo script dopo 3 secondi l' utente sarà reindirizzato verso la home page del sito allo scopo di sponsorizzare il prodotto o il sito in questione.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;E' meglio evitare di usare queste tecniche senza pensare al danno che può portare una cattiva ottimizzazione della pagina &lt;b&gt;Gateway&lt;/b&gt;, la sovraottimizzazione è penalizzata da Tutti i motori di ricerca.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2747918078044794715?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2747918078044794715/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/pagine-doorway-gateway.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2747918078044794715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2747918078044794715'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/pagine-doorway-gateway.html' title='Pagine Doorway / Gateway'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-1MkZGGIZicc/TuIKB1lYh_I/AAAAAAAAADI/ocdAH34Om3w/s72-c/doorway.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6035453708564309601</id><published>2011-12-07T11:34:00.001-08:00</published><updated>2011-12-20T03:54:58.041-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lati e diagonali'/><category scheme='http://www.blogger.com/atom/ns#' term='assi'/><category scheme='http://www.blogger.com/atom/ns#' term='Api HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><category scheme='http://www.blogger.com/atom/ns#' term='Linee'/><title type='text'>Canvas Linee, tutorial sui tipi fondamentali, diagonali, assi e lati</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;Nell' articolo precedente ho spiegato come impostare l' &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/12/canvas-linee-tutorial-sui-tipi.html"&gt;elemento Canvas&lt;/a&gt;&lt;/b&gt; e come tracciare una &lt;b&gt;linea generica&lt;/b&gt;;&amp;nbsp;in questo tutorial invece vi spiegherò come disegnare le &lt;i&gt;diagonali&lt;/i&gt;,gli &lt;i&gt;assi &lt;/i&gt;e i&lt;i&gt; lati&lt;/i&gt; della tela &lt;b&gt;Canvas&lt;/b&gt; in questione semplicemente con lo strumento linea.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-YVfRhy3j-LA/TuHwvSgrTCI/AAAAAAAAADA/75mA2ukVW1k/s1600/canvas-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="382" src="http://4.bp.blogspot.com/-YVfRhy3j-LA/TuHwvSgrTCI/AAAAAAAAADA/75mA2ukVW1k/s400/canvas-1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Di seguito riporto i modi generali per farlo, infatti ho utilizzato &lt;span class="Apple-style-span" style="color: #666666;"&gt;canvas.height &lt;/span&gt;che è una variabile che indica l' altezza della tela &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/12/canvas-linee-tutorial-sui-tipi.html"&gt;Canvas&lt;/a&gt;&lt;/b&gt; e&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;canvas.width&lt;/span&gt;&lt;/span&gt; per indicare la lunghezza di essa così da rendere compatibili le operazioni con qualunque lunghezza del riquadro utilizzato per il disegno.&lt;/div&gt;&lt;br /&gt;Ricordo che per creare una linea con Canvas si utilizza la seguente forma:&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(x,y);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(x,y);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ho inserito anche &lt;i&gt;context.lineWidth = 5&lt;/i&gt; per impostare la grandezza della linea.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Asse orizzontale &lt;/b&gt;(x)&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt; context.moveTo(0, canvas.height/2);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(canvas.width, canvas.height/2);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineWidth = 5;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Asse verticale &lt;/b&gt;(y)&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(canvas.width/2, 0);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt; context.lineTo(canvas.width/2, canvas.height);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt; context.lineWidth = 5;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Diagonale 1&lt;/b&gt; (da sinistra in alto sino a destra in basso)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(0,0);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(canvas.width, canvas.height);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineWidth = 5;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Diagonale 2&lt;/b&gt; (da sinistra in basso sino a destra in alto)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(canvas.width, 0);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(0, canvas.height);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineWidth = 5;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Lato superiore&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(0, 0);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(canvas.width,0);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.linewidth = 5;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Lato inferiore&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(0, canvas.height);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(canvas.width, canvas.height);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.linewidth = 5;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Lato destro&lt;/b&gt; (left)&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(0, 0);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(0, canvas.height);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.linewidth = 5;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Lato sinistro&lt;/b&gt; (right)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.moveTo(canvas.width, 0);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.lineTo(canvas.width, canvas.height);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.linewidth = 5;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #b6d7a8;"&gt;context.stroke();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6035453708564309601?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6035453708564309601/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/canvas-linee-tutorial-sui-tipi.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6035453708564309601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6035453708564309601'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/canvas-linee-tutorial-sui-tipi.html' title='Canvas Linee, tutorial sui tipi fondamentali, diagonali, assi e lati'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-YVfRhy3j-LA/TuHwvSgrTCI/AAAAAAAAADA/75mA2ukVW1k/s72-c/canvas-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4624383376770286593</id><published>2011-12-03T02:15:00.001-08:00</published><updated>2012-01-25T13:55:31.071-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5 Api Canvas'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><title type='text'>Api HTML5: Canvas</title><content type='html'>&lt;blockquote class="tr_bq"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;a href="http://1.bp.blogspot.com/-eSYDww9djTs/TtoGkTieJZI/AAAAAAAAACg/7NMDubCSdHk/s1600/03-01_html5_canvas_element_ld_img.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;br /&gt;&lt;img border="0" height="71" src="http://1.bp.blogspot.com/-eSYDww9djTs/TtoGkTieJZI/AAAAAAAAACg/7NMDubCSdHk/s200/03-01_html5_canvas_element_ld_img.png" width="200" /&gt;&lt;/a&gt;Il &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/12/canvas-linee-tutorial-sui-tipi.html" target="_blank"&gt;Canvas&lt;/a&gt;&lt;/b&gt;, in italiano &lt;i&gt;tela&lt;/i&gt;, è un nuovo tag &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML5&lt;/a&gt;&lt;/b&gt; che fornisce le Api per la stesura di immagini bitmap tramite javascript nel web. Questa specifica&amp;nbsp;appartenente&amp;nbsp;inizialmente ai sviluppatori di Apple passo' tra le mani di &lt;i&gt;WHATWG&lt;/i&gt; e poi da quelle del &lt;i&gt;W3C&lt;/i&gt;. Questo è un importantissimo standard che potrebbe sostituire il Flash già da subito.&lt;br /&gt;E' bene sapere inoltre che il &lt;b&gt;Canvas&lt;/b&gt; è un Api a basso livello e richiede una gestione manuale di tutte le interattività; esso principalmente è stato creato per avere una superficie dove renderizzare in brevi tempi &lt;b&gt;bitmap&lt;/b&gt;. Oltre per creare effetti grafici il Canvas può essere utilizzato per creare animazioni o giochi anche complessi compatibili con qualunque browser o dispositivo mobile che lo supporta.&lt;br /&gt;&lt;pre style="background-color: #fcfcfc; color: #222222; font-size: inherit; margin-left: 2em; white-space: pre-wrap;"&gt;&lt;/pre&gt;&lt;blockquote class="tr_bq"&gt;The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, or other visual images on the fly.&lt;/blockquote&gt;&lt;br /&gt;Per iniziare ad usare da subito l' elemento &lt;b&gt;Canvas&lt;/b&gt; dovete inserire questo codice dentro il tag body.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #474747; font-family: 'courier new', courier, monospace; font-size: 11px; white-space: pre;"&gt;&amp;lt;canvas id="example" width="500" height="500"&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;pre style="background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: #474747; font-family: 'courier new', courier, monospace; font-size: 11px; overflow-x: auto; overflow-y: auto; padding-bottom: 2px; padding-left: 0px; padding-right: 0px; padding-top: 2px; width: 530px;"&gt;Se l' elemento non è supportato questo testo lo sostituirà.&lt;br /&gt;&amp;lt;/canvas&amp;gt;&lt;/pre&gt;&lt;br /&gt;Come vedete è molto semplice, basta inserire il tag e modificare la larghezza e l' altezza (defaults: 300)e magari modificare opportunamente i Css.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Per iniziare a divertirsi con Canvas invece sarebbe meglio avere della basi anche misere di Javascript, infatti per la creazione di immagini bitmap il Canvas si basa unicamente su questo linguaggio di scripting; vediamo un esempio che disegnerà una linea retta nella mia tela.&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;  //creo una funzione che si attiva appena la pagina si carica.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;  window.onload = function(){&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    //trovo la tela 'example' nel documento&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    var canvas = document.getElementById('example');&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    //impostop il contesto 2d&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    var context = canvas.getContext('2d');&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    //traccio una linea&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    context.moveTo(100,150);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    context.lineTo(450,50);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;    context.stroke();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace; font-size: 11px; white-space: pre;"&gt;  &lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;};&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;Risultato:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #474747; font-family: 'courier new', courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Ecpyr3mSHHM/TtoHxU5YWwI/AAAAAAAAACw/tOlLShorQnc/s1600/HTML5-canvas.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="111" src="http://1.bp.blogspot.com/-Ecpyr3mSHHM/TtoHxU5YWwI/AAAAAAAAACw/tOlLShorQnc/s320/HTML5-canvas.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Nell' esempio precedente ho solo mostrato una piccolissima parte del Canvas, infatti esso ha una grossa moltitudine di elementi totalmente utilizabili, eccone alcuni:&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Linea&lt;/li&gt;&lt;li&gt;Arco, curva quadrata, curva di bezier&lt;/li&gt;&lt;li&gt;Angoli arrotondati&lt;/li&gt;&lt;li&gt;Forme personalizzate&lt;/li&gt;&lt;li&gt;Rettangolo, cerchio, semi cerchio&lt;/li&gt;&lt;li&gt;Colore di sfondo e di linea&lt;/li&gt;&lt;li&gt;Gradiente lineare e radiale, pattern&lt;/li&gt;&lt;li&gt;Specifiche per immagini e testo&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.w3.org/TR/html5/the-canvas-element.html" target="_blank"&gt;Clicca qui&lt;/a&gt; per visitare la pagina ufficiale della specifica.&lt;br /&gt;&lt;a href="http://explosivelab.blogspot.com/2011/12/canvas-linee-tutorial-sui-tipi.html"&gt;Qui&lt;/a&gt; puoi anche trovare un tutorial sulle linee fondamentali del Canvas.&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4624383376770286593?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4624383376770286593/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/canvas-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4624383376770286593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4624383376770286593'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/canvas-html5.html' title='Api HTML5: Canvas'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-eSYDww9djTs/TtoGkTieJZI/AAAAAAAAACg/7NMDubCSdHk/s72-c/03-01_html5_canvas_element_ld_img.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-1470752590458632867</id><published>2011-12-01T09:13:00.001-08:00</published><updated>2011-12-01T10:04:25.607-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='introduzione'/><title type='text'>Introduzione ai CSS3 - parte 2</title><content type='html'>&lt;br /&gt;&lt;br /&gt;&lt;article style="color: #444444; float: left; font-family: arial; font-size: 15px; margin-top: 30px; text-shadow: rgb(250, 250, 250) 1px 1px 1px; width: 590px;"&gt;&lt;a href="http://3.bp.blogspot.com/-JLLb_trdoJM/Tte4a9mzdqI/AAAAAAAAACQ/omgqIq0HjM0/s1600/download.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-JLLb_trdoJM/Tte4a9mzdqI/AAAAAAAAACQ/omgqIq0HjM0/s1600/download.jpg" /&gt;&lt;/a&gt;&lt;h2 style="color: #239800; font-family: Quicksand, sans-serif; font-size: 25px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;Introduzione ai CSS3&lt;/h2&gt;I&amp;nbsp;&lt;b&gt;CSS3&lt;/b&gt;&amp;nbsp;si basano modulo per modulo ai precedenti CSS2 usando questa specifica come proprio nucleo, così facendo essi sono completamente compatibili con i vecchi CSS; ciò vuol dire che se hai mai scritto uno stile CSS validato con i vecchi standard esso sarà compatibile con la nuova specifica&amp;nbsp;&lt;b&gt;CSS3&lt;/b&gt;.&lt;/article&gt;&lt;article class="multi_2" style="-webkit-column-count: 2; -webkit-column-gap: 20px; -webkit-column-rule-color: rgb(35, 152, 0); -webkit-column-rule-style: solid; -webkit-column-rule-width: 2px; color: #444444; float: left; font-family: arial; font-size: 15px; margin-top: 30px; text-shadow: rgb(250, 250, 250) 1px 1px 1px; width: 590px;"&gt;&lt;a href="http://www.w3.org/Style/CSS/current-work" style="color: #239800; text-decoration: none;" target="_blank" title="CSS current work&amp;amp; how to participate"&gt;Qui&lt;/a&gt;&amp;nbsp;puoi trovare lo stato ufficiale dello standard; come puoi vedere i lavori sono presi abbastanza con comodo, ma questo è necessario per una avere buona stesura del linguaggio.&lt;br /&gt;Il World Wide Web Consortium ha annunciato che sarà pronto per il&amp;nbsp;&lt;b&gt;luglio 2014&lt;/b&gt;, da questo puoi capire fin da subito che i&amp;nbsp;&lt;b&gt;CSS3&lt;/b&gt;, attualmente, non sono completamente supportati da tutti i browser, anche se la disattenzione degli stessi utenti che non lo aggiornano compromettono maggiormente l'&amp;nbsp;&lt;b&gt;incompatibilità&lt;/b&gt;&amp;nbsp;di uno stile.&lt;br /&gt;Questo non significa che un sito web non possa apparire uguale davanti a tutti browser, anzi, è un traguardo che tutti i buoni sviluppatori web dovrebbero avere, poi sta a te decidere secondo la tua ragione; se pensi che la&amp;nbsp;&lt;b&gt;compatibilità cross-browser&lt;/b&gt;&amp;nbsp;sia una lotta inutile fortunatamente sei libero di sviluppare come meglio credi.&lt;/article&gt;&lt;article style="float: left; font-family: arial; font-size: 15px; margin-top: 30px; text-shadow: rgb(250, 250, 250) 1px 1px 1px; width: 590px;"&gt;&lt;h2 style="color: #239800; font-family: Quicksand, sans-serif; font-size: 25px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"&gt;Migliorie dei CSS3 rispetto ai CSS2&lt;/h2&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;I&amp;nbsp;&lt;/span&gt;&lt;b style="color: #444444;"&gt;CSS3&lt;/b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&amp;nbsp;rispetto ai CSS2 sono completamente&amp;nbsp;&lt;/span&gt;&lt;b style="color: #444444;"&gt;modulari&lt;/b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;, questo denota una profonda modifica alla struttura del linguaggio. Di seguito riporto i moduli più importanti:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="color: #6aa84f;"&gt;&lt;b&gt;Selectors&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;div class="li_desc" style="border-bottom-color: rgb(32, 136, 72); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(32, 136, 72); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(32, 136, 72); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(32, 136, 72); border-top-style: dashed; border-top-width: 1px; color: #444444; font-style: italic; margin-left: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;I Selettori sono dei pattern che selezionano gli elementi in un documento HTML o XML, essi esitono sin dai CSS1 e sono stati ampliati maggiormente con l' avvento dei CSS3...&lt;/div&gt;&lt;li style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="color: #6aa84f;"&gt;&lt;a href="http://explosivelab.blogspot.com/2011/11/generare-colori-casuali-con-javascript.html"&gt;&lt;b&gt;CSS Color&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;div class="li_desc" style="border-bottom-color: rgb(32, 136, 72); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(32, 136, 72); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(32, 136, 72); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(32, 136, 72); border-top-style: dashed; border-top-width: 1px; color: #444444; font-style: italic; margin-left: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;I CSS3 utilizza le proprietà relative ai colori per il testo, lo sfondo, i bordi e altre parti del documento stesso. Nella nuova specifica i CSS3 aggiunge nuovi metoti per la definizione del colore...&lt;/div&gt;&lt;li style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="color: #6aa84f;"&gt;&lt;b&gt;CSS Multi-column Layout&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;div class="li_desc" style="border-bottom-color: rgb(32, 136, 72); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(32, 136, 72); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(32, 136, 72); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(32, 136, 72); border-top-style: dashed; border-top-width: 1px; color: #444444; font-style: italic; margin-left: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;I sistemi a griglia sono fondamentali per l' impaginazione, nei CSS3 infatti è stato introdotto un nuovo modulo per l' impaginazione web a colonne multiple...&lt;/div&gt;&lt;li style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="color: #6aa84f;"&gt;&lt;b&gt;CSS Text Level 3&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;div class="li_desc" style="border-bottom-color: rgb(32, 136, 72); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(32, 136, 72); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(32, 136, 72); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(32, 136, 72); border-top-style: dashed; border-top-width: 1px; color: #444444; font-style: italic; margin-left: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;Questo modulo definisce le modalità per la manipolazione del testo e le specifiche per il modello di elaborazione, essa copre le interruzioni di riga, l' allineamento, la gestione degli spazi, la decorazione del testo e la sua trasformazione...&lt;/div&gt;&lt;/ul&gt;&lt;/article&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-1470752590458632867?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/1470752590458632867/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/12/introduzione-ai-css3-parte-2.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1470752590458632867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1470752590458632867'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/12/introduzione-ai-css3-parte-2.html' title='Introduzione ai CSS3 - parte 2'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-JLLb_trdoJM/Tte4a9mzdqI/AAAAAAAAACQ/omgqIq0HjM0/s72-c/download.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5972746028660140634</id><published>2011-11-26T02:13:00.001-08:00</published><updated>2011-12-01T09:25:52.851-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Hexadecimal'/><category scheme='http://www.blogger.com/atom/ns#' term='Decimal'/><category scheme='http://www.blogger.com/atom/ns#' term='Colori casuali HTML'/><title type='text'>Generare colori casuali con Javascript</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/--RW2fJUjYdg/Tte4mRqGp3I/AAAAAAAAACY/vu9I2OR7f5E/s1600/colori.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/--RW2fJUjYdg/Tte4mRqGp3I/AAAAAAAAACY/vu9I2OR7f5E/s200/colori.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Oggi vi voglio presentare una piccola classe &lt;b&gt;Javascript&lt;/b&gt; da me creata per generare colori &lt;i&gt;HTML&lt;/i&gt; casualmente.&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;Attualmente la classe è molto semplice ma essenziale, infatti puoi decidere quale codifica dare al colore che ti sarà restituito; puoi scegliere:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Hexadecimal notation &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="background-color: #ec5c64;"&gt;#EC5C64&lt;/span&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;Functional notation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="background-color: #dede06;"&gt;rgb(222,222,6)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Puoi anche decidere l' opacità di un colore se scegli la &lt;i&gt;Functional notation.&lt;/i&gt;&lt;br /&gt;Codice:&lt;br /&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt; function color_html(format,opacity){&lt;br /&gt;   if(format == 'hex'){&lt;br /&gt;     var color = '#';&lt;br /&gt;     var simble = '0123456789ABCDEF'.split('');&lt;br /&gt;     for(var i=0; i&amp;lt;=5; i++){&lt;br /&gt;       color +=  simble[Math.round(Math.random() * 15)];&lt;br /&gt;     }&lt;br /&gt;    return color;&lt;br /&gt;   }&lt;br /&gt;  &lt;br /&gt;   else if(format == 'dec' &amp;amp;&amp;amp; opacity == 0){&lt;br /&gt;     var color = 'rgb(';&lt;br /&gt;     for(var i=0; i&amp;lt;=2; i++){&lt;br /&gt;       color += Math.round(Math.random() * 254);&lt;br /&gt;       if(i&amp;lt;2){color += ',';}&lt;br /&gt;     }&lt;br /&gt;     return color += ')';&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   else if(format == 'dec' &amp;amp;&amp;amp; opacity != 0){&lt;br /&gt;     var color = 'rgba(';&lt;br /&gt;     for(var i=0; i&amp;lt;=2; i++){&lt;br /&gt;       color += Math.round(Math.random() * 254) + ',';&lt;br /&gt;       if(i==2){ color += opacity + ')' }&lt;br /&gt;     }&lt;br /&gt;     return color;&lt;br /&gt;   }  &lt;br /&gt;  }&lt;/pre&gt;&lt;br /&gt;Come vedete dallo script tutto il codice è incluso in un unica funzione chiamata &lt;i&gt;color_html() &lt;/i&gt;che accetta 2 parametri, il &lt;i&gt;format &lt;/i&gt;indica la notazione di ritorno del colore, le possibilità sono 2, o &lt;b&gt;hex&lt;/b&gt;(esadecimale) o &lt;b&gt;dec &lt;/b&gt;(decimale), nel caso scegliete dec potete anche impostare l' opacità da 0.1 a 1 per variare l' opacità del colore stesso.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Dopo avere inserito la funzione nel codice per avere un colore esadecimale casuale per esempio basta scrivere:&lt;br /&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&amp;lt;script&amp;gt;&lt;/pre&gt;&lt;pre style="word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;  var c = color_html('hex');&lt;/span&gt;&lt;/pre&gt;&lt;pre style="word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;  //stamperà per esempio &lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #53c47c; font-family: 'Times New Roman'; white-space: normal;"&gt;#53C47C&lt;/span&gt;&lt;/pre&gt;&lt;pre style="word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;  alert(c);&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;Per avere un colore in notazione decimale senza opacità invece si scrive semplicemente:&lt;br /&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="word-wrap: break-word;"&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&amp;lt;script&amp;gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;  var c = color_html('dec');&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;  //stamperà per esempio &lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #a174f9; font-family: 'Times New Roman'; white-space: normal;"&gt;rgb(161,116,249)&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;  alert(c);&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/pre&gt;Per un colore sempre in notazione decimale con opacità basta aggiungere un altro valore (da 0.1 a 1):&lt;br /&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&amp;lt;script&amp;gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;  var c = color_html('dec',0.4);&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;  //stamperà per esempio &lt;span class="Apple-style-span" style="background-color: rgba(54, 178, 118, 0.398438); font-family: 'Times New Roman'; white-space: normal;"&gt;rgba(54,178,118,0.4)&lt;/span&gt;&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;  alert(c);&lt;/pre&gt;&lt;pre style="white-space: pre-wrap; word-wrap: break-word;"&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;Per ora è tutto, appena saranno fatte modifiche sostanziali allo script scriverò un nuovo articolo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5972746028660140634?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5972746028660140634/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/11/generare-colori-casuali-con-javascript.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5972746028660140634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5972746028660140634'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/11/generare-colori-casuali-con-javascript.html' title='Generare colori casuali con Javascript'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/--RW2fJUjYdg/Tte4mRqGp3I/AAAAAAAAACY/vu9I2OR7f5E/s72-c/colori.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-3095862965323938925</id><published>2011-11-06T05:28:00.000-08:00</published><updated>2011-11-06T10:25:05.649-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web marketing'/><category scheme='http://www.blogger.com/atom/ns#' term='ROI'/><category scheme='http://www.blogger.com/atom/ns#' term='ritorno degli investimenti'/><title type='text'>Web Marketing e ROI, ritorno degli investimenti</title><content type='html'>Il &lt;b&gt;Web Marketing&lt;/b&gt; è una branca del marketing che si occupa di tutte le strategie e tecniche per il commercio online. Esso è fondamentale durante la stesura di un progetto nel web, infatti il &lt;b&gt;Web Marketing&lt;/b&gt; prende in considerazione svariate tecniche come:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;&lt;b&gt;Posizionamento nei motori di ricerca&lt;/b&gt; (&lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/seo-search-engine-optimization.html" target="_blank"&gt;SEO&lt;/a&gt;&lt;/b&gt;).&lt;/li&gt;&lt;li&gt;&lt;b&gt;Ottimizzazione del sito&lt;/b&gt; o dell' applicazione.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Affiliazioni e banner pubblicitari&lt;/b&gt; ( campagne Pay per click, etc...).&lt;/li&gt;&lt;li&gt;&lt;b&gt;Mentioning&lt;/b&gt;:&amp;nbsp;tecnica di web marketing 2.0 che sfrutta i social network per promuovere il progetto.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Viral Marketing &lt;/b&gt;o Marketing Virale: che sfrutta l' originalità dell' idea di base per effettuare un passaparola da un gruppo ristretto di soggetti a un elevato gruppo di utenti finali. Esso per esempio è molto utile per una rapida creazione di una &lt;i&gt;mailing-list&lt;/i&gt;.&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Email Marketing&lt;/b&gt;:&lt;b&gt;&amp;nbsp;&lt;/b&gt;invio di massa di e-mail pubblicitarie a una lista di utenti inscritti a una mailing-list.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Naturalmente le strategie di &lt;b&gt;Web Marketing&lt;/b&gt; sono molto più numerose da quelle da me citate, infatti esso è costantemente in continua evoluzione; il continuo sviluppo delle tecnologie del web provoca il continuo evolversi di questo&amp;nbsp;business.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Ma Cos'è il ROI?&lt;/span&gt;&lt;br /&gt;Il &lt;b&gt;ROI &lt;/b&gt;(Return on investment) in italiano &lt;i&gt;ritorno degli investimenti &lt;/i&gt;è un indicatore relativo utilizzato per capire quanto rende un capitale investito dall' azienda. Esso nel web marketing ha lo stesso utilizzo.&lt;br /&gt;&lt;br /&gt;in formula:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-lMgNZnGSWMo/TraKr4iWArI/AAAAAAAAACY/B6WEPMSHUA4/s1600/1ab2cb09d70949c7e3e03bc11555080f.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="39" src="http://1.bp.blogspot.com/-lMgNZnGSWMo/TraKr4iWArI/AAAAAAAAACY/B6WEPMSHUA4/s320/1ab2cb09d70949c7e3e03bc11555080f.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Ma ecco cosa dice&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;Andrea Boaretto&lt;/span&gt;&amp;nbsp;riguardo al &lt;i&gt;ROI&lt;/i&gt; nel &lt;b&gt;web marketing&lt;/b&gt; e nei social media.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://1.gvt0.com/vi/MvmtJ822QQ0/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/MvmtJ822QQ0&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/MvmtJ822QQ0&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-3095862965323938925?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/3095862965323938925/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/11/web-marketing-e-roi-ritorno-degli.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3095862965323938925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3095862965323938925'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/11/web-marketing-e-roi-ritorno-degli.html' title='Web Marketing e ROI, ritorno degli investimenti'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-lMgNZnGSWMo/TraKr4iWArI/AAAAAAAAACY/B6WEPMSHUA4/s72-c/1ab2cb09d70949c7e3e03bc11555080f.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5814347461353069156</id><published>2011-11-05T12:42:00.000-07:00</published><updated>2011-11-05T12:46:15.892-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Geolocation with Html5'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Api HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Web  Application'/><title type='text'>Geolocalizzazione con le API di HTML5</title><content type='html'>&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-DSicYqxgkFI/TqaaeKTHkII/AAAAAAAAABk/tlw0aclj5_Y/s1600/flat-map-of-the-world1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="193" src="http://4.bp.blogspot.com/-DSicYqxgkFI/TqaaeKTHkII/AAAAAAAAABk/tlw0aclj5_Y/s320/flat-map-of-the-world1.jpg" width="320" /&gt;&lt;/a&gt;L' &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;Html5&lt;/a&gt; API Geolocation&lt;/b&gt; definisce un interfaccia di alto livello alle informazioni sulla posizione associate al dispositivo in questione, come &lt;b&gt;latitudine e longitudine&lt;/b&gt;. Le fonti comuni di informazioni sulla posizione comprendono il GPS, segnali di rete, IP address, Wifi e altro ancora.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Per utilizzare questa API è necessario l' utilizzo di &lt;b&gt;Javascript&lt;/b&gt;, di seguito riporto un esempio esplicativo:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&amp;lt;script&amp;gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;    function showMap(position) {&lt;br /&gt;      //Qui è possibile prelevare le informazioni:&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;      var &lt;b&gt;Latitudine&lt;/b&gt; = pos.coords.longitude;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;      var &lt;b&gt;Longitudine&lt;/b&gt; = pos.coords.latitude;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; margin-left: 2em;"&gt;&lt;span class="Apple-style-span" style="font-size: inherit;"&gt;      var &lt;b&gt;Accuratezza&lt;/b&gt; = pos.coords.accuracy;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; margin-left: 2em;"&gt;&lt;span class="Apple-style-span" style="font-size: inherit;"&gt;      var &lt;b&gt;Altitudine&lt;/b&gt; = pos.coords.altitude;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; margin-left: 2em;"&gt;&lt;span class="Apple-style-span" style="font-size: inherit;"&gt;      var &lt;b&gt;Accuratezza_Altitudine&lt;/b&gt; = pos.coords.altitudeAccuracy;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; margin-left: 2em;"&gt;&lt;span class="Apple-style-span" style="font-size: inherit;"&gt;      var &lt;b&gt;heading&lt;/b&gt; = pos.coords.heading;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; margin-left: 2em;"&gt;&lt;span class="Apple-style-span" style="font-size: inherit;"&gt;      var &lt;b&gt;Velocità&lt;/b&gt; = pos.coords.speed;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;    }&lt;br /&gt;&lt;br /&gt;    //Richiesta di posizione.&lt;br /&gt;    navigator.geolocation.getCurrentPosition(showMap);&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;div style="text-align: center;"&gt;Infine vi voglio presentare una semplice &lt;b&gt;web&amp;nbsp;application&amp;nbsp;&lt;/b&gt; scritta da me in &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML5&lt;/a&gt;&lt;/b&gt; e &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/11/introduzione-ai-css3.html"&gt;CSS3&lt;/a&gt;&lt;/b&gt;:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; font-size: large;"&gt;&amp;nbsp; &lt;a href="http://explosivelab.altervista.org/geolocation.html"&gt;&lt;span class="Apple-style-span" style="color: #666666;"&gt;Geolocation with Html5&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #fcfcfc; background-image: initial; background-origin: initial; font-size: inherit; margin-left: 2em;"&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5814347461353069156?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5814347461353069156/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/geolocalizzazione-con-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5814347461353069156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5814347461353069156'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/geolocalizzazione-con-html5.html' title='Geolocalizzazione con le API di HTML5'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-DSicYqxgkFI/TqaaeKTHkII/AAAAAAAAABk/tlw0aclj5_Y/s72-c/flat-map-of-the-world1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4729293633791456461</id><published>2011-11-05T05:45:00.000-07:00</published><updated>2011-11-05T05:49:53.040-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web marketing'/><category scheme='http://www.blogger.com/atom/ns#' term='infoprodotto'/><title type='text'>Cos'è un infoprodotto?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-tqvN6WEnOdM/TrUv5v4ngkI/AAAAAAAAACQ/2eP9DaHnBno/s1600/cardboard-box-open-lg.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="248" src="http://1.bp.blogspot.com/-tqvN6WEnOdM/TrUv5v4ngkI/AAAAAAAAACQ/2eP9DaHnBno/s320/cardboard-box-open-lg.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Un &lt;b&gt;infoprodotto &lt;/b&gt;è un prodotto informativo principalmente basato sul web, esso è rivolto a un particolare gruppo di persone interessate all' argomento. La presentazione di un &lt;b&gt;infoprodotto&lt;/b&gt; può variare di volta in volta, può essere un Ebook, un video corso, un evento live,&amp;nbsp;un file mp3 e altro ancora...&lt;br /&gt;&lt;br /&gt;Per &lt;b&gt;creare un infoprodotto&lt;/b&gt; è necessario essere un esperto nell' argomento per il quale si vuole creare la guida, infatti creare un infoprodotto copiando informazioni per il web non è un modo corretto per crearlo, anzi, solitamente una nicchia di mercato cerca un infoprodotto proprio quando le informazioni che cercano non sono reperibili sul web, o sono scritte in malo modo senza approfondimenti.&lt;br /&gt;&lt;br /&gt;Per pubblicizzarlo invece ci vuole una buona dose di &lt;b&gt;web marketing, &lt;/b&gt;per esempio se io creo un video corso sull' SEO Marketing l' indicizzazione sui motori di ricerca sarà&amp;nbsp;pressoché&amp;nbsp;nulla per via del&amp;nbsp;materiale&amp;nbsp;usato; purtroppo Google non sa ancora indicizzare i contenuti di un video.&lt;br /&gt;&lt;br /&gt;Quindi se creo una guida sul web è maggiormente indicizzata?&lt;br /&gt;No, infatti il vostro&lt;b&gt; infoprodotto&lt;/b&gt; sarà vendibile sino a che resterà unico, quindi privato; infatti se la vostra guida potrà essere indicizzata dagli spyder dei motori potrà essere raggiungibile anche da&amp;nbsp;qualche&amp;nbsp;malintenzionato.&lt;br /&gt;&lt;br /&gt;Infine vi voglio ricordare che se &lt;b&gt;vendete un infoprodotto&lt;/b&gt; non cartaceo (modo più usato), come un video esso sarà valorizzato molto meno dagli utenti nel senso di&lt;b&gt; prezzo&lt;/b&gt;.&lt;b&gt;&amp;nbsp;&lt;/b&gt;Vendere una cosa astratta, che non si può toccare è difficile ma abbassando i prezzi si arriva a un giusto compromesso.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4729293633791456461?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4729293633791456461/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/11/cose-un-infoprodotto.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4729293633791456461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4729293633791456461'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/11/cose-un-infoprodotto.html' title='Cos&apos;è un infoprodotto?'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-tqvN6WEnOdM/TrUv5v4ngkI/AAAAAAAAACQ/2eP9DaHnBno/s72-c/cardboard-box-open-lg.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5422440192698849248</id><published>2011-11-01T16:12:00.000-07:00</published><updated>2011-11-01T16:16:42.957-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='W3C Conference'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Conferenza W3C'/><title type='text'>The first W3C Conference 2011, la prima conferenza del W3C</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-d8_DVTDQmBg/TrB9XFf6a1I/AAAAAAAAACA/mZ6SYOxdroM/s1600/w3conf_logo+%25281%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="188" src="http://3.bp.blogspot.com/-d8_DVTDQmBg/TrB9XFf6a1I/AAAAAAAAACA/mZ6SYOxdroM/s400/w3conf_logo+%25281%2529.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;Il W3C annuncia la sua prima conferenza&lt;/b&gt; che si terrà il 15 e il 16 novembre pesso&amp;nbsp;&lt;i&gt;Redmond Marriott Town Center&lt;/i&gt;&amp;nbsp;&lt;i&gt;(7401 164th Avenue NE&amp;nbsp;Redmond, WA 98052 USA)&lt;/i&gt;; essa tratterà dell' &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;&lt;b&gt;HTML5&lt;/b&gt;&lt;/a&gt;, tema ormai scottante nella quotidianità di internet e delle &lt;b&gt;Web Open Platform&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Il &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html"&gt;W3C&lt;/a&gt;&lt;/b&gt; lascia a tutti voi questo messaggio ( da me tradotto ):&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;Se tu sei uno sviluppatore o un designer che vuoi ascoltare le ultime novità riguardanti l' HTML5 e le open web platform salva questa data.&lt;br /&gt;Un limitato numero di posti saranno resi disponibili per la conferenza dal vivo [...]&lt;/blockquote&gt;&lt;a href="http://www.w3.org/conf/"&gt;Link&lt;/a&gt; al sito ufficiale.&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;/blockquote&gt;&lt;blockquote class="tr_bq"&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5422440192698849248?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5422440192698849248/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/11/first-w3c-conference-2011-la-prima.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5422440192698849248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5422440192698849248'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/11/first-w3c-conference-2011-la-prima.html' title='The first W3C Conference 2011, la prima conferenza del W3C'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-d8_DVTDQmBg/TrB9XFf6a1I/AAAAAAAAACA/mZ6SYOxdroM/s72-c/w3conf_logo+%25281%2529.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2560313005641225832</id><published>2011-11-01T06:05:00.000-07:00</published><updated>2011-11-01T06:10:38.379-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS3'/><category scheme='http://www.blogger.com/atom/ns#' term='W3C'/><title type='text'>Introduzione ai CSS3</title><content type='html'>Quando la prima specifica &lt;b&gt;CSS&lt;/b&gt;  fu pubblicata, tutto il CSS fu contenuto in un documento definito &lt;b&gt;CSS Level 1&lt;/b&gt;. Il  &lt;b&gt;CSS Level 2&lt;/b&gt;&amp;nbsp;venne definito a  sua volta in un singolo documento a capitoli.&lt;a href="http://2.bp.blogspot.com/-QWi5178yzSM/Tq_ui4K7GlI/AAAAAAAAACI/Lkc3k6Y4YkA/s1600/CSS3-Gets-a-New.jpeg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="239" src="http://2.bp.blogspot.com/-QWi5178yzSM/Tq_ui4K7GlI/AAAAAAAAACI/Lkc3k6Y4YkA/s320/CSS3-Gets-a-New.jpeg" width="320" /&gt;&lt;/a&gt;Tuttavia per i CSS oltre al Level 2, il &amp;nbsp;CSS Working Group ha scelto di adottare un &lt;i&gt;approccio modulare&lt;/i&gt;, dove ogni &lt;b&gt;modulo&lt;/b&gt; definisce una parte del CSS. Questo divide la specifica in pezzi &amp;nbsp;più maneggevoli permettendo una più immediata modifica della specifica.&lt;br /&gt;&lt;br /&gt;Il &lt;b&gt;CSS3&lt;/b&gt; (Level 3) si basa sul Css Level 2, modulo per modulo, esso usa la specifica CSS2.1 come proprio nucleo. Ogni modulo aggiunge funzionalità e/o sostituisce parti della specifica CSS2.1.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Ma a cosa servono i CSS3?&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;I CSS3 hanno lo scopo di rappresentare e impaginare graficamente una pagina HTML, quindi permette di superare i limiti del precedente linguaggio, &lt;b&gt;ma non solo&lt;/b&gt;. Essi inoltre permettono di creare semplici animazioni e trasformazioni, cambiare l' opacità di un elemento, bordi arrotondati, ombre, Web fonts e layout multicolonna.&lt;br /&gt;In conclusione si può dire che i &lt;b&gt;Css3&lt;/b&gt; sono un vero punto di&amp;nbsp;forza&amp;nbsp;per un qualunque sviluppatore web, ma state attenti, ricordo che la specifica non è ancora uno standard, quindi potrete trovare problemi di incompatibilità fra browser.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.w3.org/Style/CSS/current-work.en.html" target="_blank"&gt;Qui&lt;/a&gt; trovate maggiori dettagli sui CSS3 nel sito ufficiale del W3C.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2560313005641225832?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2560313005641225832/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/11/introduzione-ai-css3.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2560313005641225832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2560313005641225832'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/11/introduzione-ai-css3.html' title='Introduzione ai CSS3'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-QWi5178yzSM/Tq_ui4K7GlI/AAAAAAAAACI/Lkc3k6Y4YkA/s72-c/CSS3-Gets-a-New.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-4989049053770250471</id><published>2011-10-31T06:03:00.000-07:00</published><updated>2011-10-31T06:08:17.658-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='ENISA'/><category scheme='http://www.blogger.com/atom/ns#' term='Sicurezza HTML5'/><title type='text'>L' HTML5 è sicuro? report security</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-4V-HoGMFjQw/Tq6cTssUXHI/AAAAAAAAAB4/SQ4N84PhJh8/s1600/html5-security.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-4V-HoGMFjQw/Tq6cTssUXHI/AAAAAAAAAB4/SQ4N84PhJh8/s1600/html5-security.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;L'&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;b&gt;ENISA&lt;/b&gt; (European Network and Information Security Agency)&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&amp;nbsp;nel 31 luglio ha redatto un &lt;a href="http://www.enisa.europa.eu/act/application-security/web-security/a-security-analysis-of-next-generation-web-standards"&gt;pdf&lt;/a&gt;&amp;nbsp;di 60 pagine nel quale espone oltre 50 minacce, problemi e raccomandazioni riguardanti l' &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html" style="font-weight: bold;"&gt;HTML5&lt;/a&gt;&amp;nbsp;ma non solo; esso ha voluto essere un contributo per migliorare gli standard del &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html"&gt;W3C&lt;/a&gt; soprattutto in tema sicurezza per gli utenti, quindi anche per il proprio browser.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;I maggiori problemi indicati sono:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 23px;"&gt;&lt;b&gt;Geo-location Cache Polling&lt;/b&gt;, &amp;nbsp;possibilità di accedere alla cache per visualizzare l' utlima geolocalizzazione effettuata.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 23px;"&gt;&lt;b&gt;Form Tampering&lt;/b&gt;, grazie alla nuova possibilità di inserire un bottone fuori dal form di riferimento l' attaccante può facilmente dirottare la destinazione del link o l' azione del bottone.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 23px;"&gt;&lt;b&gt;Controlling Functionality&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Web Messaging&lt;/b&gt;: Origin delegation,&amp;nbsp;&lt;b&gt;HTML5&lt;/b&gt;&amp;nbsp;&lt;b&gt;Content Handlers&lt;/b&gt;, &lt;b&gt;HTML5 Disabling Click-jacking Protection&lt;/b&gt;,&lt;b&gt;&amp;nbsp;Controlling functionality&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Permission system design e altro ancora&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;E' molto importante dice Giles Hogben di ENISA, che "per la prima volta" durante la stesura di una specifica HTML sia incorporata la &lt;b&gt;sicurezza &lt;/b&gt;in fase di progettazione. Il W3C ha ancora qualche anno per correggere al meglio tutte le vulnerabilità di &lt;b&gt;HTML5&lt;/b&gt; e le sue &lt;b&gt;API &lt;/b&gt;prima di rendere standard il markup.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;Vi invito a &lt;a href="http://www.enisa.europa.eu/act/application-security/web-security/a-security-analysis-of-next-generation-web-standards"&gt;scaricarlo&lt;/a&gt; per maggiori informazioni (in inglese).&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: LucidaGrande, 'Lucida Grande', kedage, Sharjah, 'DejaVu Sans', 'Lucida Sans Unicode', serif, Arial, sans-serif; font-size: 14px; line-height: 23px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-4989049053770250471?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/4989049053770250471/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/l-html5-e-sicuro-report-security.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4989049053770250471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/4989049053770250471'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/l-html5-e-sicuro-report-security.html' title='L&apos; HTML5 è sicuro? report security'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-4V-HoGMFjQw/Tq6cTssUXHI/AAAAAAAAAB4/SQ4N84PhJh8/s72-c/html5-security.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-7934481092142911584</id><published>2011-10-31T04:28:00.000-07:00</published><updated>2011-10-31T04:57:28.339-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='crawler'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='Sitemap'/><title type='text'>Protocollo Sitemap, come utilizzarlo?</title><content type='html'>&lt;br /&gt;La&amp;nbsp;&lt;b&gt;Sitemap&amp;nbsp;&lt;/b&gt;è un file&amp;nbsp;&lt;i&gt;XML&amp;nbsp;&lt;/i&gt;che contiene gli URL di un sito web con dei metadati aggiuntivi allo scopo di consentire ai motori di ricerca di eseguire la scansione del sito in modo più&amp;nbsp;efficiente.&lt;br /&gt;&lt;br /&gt;Utilizzare il protocollo Sitemap non assicura il posizionamento nei motori di ricerca, ma facilita la scansione del sito da parte dei&amp;nbsp;&lt;b&gt;crawler&lt;/b&gt;, i quali scansionando il file trovano gli url più importanti e la frequenza delle modifiche. Questo è molto importante se si intende creare un sito ben &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/seo-search-engine-optimization.html"&gt;ottimizzato&lt;/a&gt;&lt;/b&gt; dai principali &lt;b&gt;motori di ricerca&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Come ho detto il protocollo è formato da un file XML che deve contenere un tag di apertura &lt;i&gt;&amp;lt;urlset&amp;gt;&lt;/i&gt;, un tag &lt;i&gt;&amp;lt;url&amp;gt;&lt;/i&gt; e dentro ogni tag url un tag &lt;i&gt;&amp;lt;loc&amp;gt;&lt;/i&gt;; tutto il resto è opzionale.&lt;br /&gt;&lt;br /&gt;Ecco un esempio esplicativo di una &lt;b&gt;Sitemap&lt;/b&gt; standard:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-j0j9wVNItNE/Tq6GF86yTZI/AAAAAAAAABw/7UlaULrKnbE/s1600/sitemap.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-j0j9wVNItNE/Tq6GF86yTZI/AAAAAAAAABw/7UlaULrKnbE/s1600/sitemap.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: #3a4956; font-family: Courier, monospace; font-size: 12px; line-height: 19px; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 5px; padding-top: 5px; text-align: left; width: auto;"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: #3a4956; font-family: Courier, monospace; font-size: 12px; line-height: 19px; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 5px; padding-top: 5px; text-align: left; width: auto;"&gt;&amp;lt;&lt;a href="http://www.sitemaps.org/it/protocol.php#urlsetdef" style="border-bottom-color: rgb(102, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #660000; text-decoration: none;"&gt;urlset&lt;/a&gt; xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&amp;gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: #3a4956; font-family: Courier, monospace; font-size: 12px; line-height: 19px; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 5px; padding-top: 5px; text-align: left; width: auto;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;a href="http://www.sitemaps.org/it/protocol.php#urldef" style="border-bottom-color: rgb(102, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #660000; text-decoration: none;"&gt;url&lt;/a&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;a href="http://www.sitemaps.org/it/protocol.php#locdef" style="border-bottom-color: rgb(102, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #660000; text-decoration: none;"&gt;loc&lt;/a&gt;&amp;gt;http://www.esempio.it/&amp;lt;/loc&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt;&amp;lt;&lt;a href="http://www.sitemaps.org/it/protocol.php#lastmoddef" style="border-bottom-color: rgb(102, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #660000; text-decoration: none;"&gt;lastmod&lt;/a&gt;&amp;gt;2011-01-01&amp;lt;/lastmod&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;a href="http://www.sitemaps.org/it/protocol.php#changefreqdef" style="border-bottom-color: rgb(102, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #660000; text-decoration: none;"&gt;changefreq&lt;/a&gt;&amp;gt;monthly&amp;lt;/changefreq&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;a href="http://www.sitemaps.org/it/protocol.php#prioritydef" style="border-bottom-color: rgb(102, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #660000; text-decoration: none;"&gt;priority&lt;/a&gt;&amp;gt;0.9&amp;lt;/priority&amp;gt;&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/url&amp;gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: #3a4956; font-family: Courier, monospace; font-size: 12px; line-height: 19px; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 5px; padding-top: 5px; text-align: left; width: auto;"&gt;&amp;lt;/urlset&amp;gt; &lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: #3a4956; font-family: Courier, monospace; font-size: 12px; line-height: 19px; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 5px; padding-top: 5px; text-align: left; width: auto;"&gt;&lt;/pre&gt;Nell' esempio da me riportato puoi notare anche 3 nuovi attributi:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;loc&lt;/b&gt;, URL della pagina. L'URL deve iniziare con il protocollo (ad esempio http) e terminare con una barra finale, se richiesto dal server web. Questo valore deve contenere meno di 2048 caratteri.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;lastmod&lt;/b&gt;,&amp;nbsp;Data dell'ultima modifica del file. Questa data dovrebbe avere il formato &lt;a href="http://www.w3.org/TR/NOTE-datetime"&gt;W3C Datetime&lt;/a&gt;, che ti consente di omettere l'ora, se lo desideri, e di utilizzare il formato AAAA-MM-GG.&lt;br /&gt;Questo tag è separato dall'intestazione If-Modified-Since (304) che il server può restituire ed è possibile che i motori di ricerca utilizzino queste informazioni da entrambe le sorgenti in modo differente.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;priority&lt;/b&gt;,&amp;nbsp;La priorità di questo URL rispetto ad altri URL del sito. L'intervallo di valori validi è compreso tra 0,0 e 1,0. Questo valore non influisce sul modo in cui le tue pagine vengono confrontate con le pagine di altri siti, ma ti consente di indicare ai motori di ricerca le pagine che reputi più importanti per i crawler.&amp;nbsp;La priorità predefinita di una pagina è&amp;nbsp;0,5.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: center;"&gt;Per maggiori informazioni vai sul &lt;a href="http://www.sitemaps.org/"&gt;sito ufficiale&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-7934481092142911584?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/7934481092142911584/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/la-sitemap-e-un-file-xml-che-contiene.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7934481092142911584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/7934481092142911584'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/la-sitemap-e-un-file-xml-che-contiene.html' title='Protocollo Sitemap, come utilizzarlo?'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-j0j9wVNItNE/Tq6GF86yTZI/AAAAAAAAABw/7UlaULrKnbE/s72-c/sitemap.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-1131662392068912518</id><published>2011-10-30T06:59:00.000-07:00</published><updated>2011-10-30T07:05:51.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='nerdz'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5 site'/><title type='text'>HTML5 - Chi lo usa?</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-cRbkh3UuEGk/Tq1YJKfBS4I/AAAAAAAAABo/rDAsI4dhRXU/s1600/html5.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="180" src="http://1.bp.blogspot.com/-cRbkh3UuEGk/Tq1YJKfBS4I/AAAAAAAAABo/rDAsI4dhRXU/s320/html5.jpg" width="320" /&gt;&lt;/a&gt;L' &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML5&lt;/a&gt;, come ho già detto è un markup ancora in fase di sviluppo dal &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html"&gt;W3C&lt;/a&gt;, esso è una tecnologia destinata ad essere lo standard più utilizzato per la stesura di pagine e &lt;i&gt;applicazioni web based&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Purtroppo per colpa della sua incompatibilità non si può assicurare una totale uguaglianza della pagina web nei&amp;nbsp;differenti&amp;nbsp;browser dei visitatori.&lt;br /&gt;&lt;br /&gt;Credete che queste piccole disavventure scoraggino i più innovativi sviluppatori?&lt;br /&gt;No signore; infatti viste tutte le sue nuove&amp;nbsp;&lt;b&gt;API&lt;/b&gt;&amp;nbsp;e i nuovi elementi l'&amp;nbsp;&lt;b&gt;Html5&lt;/b&gt;&amp;nbsp;è ampiamente utilizzato dai principali sviluppatori web in svariati casi, Google per esempio ultimamente sta modificando la stessa home page e il proprio&amp;nbsp;&lt;i&gt;YouTube &lt;/i&gt;rendendo l' Html5 parte integrante della pagina.&lt;br /&gt;&lt;br /&gt;Un altro esempio del trionfo dell' HTML5 è stato creato da &lt;i&gt;Nessuno, &lt;/i&gt;programmatore italiano creatore del social/forum &lt;b&gt;&lt;a href="http://nerdz.eu/"&gt;nerdz.eu&lt;/a&gt;&amp;nbsp;&lt;/b&gt;creato appositamente per persone appassionate tecnologia.&lt;br /&gt;&lt;br /&gt;Se infine volete lustrarvi gli occhi con qualche sito scritto in &lt;b&gt;Html5 &lt;/b&gt;e&lt;b&gt; Css3 &lt;/b&gt;clicca &lt;a href="http://html5gallery.com/"&gt;qui&lt;/a&gt;.&lt;br /&gt;L' HTML5 è una tecnologia da non sottovalutare, basta usare un po di cautela durante la stesura delle applicazioni per evitare le&amp;nbsp;incompatibilità&amp;nbsp;fra browser; le quali tuttora esistono e continueranno ad esserci.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-1131662392068912518?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/1131662392068912518/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/html5-chi-lo-usa.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1131662392068912518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1131662392068912518'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/html5-chi-lo-usa.html' title='HTML5 - Chi lo usa?'/><author><name>Andrea Evolution</name><uri>https://profiles.google.com/114423768660682090428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-cRbkh3UuEGk/Tq1YJKfBS4I/AAAAAAAAABo/rDAsI4dhRXU/s72-c/html5.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6962412825338846348</id><published>2011-10-30T05:56:00.000-07:00</published><updated>2011-10-30T06:03:25.603-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Webmaster Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='indicizzazione'/><category scheme='http://www.blogger.com/atom/ns#' term='traffico'/><title type='text'>Google Webmaster Tools - introduzione</title><content type='html'>&lt;b&gt;&lt;a href="http://www.google.it/webmasters/"&gt;Google Webmaster tools&lt;/a&gt;&lt;/b&gt; è un ottimo strumento gratuito messo a disposizione da Google per monitorare il &lt;b&gt;traffico&lt;/b&gt; in entrata propri siti web, l' &lt;b&gt;indicizzazione&lt;/b&gt;&amp;nbsp;del proprio sito sullo stesso motore di ricerca ed eventuali &lt;b&gt;errori&lt;/b&gt; di ottimizzazione.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-gHSk46kBLi0/Tq1JNStqh5I/AAAAAAAAACA/iHtVBlQ7Wjg/s1600/google-webmaster-central-logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="266" src="http://4.bp.blogspot.com/-gHSk46kBLi0/Tq1JNStqh5I/AAAAAAAAACA/iHtVBlQ7Wjg/s320/google-webmaster-central-logo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Grazie ad esso è possibile avere una panoramica quasi completa del proprio sito, per questo Google Webmaster tools è un servizio da sfruttare per il proprio marketing e per pianificare l' andamento del proprio network.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;I principali servizi offerti sono:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Configurazione sito&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;Sitemap,&amp;nbsp;Accesso crawler,&amp;nbsp;Sitelink,&amp;nbsp;Cambio di indirizzo,&amp;nbsp;Impostazioni,&amp;nbsp;Parametri Url.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul class="nav-elements" style="background-color: white; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;&lt;li style="text-align: left;"&gt;&lt;b&gt;Il tuo sito sul web&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: right;"&gt;&lt;div style="text-align: left;"&gt;Query di ricerca,&amp;nbsp;Link che rimandano al tuo sito,&amp;nbsp;Parole chiave,&amp;nbsp;Link interni,&amp;nbsp;Statistiche sugli iscritti.&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;b&gt;Metriche +1&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Impatto sulla ricerca,&amp;nbsp;Attività,&amp;nbsp;Pubblico.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Diagniostica&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;Malware,&amp;nbsp;Errori di scansione,&amp;nbsp;Statistiche scansione,&amp;nbsp;Visualizza come Googlebot,&amp;nbsp;Suggerimenti HTML.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Funzioni sperimentali&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;Ricerca personalizzata,&amp;nbsp;Anteprime istantanee,&amp;nbsp;Prestazioni del sito,&amp;nbsp;Sitemap Video.&lt;br /&gt;&lt;br /&gt;Per accedere ed per iniziare a monitorare il tuo sito devi eseguire il login con un account di Google &lt;a href="http://www.google.it/webmasters/"&gt;qui&lt;/a&gt;&amp;nbsp;e&amp;nbsp;cliccare su &lt;i&gt;aggiungi sito.&lt;/i&gt;&lt;br /&gt;Dopo aver fatto ciò basterà aspettare qualche giorno per visualizzare le prime statistiche del tuo sito; consiglio ai principianti di dare un occhiata alle funzioni da me prima elencate direttamente sul portale.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6962412825338846348?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6962412825338846348/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/google-webmaster-tools-introduzione.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6962412825338846348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6962412825338846348'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/google-webmaster-tools-introduzione.html' title='Google Webmaster Tools - introduzione'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-gHSk46kBLi0/Tq1JNStqh5I/AAAAAAAAACA/iHtVBlQ7Wjg/s72-c/google-webmaster-central-logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-3575144624762176260</id><published>2011-10-30T03:33:00.000-07:00</published><updated>2011-10-30T03:35:03.532-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Browser Game'/><category scheme='http://www.blogger.com/atom/ns#' term='Economics Infographic'/><category scheme='http://www.blogger.com/atom/ns#' term='Social Game'/><title type='text'>Social Game Economics Infographic</title><content type='html'>L' industria dei &lt;i&gt;&lt;b&gt;social game&lt;/b&gt;&lt;/i&gt;&amp;nbsp;o &lt;i&gt;&lt;b&gt;browser game&lt;/b&gt; &lt;/i&gt;è un settore&amp;nbsp;molto&amp;nbsp;proficuo, infatti le entrate nel 2011 hanno superato i 4 miliardi; di questo passo nel 2013 si supereranno i &lt;b&gt;&lt;i&gt;6 miliardi&lt;/i&gt;&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;about &amp;nbsp;social gamers&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;il 35% dei giocatori online non ha esperienze di gioco passate&lt;/li&gt;&lt;li&gt;in america, 1 persona su 5 ha già giocato ad un gioco online&lt;/li&gt;&lt;li&gt;83% dei videogiocatori usa&amp;nbsp;&lt;b&gt;Facebook&lt;/b&gt;&amp;nbsp;per i giochi online&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div style="text-align: right;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;in-game purchases&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: right;"&gt;&lt;ul&gt;&lt;li style="text-align: left;"&gt;6 miliardi, questa è la cifra predetta che secondo gli esperti i social gamers spenderanno entro il 2013&lt;/li&gt;&lt;li style="text-align: left;"&gt;il 41% degli utenti hanno eseguito più di un &lt;b&gt;&lt;i&gt;acquisto&lt;/i&gt;&lt;/b&gt; dalle piattaforme di gioco online&lt;/li&gt;&lt;li style="text-align: left;"&gt;il 53% dei giocatori negli U.S e dell UK hanno speso e/o&amp;nbsp;acquistato&amp;nbsp;&lt;b&gt;soldi virtuali&lt;/b&gt; tramite questi giochi&lt;/li&gt;&lt;li style="text-align: left;"&gt;l' 83%&amp;nbsp;&amp;nbsp;dei giocatori sempre negli U.S e dell UK hanno acquistato un &lt;b&gt;regalo virtuale&lt;/b&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;il 28% dei giocatori negli U.S e dell UK hanno acquistato una valuta virtuale in cambio di &lt;b&gt;soldi reali&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;ul&gt;&lt;/ul&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;mobile gaming&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;ul&gt;&lt;li style="text-align: left;"&gt;il 70%/80% dei download mobili sono &lt;b&gt;giochi&lt;/b&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;&lt;i&gt;54 miliardi&lt;/i&gt;, la cifra che l' industria mobile dovrebbe guadagnare entro il 2015&lt;/li&gt;&lt;li style="text-align: left;"&gt;84%, giocatori in possesso di un &lt;i&gt;tablet&lt;/i&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;&lt;i&gt;140 milioni&lt;/i&gt;, numero di download eseguiti per scaricare Angry Birds&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;i&gt;major acquistions&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: right;"&gt;&lt;ul&gt;&lt;li style="text-align: left;"&gt;&lt;b&gt;EA &lt;/b&gt;ha acquistato &lt;i&gt;Playfish&lt;/i&gt; per per 40 milioni&amp;nbsp;&lt;/li&gt;&lt;li style="text-align: left;"&gt;&lt;b&gt;Disney&lt;/b&gt;&amp;nbsp;ha acquistato &lt;i&gt;Playdom&lt;/i&gt; per 763.2 milioni&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-RjYWUJlAx_Y/Tq0n5fxNbKI/AAAAAAAAAB4/TpJKJ03FucQ/s1600/mashable_infographic_economics-social-gaming1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://2.bp.blogspot.com/-RjYWUJlAx_Y/Tq0n5fxNbKI/AAAAAAAAAB4/TpJKJ03FucQ/s640/mashable_infographic_economics-social-gaming1.jpg" width="168" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-3575144624762176260?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/3575144624762176260/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/social-game-economics-infographic.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3575144624762176260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/3575144624762176260'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/social-game-economics-infographic.html' title='Social Game Economics Infographic'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-RjYWUJlAx_Y/Tq0n5fxNbKI/AAAAAAAAAB4/TpJKJ03FucQ/s72-c/mashable_infographic_economics-social-gaming1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2789820187965892800</id><published>2011-10-25T11:58:00.000-07:00</published><updated>2011-10-25T12:11:21.818-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Standard web'/><category scheme='http://www.blogger.com/atom/ns#' term='Offline Apllication'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Web workers Api'/><category scheme='http://www.blogger.com/atom/ns#' term='Web  Application'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5 Infographic + Traduzione'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><category scheme='http://www.blogger.com/atom/ns#' term='Geolocation Api'/><title type='text'>HTML5 Infographic + Traduzione</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/-3BonJp1n_oc/TqcGwCloR1I/AAAAAAAAABs/gDtdqTnX7OY/s1600/HTML5__.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-3BonJp1n_oc/TqcGwCloR1I/AAAAAAAAABs/gDtdqTnX7OY/s200/HTML5__.jpg" width="182" /&gt;&lt;/a&gt;Dopo avere visto e letto &lt;a href="http://3.bp.blogspot.com/-3BonJp1n_oc/TqcGwCloR1I/AAAAAAAAABs/gDtdqTnX7OY/s1600/HTML5__.jpg"&gt;questa&lt;/a&gt; splendida infografica su &lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML5&lt;/a&gt;&amp;nbsp;&lt;/b&gt;e tutte le sue caratteristiche principali&amp;nbsp;ho ritenuto opportuno tradurla, per rendere il contenuto accessibile a tutti evitanto la traduzione.&lt;br /&gt;&lt;br /&gt;L' &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-lhtml.html"&gt;HTML&lt;/a&gt; è un &amp;nbsp;linguaggio con la quale creare documenti strutturati secondo una semantica per il testo, le intestazioni, i paragrafi, le liste, i link, i quote e altri numerosi tag.&lt;br /&gt;L' &lt;b&gt;HTML5&lt;/b&gt; è la prossima revisione dell' HTML, il quale può essere utilizzato per creare nuove funzioni dalla quale trarre beneficio sia come utenti sia come sviluppatori. L'HTML5 ha introdotto vari &lt;b&gt;elementi e attributi&lt;/b&gt;, di seguito riporto i più importanti:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;L' elemento &lt;b&gt;Canvas&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;L' elemento Canvas può essere utilizzato per creare grafici, &lt;b&gt;grafica&lt;/b&gt; per giochi &amp;nbsp;o semplici immagini.&lt;/div&gt;&lt;div style="text-align: left;"&gt;Tutto questo senza l' utilizzo di plug-in aggiuntivi, le possibilità sono infinite.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;ul&gt;&lt;li&gt;L' elemento &lt;b&gt;Video&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;Inserire video &lt;b&gt;senza utilizzare plugin&lt;/b&gt; da terze parti come &lt;i&gt;Adobe Flash&lt;/i&gt; e &lt;i&gt;Apple QuickTime&lt;/i&gt; era sino ad ora impossibile. Grazie all' elemento Video ora lo è. Esso ha intenzione di diventare un &lt;b&gt;nuovo standard&lt;/b&gt; per visualizzare video online.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;La&lt;b&gt; Geolocalizzazione&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;Intercettare la &lt;b&gt;posizione&lt;/b&gt; di un utente non è una novità nel web. Infatti, più siti la trovano mediante la locazione dell' IP address. Ma questo non è sempre possibile, quindi la &lt;b&gt;geolocalizzazione con HTML5&lt;/b&gt; è un metodo&amp;nbsp;alternativo&amp;nbsp;corretto per individuare la locazione di un user.&lt;br /&gt;&amp;nbsp;La nuova idea è ottenere le informazioni tramite il &lt;i&gt;WiFi&lt;/i&gt; e il&lt;i&gt; GPS&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Le applicazioni web &lt;b&gt;Offline&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;i&gt;The offline web application &lt;/i&gt;permettono all' utente una &lt;b&gt;continua iterazione&lt;/b&gt; con una applicazione web o dei &amp;nbsp; documenti anche quando la loro &lt;b&gt;connessione&lt;/b&gt; non è disponibile. L' utente può, per esempio, accedere alla email localmente senza connettersi a internet o senza installare alcun client esterno.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Non&lt;/b&gt; ho ritenuto necessario tradurre la seconda parte del testo che tratta della &lt;b&gt;compatibilità&lt;/b&gt; della geolocalizzazione tra i vari browser, potete trovare tutte le informazioni necessarie &lt;a href="http://html5readiness.com/"&gt;qui&lt;/a&gt;; l' ultima parte, riguardante al confronto fra HTML5 e Flash verrà trattata più avanti.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-3BonJp1n_oc/TqcGwCloR1I/AAAAAAAAABs/gDtdqTnX7OY/s1600/HTML5__.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://3.bp.blogspot.com/-3BonJp1n_oc/TqcGwCloR1I/AAAAAAAAABs/gDtdqTnX7OY/s640/HTML5__.jpg" width="584" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2789820187965892800?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2789820187965892800/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/html5-infographic-traduzione.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2789820187965892800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2789820187965892800'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/html5-infographic-traduzione.html' title='HTML5 Infographic + Traduzione'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-3BonJp1n_oc/TqcGwCloR1I/AAAAAAAAABs/gDtdqTnX7OY/s72-c/HTML5__.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5808827793958941234</id><published>2011-10-25T02:37:00.000-07:00</published><updated>2012-01-26T02:07:53.165-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Standard web'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Api HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Web workers Api'/><category scheme='http://www.blogger.com/atom/ns#' term='Canvas'/><category scheme='http://www.blogger.com/atom/ns#' term='W3C'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Geolocation Api'/><title type='text'>Cos'è l' HTML5? - introduzione</title><content type='html'>L' &lt;b&gt;HTML5 &amp;nbsp;&lt;/b&gt;è un linguaggio di markup sviluppato dal &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html" style="font-weight: bold;"&gt;W3C&lt;/a&gt;, più precisamente da dei membri del gruppo stesso che nel 2004 decisero di creare un nuovo progetto finalizzato per continuare l' evoluzione del' Html. Questo gruppo prese il nome di Web Hypertext Application Working Group (&lt;i&gt;WHATWG&lt;/i&gt;), gruppo di lavoro distaccato dal W3C stesso, anche se due anni più tardi (2006) lo stesso W3C prese parte allo sviluppo dell' HTML5 e si unì al gruppo.&lt;br /&gt;Esso è un insieme di tecnologie e API create appositamente per rendere sempre più funzionale il normale flusso di una pagina web e per favorire le compatibilità cross-browser per gli sviluppatori.&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://3.bp.blogspot.com/-o0h4UIyfmkc/TqaFhG4L08I/AAAAAAAAABU/wllv7Jup9Ks/s1600/HTML5_Logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="133" src="http://3.bp.blogspot.com/-o0h4UIyfmkc/TqaFhG4L08I/AAAAAAAAABU/wllv7Jup9Ks/s200/HTML5_Logo.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;Attualmente l' &lt;b&gt;HTML5&lt;/b&gt; è in fase di sviluppo (draft) ma ciò non vuol dire che esso non è utilizzabile, infatti &amp;nbsp;i principali browser più moderni, quali Google Chrome, Opera, Mozzilla e ultimamente anche Internet Explorer(&amp;gt;=9) hanno incluso questa specifica anche se non totalmente.&lt;br /&gt;&lt;br /&gt;Per scoprire se il tuo browser è compatibile clicca &lt;a href="http://html5test.com/"&gt;qui (HTML5 test)&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Cosa c'è di nuovo nell' HTML5?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Nuovi tag&lt;/b&gt; strutturali per rendere più semantico il codice (header,aside,section,footer...) &amp;nbsp;e estesi tag con nuovi attributi per dare una maggiore accessibilità al sito o alla applicazione&lt;/li&gt;&lt;li&gt;Modificati o &lt;b&gt;deprecati tag&lt;/b&gt; già esistenti praticamente inutilizzati&lt;/li&gt;&lt;li&gt;Aggiunto supporto per &lt;b&gt;Canva&lt;/b&gt;s, permettendo di creare animazioni e grafica vettoriale con Javascript e supporto anche per &lt;b&gt;SVG&lt;/b&gt;&amp;nbsp;per avere un approccio vettoriale.&lt;/li&gt;&lt;li&gt;Introduzione alla &lt;b&gt;Web Storage&lt;/b&gt;, metoto per la memorizzazione dei dati molto più efficiente dei vecchi cookie&lt;/li&gt;&lt;li&gt;&lt;b&gt;API&lt;/b&gt; &amp;nbsp;per la &lt;b&gt;Geolocalizzazione&lt;/b&gt; con HTML5 con le quali è possibile conoscere la posizione del visitatore quasi precisamente a seconda delle informazioni rilevate&lt;/li&gt;&lt;li&gt;&lt;b&gt;Web Workers&lt;/b&gt;:&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, sans-serif; font-size: 13px; line-height: 18px;"&gt;&amp;nbsp;&lt;/span&gt;consentendo di eseguire codice javascript in modo asincrono&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote class="tr_bq"&gt;&lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/"&gt;Maggiori dettagli sulla specifica&lt;/a&gt;&amp;nbsp;(W3C).&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5808827793958941234?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5808827793958941234/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/cose-l-html5.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5808827793958941234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5808827793958941234'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/cose-l-html5.html' title='Cos&apos;è l&apos; HTML5? - introduzione'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-o0h4UIyfmkc/TqaFhG4L08I/AAAAAAAAABU/wllv7Jup9Ks/s72-c/HTML5_Logo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-2006346118002782367</id><published>2011-10-24T12:00:00.000-07:00</published><updated>2011-12-23T03:54:35.409-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Search Engine Optimization'/><category scheme='http://www.blogger.com/atom/ns#' term='SEO'/><category scheme='http://www.blogger.com/atom/ns#' term='SEO Marketing'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Visibilità'/><title type='text'>SEO, Search Engine Optimization, Trend</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;Cos' è il Search Engine Optimization?&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-ulj6LLGOLvw/TqaHtYaHN7I/AAAAAAAAABc/UOC8v-gfEpY/s1600/visitors-trend-yoy-comparison-1.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="137" src="http://1.bp.blogspot.com/-ulj6LLGOLvw/TqaHtYaHN7I/AAAAAAAAABc/UOC8v-gfEpY/s200/visitors-trend-yoy-comparison-1.png" width="200" /&gt;&lt;/a&gt;Il &lt;b&gt;SEO&lt;/b&gt; è l' insieme di tecniche e attività finalizzate ad ottenere maggiore visibilità e quindi maggiore traffico per un &lt;b&gt;sito web&lt;/b&gt;; quindi avere un sito non ottimizzato porterebbe di conseguenza a una minore visibilità se non a una totale esclusione dai &lt;b&gt;motori di ricerca&lt;/b&gt;. Questa ottimizzazione non ha sempre degli effetti immediati, infatti l' ottimizzazione sui principali motori è assai ardua e duratura.&lt;br /&gt;&lt;br /&gt;In poche parole essere un &lt;b&gt;SEO&lt;/b&gt; coi fiocchi significa saper ottimizzare un sito a seconda della richiesta o della necessita qualunque contenuto si voglia 'sponsorizzare'.&lt;br /&gt;&lt;br /&gt;Queste tecniche e attività vengono eseguite direttamente sul codice &lt;b&gt;HTML&lt;/b&gt;, su tutti i contenuti di un sito e in modo non troppo differente anche nello stesso testo che stai leggendo in questo momento.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Il lato oscuro del SEO Marketing.&lt;/span&gt;&lt;br /&gt;Il SEO Marketing più precisamente Search Engine Marketing è la parte di Web marketing che si applica esclusivamente ai motori di ricerca.&lt;br /&gt;Per lato oscuro intendo tutte quelle tecniche utilizzate per raggiungere maggiori risultati in minor tempo possibile utilizzando tecniche che non rispettano le linee guida base dei motori di ricerca; ecco di seguito le più comuni:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong style="background-color: white; color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 13px; line-height: 19px; text-align: left;"&gt;Testo e link nascosti con parole chiave nascoste&lt;/strong&gt;,&amp;nbsp;&lt;strong style="background-color: white; color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 13px; line-height: 19px; text-align: left;"&gt;Pagine&amp;nbsp;&lt;em&gt;doorway&lt;/em&gt;&amp;nbsp;o&amp;nbsp;&lt;em&gt;gateway,&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;&lt;strong style="background-color: white; color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 13px; line-height: 19px; text-align: left;"&gt;Keyword stuffing,&amp;nbsp;&lt;/strong&gt;&lt;strong style="background-color: white; color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: 13px; line-height: 19px; text-align: left;"&gt;Desert scraping, Cloaking&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: x-small; line-height: 19px;"&gt;In un post più esplicativo&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: x-small; line-height: 19px;"&gt;spiegherò&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #252425; font-family: Verdana, Arial, Tahoma, sans-serif; font-size: x-small; line-height: 19px; text-align: left;"&gt;&amp;nbsp;queste tecniche con più dettagli.&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-2006346118002782367?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/2006346118002782367/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/seo-search-engine-optimization.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2006346118002782367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/2006346118002782367'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/seo-search-engine-optimization.html' title='SEO, Search Engine Optimization, Trend'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ulj6LLGOLvw/TqaHtYaHN7I/AAAAAAAAABc/UOC8v-gfEpY/s72-c/visitors-trend-yoy-comparison-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-6383338714266726444</id><published>2011-10-23T13:12:00.000-07:00</published><updated>2011-10-25T03:30:09.566-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Standard web'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Markup'/><category scheme='http://www.blogger.com/atom/ns#' term='W3C'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Cos'è L'HTML?</title><content type='html'>L' &lt;b&gt;HTML&lt;/b&gt; (&lt;em style="background-color: white; color: #333333; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px; text-align: justify;"&gt;HyperText Markup Language&lt;/em&gt;) è un linguaggio usato per la stesura di pagine nel &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-www.html"&gt;Web&lt;/a&gt;, esso non è un vero e proprio linguaggio di programmazione ma è un linguaggio di &lt;b&gt;markup&lt;/b&gt;, infatti è privo di variabili o altre caratteristiche alla base di un comune linguaggio.&lt;br /&gt;&lt;br /&gt;L' HTML nasce per la necessità di condividere pagine e informazioni sul web con uno standard unico; viene sviluppato da&amp;nbsp;&lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-www.html"&gt;Tim Berners-Lee&lt;/a&gt;&amp;nbsp;al CERN di Ginevra assieme al protocollo &lt;b&gt;HTTP&lt;/b&gt; il quale viene utilizzato come sistema per la trasmissione della informazioni nel &lt;b&gt;World Wide Web&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;La sintassi di questo linguaggio di markup viene aggiornata costantemente dal &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html"&gt;W3C&lt;/a&gt;, che dal 2007 ha ricominciato la definizione di&amp;nbsp;&lt;b&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML5&lt;/a&gt;&lt;/b&gt;, attualmente in stato di bozza (draft).&lt;br /&gt;&lt;br /&gt;Ogni documento ipertestuale deve essere scritto in un file di estensione .htm o .html, di seguito riporto un esempio ( in &lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML5&lt;/a&gt; ):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #fcfcfc; color: #222222; font-size: inherit; margin-left: 2em; white-space: pre-wrap;"&gt;&amp;lt;!DOCTYPE HTML&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt; &amp;lt;head&amp;gt;&lt;br /&gt;  &amp;lt;title&amp;gt;Titolo della pagina&amp;lt;/title&amp;gt;&lt;br /&gt; &amp;lt;/head&amp;gt;&lt;br /&gt; &amp;lt;body&amp;gt;&lt;br /&gt;  &amp;lt;p&amp;gt;Testo visualizzato nella pagina&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;pre style="background-color: #fcfcfc; color: #222222; font-size: inherit; margin-left: 2em; white-space: pre-wrap;"&gt;&lt;/pre&gt;&lt;pre style="background-color: #fcfcfc; color: #222222; margin-left: 2em; white-space: pre-wrap;"&gt;&lt;/pre&gt;&lt;pre style="background-color: #fcfcfc; color: #222222; margin-left: 2em; white-space: pre-wrap;"&gt;&lt;/pre&gt;A seconda della versione del linguaggio la formattazione è leggermente diversa, le principali sono:&lt;br /&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;HTML 1&lt;/li&gt;&lt;li&gt;HTML 2&lt;/li&gt;&lt;li&gt;HTML 3.2&lt;/li&gt;&lt;li&gt;HTML 4&lt;/li&gt;&lt;li&gt;&lt;a href="http://explosivelab.blogspot.com/2011/10/cose-l-html5.html"&gt;HTML 5&lt;/a&gt; (draft)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-6383338714266726444?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/6383338714266726444/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/cose-lhtml.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6383338714266726444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/6383338714266726444'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/cose-lhtml.html' title='Cos&apos;è L&apos;HTML?'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-1373009693235272665</id><published>2011-10-23T03:43:00.000-07:00</published><updated>2011-10-23T03:54:26.807-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CERN'/><category scheme='http://www.blogger.com/atom/ns#' term='WWW'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='World Wide Web'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='Tim Berners-Lee'/><title type='text'>World Wide Web (WWW)</title><content type='html'>&lt;blockquote&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;Il&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;strong&gt;World Wide Web&lt;/strong&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;, in sigla&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;strong&gt;WWW&lt;/strong&gt;&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;anche conosciuto come grande rete mondiale&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;,&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;&amp;nbsp;è un servizio di internet&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;che permette di navigare ed usufruire di un insieme vastissimo di contenuti multimediali&lt;/span&gt;&lt;span style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;&amp;nbsp;e di ulteriori servizi accessibili a tutti o ad una parte selezionata degli utenti di Internet.&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;Il World Wide Web nasce principalmente nel 1991 presso il CERN di Ginevra, quando il ricercatore Tim Berners-Lee definì il protocollo HTTP&amp;nbsp;&lt;em&gt;(HyperText Transfer Protocol&lt;/em&gt;&lt;em&gt;)&lt;/em&gt;;&amp;nbsp;più precisamente nel 6 agosto 1991 quando lo stesso ricercatore mise online su internet il primo sito web.&lt;/div&gt;&lt;div style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;Solo due anni dopo il CERN decide di rendere pubblica la tecnologia alla base del web aprendo una nuova strada piena di possibilità e tecnologia nella quale ormai siamo immersi.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-1373009693235272665?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/1373009693235272665/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/world-wide-web-www.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1373009693235272665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/1373009693235272665'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/world-wide-web-www.html' title='World Wide Web (WWW)'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5149041286588203726</id><published>2011-10-23T02:54:00.000-07:00</published><updated>2011-10-25T03:27:37.676-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sviluppatore'/><category scheme='http://www.blogger.com/atom/ns#' term='Standard web'/><category scheme='http://www.blogger.com/atom/ns#' term='World Wide Web'/><category scheme='http://www.blogger.com/atom/ns#' term='W3C'/><title type='text'>World Wide Web Consortium (W3C)</title><content type='html'>&lt;br /&gt;&lt;br /&gt;Il &lt;b&gt;World Wide Web Consortium&lt;/b&gt; (W3C) è una comunità internazionale dove i membri organizzatori, un personale a tempo pieno e il pubblico lavoro contribuiscono per sviluppare gli&lt;b&gt; standard Web&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cliccando sul link verrete indirizzati nella home page italiana del sito; l’ ho postato perché è una fonte davvero molto importante se non indispensabile per uno sviluppatore web.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Home page ufficiale in italiano: &lt;a href="http://www.w3.org/"&gt;&lt;/a&gt;&lt;a href="http://www.w3c.it/"&gt;http://www.w3c.it&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Home page ufficiale in inglese: &lt;a href="http://www.w3.org/"&gt;&lt;/a&gt;&lt;a href="http://www.w3.org/"&gt;http://www.w3.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Questo sito potrà essere molto utile, se non indispensabile per qualsiasi progetto cosa tu voglia progettare e infine ricorda che gli standard vengono creati appositamente per essere utilizzati ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5149041286588203726?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5149041286588203726/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5149041286588203726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5149041286588203726'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/world-wide-web-consortium-w3c.html' title='World Wide Web Consortium (W3C)'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5033847432807501594.post-5902930250190587559</id><published>2011-10-23T02:51:00.000-07:00</published><updated>2011-10-23T04:06:41.413-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wikipedia internet 1995 world wide web'/><title type='text'>Citazione</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: rgba(0, 0, 0, 0.0976563); color: #555555; font-family: Georgia, 'Times New Roman', serif; font-size: 16px; font-style: italic; line-height: 22px;"&gt;Internet è nato nella mente e nelle utopie di tante persone nei primi anni sessanta, ma per la massa, per le imprese e per il mondo nel complesso, Internet nasce effettivamente nel 1995. È dall’ampia diffusione delle tecnologie del &lt;a href="http://explosivelab.blogspot.com/2011/10/world-wide-web-www.html"&gt;World Wide Web&lt;/a&gt; che si comincia a parlare sempre di più del commercio elettronico anche per gli utenti finali e non solo per le transazioni fra grandi imprese.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: rgba(0, 0, 0, 0.0976563); color: #555555; font-family: Georgia, 'Times New Roman', serif; font-size: 16px; font-style: italic; line-height: 22px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: rgba(0, 0, 0, 0.0976563); color: #555555; font-size: 16px; font-style: italic; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;-wikipedia&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #555555; font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5033847432807501594-5902930250190587559?l=explosivelab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explosivelab.blogspot.com/feeds/5902930250190587559/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://explosivelab.blogspot.com/2011/10/citazione.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5902930250190587559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5033847432807501594/posts/default/5902930250190587559'/><link rel='alternate' type='text/html' href='http://explosivelab.blogspot.com/2011/10/citazione.html' title='Citazione'/><author><name>evolution</name><uri>http://www.blogger.com/profile/06345024817846305851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
