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

<channel>
	<title>monkey#6 &#187; jquery</title>
	<atom:link href="http://www.lghinelli.it/blog/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lghinelli.it/blog</link>
	<description>anca la prescia la vo e su témp</description>
	<lastBuildDate>Mon, 28 Nov 2011 13:41:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>enlarge your elementis</title>
		<link>http://www.lghinelli.it/blog/2009/enlarge-your-elementis/</link>
		<comments>http://www.lghinelli.it/blog/2009/enlarge-your-elementis/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:23:05 +0000</pubDate>
		<dc:creator>lghinelli</dc:creator>
				<category><![CDATA[buone idee]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[managing projects]]></category>

		<guid isPermaLink="false">http://www.lghinelli.it/blog/?p=452</guid>
		<description><![CDATA[Leggilo in italiano (che è meglio) In this article I&#8217;m talking about The Ugly Prototyper a concept idea for a prototyping functionality. When I start a web project sometimes I need to think about the size of the element on a page. You are saying &#8220;never heard about photoshop/fireworks/flair builder/other prototyping software?&#8221; yes, I&#8217;ve done [...]]]></description>
			<content:encoded><![CDATA[<p><a href="#italiano">Leggilo in italiano (che è meglio)</a></p>
<p>In this article I&#8217;m talking about <a href="http://www.lghinelli.it/the-ugly-prototyper" target="_blank">The Ugly Prototyper</a> a concept idea for a prototyping functionality.</p>
<p>When I start a web project sometimes I need to think about the <span class="evidence">size of the element on a page</span>.<br />
You are saying &#8220;never heard about photoshop/fireworks/flair builder/other prototyping software?&#8221; yes, I&#8217;ve done my homework, tryed lot of them and discovered that <strong>none</strong> give me the possibility to <span class="evidence">input a percent of the father</span> element and get a new object of the proper size.</p>
<p>Practically we have to rely <strong>only</strong> on us eyes to decide if the logo (or content area) is big enough.<br />
We put elements on page, size them and only then mathematically calculate their encumbrance (when this happens).<br />
It&#8217;s a <span class="evidence"><strong>trials and errors</strong> method</span>.<br />
I don&#8217;t like at all.</p>
<p>If you are designing with a content-driven method you <strong>have to</strong> decide the right priority of the page elements, I think that a good starting point is to say:&#8221;the content area cannot be less than the 33% of the page, the header must be no bigger than 25%, ads will be 25%&#8221;, visually see it, modify and then (only then) start with the real prototyping and design.</p>
<p>So I developed my tool.<br />
I made it in few nightly hours, sorry, it lacks of functionality and usability.<br />
You have to reload a page if you change the working area size after creating some child and a lots of others problem.<br />
In my excuse: <strong>this is not a release!</strong><br />
<a href="http://www.lghinelli.it/the-ugly-prototyper/" target="_blank">The Ugly Prototyper</a> is on line just to be showed to my friends and to gather opinions</p>
<p><a name="italiano">Italiano:</a><br />
In questo articolo parlo di <a href="http://www.lghinelli.it/the-ugly-prototyper">The Ugly Prototyper</a>, un concept per uno strumento di prototipizzazione.</p>
<p>Ho provato diversi <span class="evidence">software per la prototipizzazione</span> delle pagine web (e più genericamente delle interfacce) e non ho trovato <strong>nessuno</strong> che mi fornisse la possibilità di <span class="evidence">inserire una percentuale</span> ed ottenere in cambio un oggetto della dimensione giusta.<br />
Lo trovo strano, perchè in questo modo per il posizionamento <strong>contiamo solo</strong> sul nostro occhio che potrebbe non essere abbastanza allenato.<br />
Penso che in fase di progettazione, specie se usiamo un <strong>approccio content-driven</strong>, sarebbe un buon punto di partenza poter decidere che l&#8217;header non debba essere più grande del 25%, i contenuti non più piccoli del 33% visualizzandone gli ingombri per <strong>poi</strong> partire con la prototipizzazione ed il design reali.</p>
<p>Nessuno me lo faceva e così ho creato il mio tool.<br />
è stato sviluppato in poche ore notturne, quindi ha parecchi problemi, tra cui che non ha un sacco di funzionalità comode e necessarie, che bisogna ricaricare la pagina se si cambiano le dimensioni dell&#8217;area di lavoro dopo aver già creato almeno un oggetto ed un sacco di altre cose.</p>
<p>A mia discolpa posso dire che <strong>questa non è una release</strong> (e forse non ci sarà mai una release).<br />
<a href="http://www.lghinelli.it/the-ugly-prototyper/" target="_blank">The Ugly Prototyper</a> è messa on line per farsi vedere dagli interessati e raccogliere qualche opinione.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lghinelli.it/blog/2009/enlarge-your-elementis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery mousewheel</title>
		<link>http://www.lghinelli.it/blog/2009/jquery-mousewheel/</link>
		<comments>http://www.lghinelli.it/blog/2009/jquery-mousewheel/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 08:28:03 +0000</pubDate>
		<dc:creator>lghinelli</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.lghinelli.it/lgolb/?p=78</guid>
		<description><![CDATA[Firefox ed Opera usano per la rotella del mouse comportamenti diametralmente opposti. Questo da fastidio al mio javascript e costringe il plugin di jquery che uso per il supporto allo scorrimento non totalmente multibrowser. Non ho nulla contro il plugin il cui funzionamento è ineccepibile, ma si basa su un parametro che varia a seconda [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox ed Opera usano per la rotella del mouse comportamenti diametralmente opposti. Questo da fastidio al mio javascript e costringe il <a title="jquery plugin mousewheel" href="http://plugins.jquery.com/project/mousewheel">plugin</a> di jquery che uso per il supporto allo scorrimento non totalmente multibrowser.</p>
<p>Non ho nulla contro il plugin il cui funzionamento è ineccepibile, ma si basa su un parametro che varia a seconda del browser rendendo necessario interpretare i risultati solo dopo aver sniffato il browser del navigatore.</p>
<p><a title="jquery plugin mousewheel" href="">Mousewheel</a> infatti all&#8217;attivazione dell&#8217;evento &#8220;rotella girata&#8221; restituisce una variabile delta contenente un signed int che ci dice di quanto è stata spostata la rotella e ce ne indica il verso grazie al segno.</p>
<p>Su firefox uno spostamento della rotella verso l&#8217;utente (per me giù) è positivo ed uno spostamento nell&#8217;altro verso (su) è negativo. In opera esattamente il contrario.</p>
<p>Ho scoperto ora il problema ed aggiornerò il post con la mia soluzione (quando l&#8217;avro almeno pensata) e con altre indicazioni sul comportamento negli altri browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lghinelli.it/blog/2009/jquery-mousewheel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>esistenza di un elemento con jquery</title>
		<link>http://www.lghinelli.it/blog/2008/esistenza-di-un-elemento-con-jquery/</link>
		<comments>http://www.lghinelli.it/blog/2008/esistenza-di-un-elemento-con-jquery/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 11:55:58 +0000</pubDate>
		<dc:creator>lghinelli</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.lghinelli.it/lgolb/?p=42</guid>
		<description><![CDATA[la chiamata di funzione $(parameters) restituisce sempre un oggetto perchè vuol dire: &#8220;hey js dammi un oggetto di tipo jquery che eventualmente contiene parameters&#8221; Che è ben diverso da &#8220;hey js trasformami parameters in un oggetto jquery e ridammelo&#8220;. quindi se a questo codice html: &#60;div&#62;&#60;p&#62;Lorem ipsum bla bla bla&#60;/p&#62;&#60;/div&#62; applicchiamo il jqueroso: var tmp [...]]]></description>
			<content:encoded><![CDATA[<p>la chiamata di funzione $(<em>parameters</em>) restituisce <strong>sempre</strong> un oggetto perchè vuol dire:</p>
<p>&#8220;<em>hey js dammi un oggetto di tipo jquery</em> <em>che eventualmente contiene parameters</em>&#8221;</p>
<p>Che è ben diverso da &#8220;<em>hey js trasformami parameters in un oggetto jquery e ridammelo</em>&#8220;.</p>
<p>quindi se a questo codice html:</p>
<p>&lt;div&gt;&lt;p&gt;Lorem ipsum bla bla bla&lt;/p&gt;&lt;/div&gt;</p>
<p>applicchiamo il jqueroso:</p>
<p>var tmp = $(&#8216;span&#8217;);</p>
<p>l&#8217;espressione if ($tmp) {//stuffs} risulterà sempre eseguita perchè tmp è un  oggetto jquery (un array) di lunghezza nulla, quindi un sistema per rendere efficace l&#8217;espressione potrebbe essere:</p>
<p>if ($tmp.length&gt;0) {//better stuffs}</p>
<p>Ci sono tanti altri sistemi, ad esempio prima di scoprire questo effettuavo il controllo sui valori di altri attributi con $(tmp).attr(), ma questo è più compatto e funziona sempre (dovrebbe).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lghinelli.it/blog/2008/esistenza-di-un-elemento-con-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

