<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEABQnk6fSp7ImA9WhRaFE8.&quot;"><id>tag:blogger.com,1999:blog-8872478014573458254</id><updated>2012-02-16T21:12:33.715Z</updated><category term="drupal" /><category term="jquery" /><category term="UI" /><category term="javascript" /><category term="web" /><title>&lt;diz ke="digo"&gt;</title><subtitle type="html">a sua fonte para tudo e quase nada.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://dizkedigo.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://dizkedigo.blogspot.com/" /><author><name>LUÍS PERALTA</name><uri>http://www.blogger.com/profile/16793821825454734088</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://clientes.netvisao.pt/graphimed/blog/lp.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/DizKeDigo" /><feedburner:info uri="dizkedigo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;A0QCQH87fCp7ImA9WhdbFE4.&quot;"><id>tag:blogger.com,1999:blog-8872478014573458254.post-6702158432151521935</id><published>2011-10-12T18:05:00.000+01:00</published><updated>2011-10-12T18:09:21.104+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-12T18:09:21.104+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="jquery" /><category scheme="http://www.blogger.com/atom/ns#" term="drupal" /><category scheme="http://www.blogger.com/atom/ns#" term="UI" /><title>Versão mais recente do jQuery em Drupal</title><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8872478014573458254&amp;postID=6702158432151521935" title="0 Comentários" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8872478014573458254/posts/default/6702158432151521935?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8872478014573458254/posts/default/6702158432151521935?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DizKeDigo/~3/Axu3QA3ZLVk/versao-mais-recente-do-jquery-em-drupal.html" title="Versão mais recente do jQuery em Drupal" /><author><name>LUÍS PERALTA</name><uri>http://www.blogger.com/profile/16793821825454734088</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://clientes.netvisao.pt/graphimed/blog/lp.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Gz7yRqEjdXxWuAblhUhleDhxAoE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gz7yRqEjdXxWuAblhUhleDhxAoE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Gz7yRqEjdXxWuAblhUhleDhxAoE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gz7yRqEjdXxWuAblhUhleDhxAoE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Por experiência própria, uma das maiores limitações do CMS Drupal a nível de interacção e UI prende-se com a utilização de uma versão antiga do jQuery.
Relativamente ao Drupal 6, a versão de origem é a 1.2.6 e a alternativa mais usada consiste na utilização do módulo jQuery_Update, que permite avançar para a versão 1.3.2.
À data deste post, a versão actual do jQuery é a 1.6.4 que contém vários e &lt;img src="http://feeds.feedburner.com/~r/DizKeDigo/~4/Axu3QA3ZLVk" height="1" width="1"/&gt;</content><feedburner:origLink>http://dizkedigo.blogspot.com/2011/10/versao-mais-recente-do-jquery-em-drupal.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QAQXw8fip7ImA9WhdbE0g.&quot;"><id>tag:blogger.com,1999:blog-8872478014573458254.post-4249803432273021197</id><published>2011-10-10T14:24:00.003+01:00</published><updated>2011-10-11T17:42:20.276+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-11T17:42:20.276+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="jquery" /><title>jQuery Array/DOM Shuffle</title><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8872478014573458254&amp;postID=4249803432273021197" title="0 Comentários" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8872478014573458254/posts/default/4249803432273021197?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8872478014573458254/posts/default/4249803432273021197?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DizKeDigo/~3/m1PenwN6yVQ/arraydom-shuffle.html" title="jQuery Array/DOM Shuffle" /><author><name>LUÍS PERALTA</name><uri>http://www.blogger.com/profile/16793821825454734088</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://clientes.netvisao.pt/graphimed/blog/lp.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RfUA4ceL9DqOsu8-YLJTBxVkVp0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RfUA4ceL9DqOsu8-YLJTBxVkVp0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RfUA4ceL9DqOsu8-YLJTBxVkVp0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RfUA4ceL9DqOsu8-YLJTBxVkVp0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Deixo-vos aqui um compacto plug-in de jQuery para shuffle de arrays ou de elementos DOM.

(function($){
 $.fn.shuffle = function() {
  return this.each(function(){
   var items = $(this).children();
   return (items.length)
    ? $(this).html($.shuffle(items))
    : this;
  });
 }


 $.shuffle = function(arr) {
  for(
   var j, x, i = arr.length; i;
   j = parseInt(Math.random() * i),
   x = arr[&lt;img src="http://feeds.feedburner.com/~r/DizKeDigo/~4/m1PenwN6yVQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://dizkedigo.blogspot.com/2011/10/arraydom-shuffle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4ASHYyfip7ImA9WhdbGEw.&quot;"><id>tag:blogger.com,1999:blog-8872478014573458254.post-278184483244207148</id><published>2009-04-22T14:14:00.005+01:00</published><updated>2011-10-17T01:22:29.896+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-17T01:22:29.896+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="web" /><title>a pequenez na ambição e a grandiosidade para fazer asneira.</title><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8872478014573458254&amp;postID=278184483244207148" title="0 Comentários" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8872478014573458254/posts/default/278184483244207148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8872478014573458254/posts/default/278184483244207148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DizKeDigo/~3/0dJnFmZLAQA/pequenez-na-ambicao-e-grandiosidade.html" title="a pequenez na ambição e a grandiosidade para fazer asneira." /><author><name>LUÍS PERALTA</name><uri>http://www.blogger.com/profile/16793821825454734088</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="19" src="http://clientes.netvisao.pt/graphimed/blog/lp.jpg" /></author><thr:total>0</thr:total><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yPh_U34rXSKUomHpBmwG4ia7QMA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yPh_U34rXSKUomHpBmwG4ia7QMA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yPh_U34rXSKUomHpBmwG4ia7QMA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yPh_U34rXSKUomHpBmwG4ia7QMA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Ambas (ver título) corroem valores fundamentais como a funcionalidade, a objectividade, o pragmatismo ou até mesmo o bom senso.É quase como a ideia de permitir ao povo comentar alinhamentos esporádicos de horóscopos.Haja paciência.&lt;img src="http://feeds.feedburner.com/~r/DizKeDigo/~4/0dJnFmZLAQA" height="1" width="1"/&gt;</content><feedburner:origLink>http://dizkedigo.blogspot.com/2009/04/pequenez-na-ambicao-e-grandiosidade.html</feedburner:origLink></entry></feed>

