<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Duh Vilela</title>
	<atom:link href="http://duhhvilela.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://duhhvilela.wordpress.com</link>
	<description>Just another weblog in world</description>
	<lastBuildDate>Tue, 26 Jul 2011 08:41:25 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='duhhvilela.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Duh Vilela</title>
		<link>http://duhhvilela.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://duhhvilela.wordpress.com/osd.xml" title="Duh Vilela" />
	<atom:link rel='hub' href='http://duhhvilela.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Parte 1 &#8211; Estrutura de um código Java</title>
		<link>http://duhhvilela.wordpress.com/2010/10/16/estrutura-de-um-codigo-java/</link>
		<comments>http://duhhvilela.wordpress.com/2010/10/16/estrutura-de-um-codigo-java/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 07:04:58 +0000</pubDate>
		<dc:creator>duhvilela</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://duhhvilela.wordpress.com/?p=20</guid>
		<description><![CDATA[O que existe em um arquivo fonte ? Um arquivo de código-fonte ( com a extensão &#8220;.java&#8221;) contém uma defnição de classe.  A classe representa uma parte de seu programa, embora um aplicativo muito pequeno possa precisar apenas de uma classe. A classe deve ficar dentro de uma par de chaves. O  que existe em [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=20&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>O que existe em um arquivo fonte ?</p>
<p>Um arquivo de código-fonte ( com a extensão &#8220;.java&#8221;) contém uma defnição de classe.  A classe representa uma parte de seu programa, embora um aplicativo muito pequeno possa precisar apenas de uma classe. A classe deve ficar dentro de uma par de chaves.</p>
<p><pre class="brush: java;">

public class Dog {

}

</pre></p>
<p>O  que existe em uma CLASSE ?</p>
<p>Uma classe tem um ou mais métodos. Na Classe Dog, o método latir conterá instruções de como o cão deverá latir.  Seus métodos devem ser declarados dentro de uma classe ( em outras palavras, dentro das chaves da classe).</p>
<p><pre class="brush: java;">

public class Dog {

void latir( ) {

}

}

</pre></p>
<p>Bom é isso aí, por hoje só iniciando em java , estarei trazendo alguns tópicos interessantes</p>
<p>para quem está iniciando.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duhhvilela.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duhhvilela.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duhhvilela.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duhhvilela.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duhhvilela.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duhhvilela.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duhhvilela.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duhhvilela.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=20&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://duhhvilela.wordpress.com/2010/10/16/estrutura-de-um-codigo-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">duhhvilela</media:title>
		</media:content>
	</item>
		<item>
		<title>Ausência !!</title>
		<link>http://duhhvilela.wordpress.com/2008/09/12/ausencia/</link>
		<comments>http://duhhvilela.wordpress.com/2008/09/12/ausencia/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 05:31:53 +0000</pubDate>
		<dc:creator>duhvilela</dc:creator>
				<category><![CDATA[Outros]]></category>
		<category><![CDATA[Ruby On Rails]]></category>

		<guid isPermaLink="false">http://duhhvilela.wordpress.com/?p=9</guid>
		<description><![CDATA[Nos últimos meses estive fora, devido a carga de trabalhos, a migração de php para ruby on rails, isso tomou muito tempo, então dei uma parada com o blog, mais estarei voltando postar novas matérias interessantes. nessa bagagem toda irei estar falando um pouco sobre Ruby On Rails, uma nova tecnologia do mercado que está [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=9&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Nos últimos meses estive fora, devido a carga de trabalhos, a migração de php para ruby on rails, isso tomou muito tempo, então dei uma parada com o blog, mais estarei voltando postar novas matérias interessantes.</p>
<p>nessa bagagem toda irei estar falando um pouco sobre Ruby On Rails, uma nova tecnologia do mercado que está entrando com tudo, e vai revolucionar muito o jeito de programar hoje, a web 3.0 está chegando devagarzinho mais está.</p>
<p>Próximo post inicio em ruby on rails.</p>
<p>t+++</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duhhvilela.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duhhvilela.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duhhvilela.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duhhvilela.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duhhvilela.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duhhvilela.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duhhvilela.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duhhvilela.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duhhvilela.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duhhvilela.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=9&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://duhhvilela.wordpress.com/2008/09/12/ausencia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">duhhvilela</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP x SQL Server Express 2005</title>
		<link>http://duhhvilela.wordpress.com/2008/04/11/php-x-sql-server-express-2005/</link>
		<comments>http://duhhvilela.wordpress.com/2008/04/11/php-x-sql-server-express-2005/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 03:36:20 +0000</pubDate>
		<dc:creator>duhvilela</dc:creator>
				<category><![CDATA[Outros]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[php x sql server 2005]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql server express 2005]]></category>
		<category><![CDATA[sqlphp]]></category>

		<guid isPermaLink="false">http://duhhvilela.wordpress.com/?p=8</guid>
		<description><![CDATA[Testado e aprovado&#8230;. ;P Neste Post, vou mostrar para vocês, como fazer a conexão do PHP com o banco de dados SQL Server Express 2005, ( O SQL Server Express é uma versão do SQL Server 2005 projetada para ajudar os desenvolvedores a criar aplicativos robustos e confiáveis, por meio de um banco de dados [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=8&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Testado e aprovado&#8230;. ;P</p>
<p>Neste <strong>Post</strong>, vou mostrar para vocês, como fazer a conexão do PHP com o<br />
banco de dados <strong><a title="SQL Server Express 2005" href="http://baixaki.ig.com.br/download/SQL-Server-2005-Express.htm" target="_blank">SQL Server Express 2005</a>, </strong>( O SQL Server Express é uma versão do SQL Server 2005 projetada para ajudar os desenvolvedores a criar aplicativos robustos e confiáveis, por meio de um banco de dados poderoso, gratuito e de fácil utilização.).</p>
<p>Passos:</p>
<p><strong>1.)</strong> Primeiro você precisa de uma biblioteca DLL,  <strong>ntwdblib.dll</strong> <span style="color:#ff0000;">versão 2000.80.194.0</span></p>
<p><a title="Baixar ! Clique aqui" href="http://webzila.com/dll/2/ntwdblib.zip" target="_self"><strong><span style="color:#3366ff;">Baixar</span></strong> por aqui</a> &#8211; <strong>ntwdblib.DLL </strong>ou pegue no <strong><a href="http://webzila.com/?wz=dll#results" target="_blank">site</a></strong><br />
<strong>Size:</strong> 278KB &#8211; <strong>Version:</strong> <span style="text-decoration:underline;">2000.80.194.0</span></p>
<p>Essa dll é responsável por fazer a conexão com o sql server express 2005.</p>
<p><strong>2. ) </strong> Fazendo a instalação do arquivo &#8220;<strong>ntwdblib.dll</strong> &#8220;</p>
<p>Extraía o arquivo dentro do diretório &#8220;PHP&#8221; na raíz c ,  Ex: (  C:/PHP  ou  C:/xamp/php ).<br />
vai pedir para substituir, <span style="text-decoration:underline;">diga sim</span>.<br />
Logo em seguida abra o arquivo &#8220;<strong><span style="text-decoration:underline;">php.ini</span></strong>&#8221; no  mesmo diretório, e procure as linhas:</p>
<p><span style="color:#3366ff;"><strong>;extension=php_mssql.dll</strong> </span> e tire o  &#8220;<span style="color:#3366ff;"><strong>;</strong></span>&#8221; que está no inicio da palavra, esse caractere é a mesma coisa que /**/ ou // ou # , comentários do php, fazendo isso você estará ativando a dll do sql server, agora salve e feche o documento.</p>
<p>Copie mais uma vez a dll &#8220;<strong>ntwdblib.dll</strong> &#8221; e cole dentro da pasta  &#8216;<strong>C:/apache/bin</strong>&#8216; na raíz c do meu computador.</p>
<p>Pronto, agora você copiou a dll para dentro da pasta do php e apache.</p>
<p><strong>3.) </strong> <strong>Configurações:</strong></p>
<p>Habilite o protocolo TCP-IP  no  SQL Server configuration manager ( iniciar /configuration tools /   SQL Server configuration manager ).<br />
Depois reinicie os serviços IIS ou Apache, SQL Server e SQL Server Browser</p>
<p>4.) <strong>Testando a conexão.</strong></p>
<p>Crie uma tabela no SQL Server Express, e crie um novo arquivo php, com as strings:</p>
<blockquote><p><strong><span style="color:#ff0000;">&lt;?PHP</span></strong><br />
<span style="color:#ff0000;"><span style="color:#333333;"> $servername </span>= &#8220;NOMEDOSEUPC\SQLEXPRESS&#8221;;<br />
<span style="color:#333333;"> $usuario </span>= &#8220;sa&#8221;;<br />
<span style="color:#333333;"> $senha </span>= &#8220;suasenha&#8221;;<br />
<span style="color:#333333;"> $dbase</span> = &#8220;seubancodedados&#8221;;</span></p>
<p><strong><span style="color:#ffcc99;">// Conexao com o SQL Server</span></strong><br />
<span style="color:#ff0000;"><span style="color:#333333;">$link </span>= <span style="color:#0000ff;">mssql_connect</span>(<span style="color:#333333;">$servername, $usuario, $senha</span>);<br />
<span style="color:#0000ff;"> if</span>(!<span style="color:#333333;">$link</span>) { <span style="color:#0000ff;">die</span>(&#8220;Não foi possível estabelecer conexão com o SQL Server.&#8221;); }</span></p>
<p><strong><span style="color:#ffcc99;">// Verifica a conexao com o SQL Server</span></strong><br />
<span style="color:#ff0000;"><span style="color:#333333;"> $db</span> = <span style="color:#0000ff;">mssql_select_db</span>(<span style="color:#333333;">$dbase, $link</span>); <span style="color:#339966;">// Selecao do Banco de Dados</span><br />
<span style="color:#0000ff;"> if</span>(!<span style="color:#333333;">$db</span>) { <span style="color:#3366ff;">die</span>(&#8220;Não foi possível estabelecer conexão com o banco de dados.&#8221;); } ///<span style="color:#008000;">/Verifica a conexao com o Banco de Dados</span></span></p>
<p><strong><span style="color:#ff0000;"><span style="color:#ffcc99;">// aqui eu defini apenas o valor 1 para ele chamar o registro 1</span></span></strong><br />
<span style="color:#ff0000;"><span style="color:#000000;"> $id</span> = &#8220;1&#8243;; </span></p>
<p><strong><span style="color:#ffcc99;">// Consulta na tabela</span></strong><br />
<span style="color:#ff0000;"><span style="color:#000000;"> $SQL</span> = &#8220;SELECT * FROM cadastro WHERE id=&#8217;<span style="color:#333333;">$id</span>&#8216;&#8221;;</span></p>
<p><span style="color:#ff0000;"><span style="color:#000000;">$rs</span> = <span style="color:#0000ff;">mssql_query</span>(<span style="color:#333333;">$SQL</span>);<br />
<span style="color:#000000;"> $row</span> =<span style="color:#0000ff;"> mssql_fetch_array</span>(<span style="color:#333333;">$rs</span>);</span></p>
<p><span style="color:#ff0000;"><span style="color:#0000ff;">echo</span> &#8220;<span style="color:#000000;">$row</span>[nome]&#8220;;<br />
<strong> ?&gt;</strong></span></p>
<p>Rode o arquivo que você criou no seu servidor, se tudo estiver correto, vai aparecer o resultado do primeiro registro da sua tabela.</p>
<p>Agora o resto é por sua conta.</p>
<p><strong>5.)</strong> Caso não funcione, experimente fazer isso:</p></blockquote>
<p>Além de habilitar o driver de conexão com MS SQL Server no &#8220;php.ini&#8221;,   você ainda deverá habilitar conexão externas, colocando o banco no modo misto e ainda habilitar conexões remotas no módulo chamado <strong>&#8220;SURFACE AREA&#8221;</strong>.</p>
<p>O sistema de permissões do SQL Server 2000 é completamente diferente do que o do SQL Server 2005, pois o 2005 apresenta a criação de esquemas ou namespaces na composição do &#8220;qualified name&#8221; para acesso.</p>
<p><strong> 6.) </strong> Se mesmo assim não resolveu o seu problema !</p>
<p>Sigas as instruções do manual<br />
<span style="color:#0000ff;">http://br.php.net/function.mssql-connect </span></p>
<p>Ou</p>
<p>A <strong>Microsoft</strong> lançou em <span style="text-decoration:underline;"><strong>fevereiro/2008 </strong></span>um driver oficial para rodar o php com sql server express 2005<br />
Você pode <span style="color:#0000ff;"><a title="Baixe o driver do site da Microsoft" href="http://tehospedia.org/wiki/PHP_com_SQL_Server" target="_blank"><strong>baixar o driver</strong></a></span> da Microsoft e instalá-lo gratuitamente em seu ambiente de testes, tal qual o SQL Server 2005 Express.</p>
<p>Maíores informações:<br />
<strong>http://blogs.msdn.com/sqlphp/</strong></p>
<p><em>Por hoje é só, se tiverem postem ai, se este tutorial ajuda-los, deixe um post.</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duhhvilela.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duhhvilela.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duhhvilela.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duhhvilela.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duhhvilela.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duhhvilela.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duhhvilela.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duhhvilela.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duhhvilela.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duhhvilela.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=8&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://duhhvilela.wordpress.com/2008/04/11/php-x-sql-server-express-2005/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">duhhvilela</media:title>
		</media:content>
	</item>
		<item>
		<title>Método getAttribute</title>
		<link>http://duhhvilela.wordpress.com/2008/03/21/metodo-getattribute/</link>
		<comments>http://duhhvilela.wordpress.com/2008/03/21/metodo-getattribute/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 09:05:19 +0000</pubDate>
		<dc:creator>duhvilela</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[getAttribute]]></category>

		<guid isPermaLink="false">http://duhhvilela.wordpress.com/2008/03/21/metodo-getattribute/</guid>
		<description><![CDATA[Método getAttribute Ao traduzirmos o termo get, obtemos: adquirir, pegar, receber, obter, dentre outros. Portanto, logo entedemos que getAttribute &#8220;pega&#8221; o atributo de um determinado elemento. Assim como precisamos criar atributos, precisamos também obtê-los afim de manipularmos ou utilizá-los para certos objetivos. A sintaxe dele é simples, observe: getAttribute(&#8216;nomeDoAtributo&#8217;); com o código acima, obteremos o [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=6&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<h2><u><font color="#339966">Método getAttribute</font></u></h2>
<p>Ao traduzirmos o termo get, obtemos: adquirir, pegar, receber, obter, dentre outros. Portanto, logo entedemos que getAttribute &#8220;pega&#8221; o atributo de um determinado elemento.</p>
<p>Assim como precisamos criar atributos, precisamos também obtê-los afim de manipularmos ou utilizá-los para certos objetivos.</p>
<p>A sintaxe dele é simples, observe:<br />
<font color="#ff6600"> getAttribute(&#8216;nomeDoAtributo&#8217;);</font></p>
<p>com o código acima, obteremos o valor do atributo especificado no método.<br />
Insira estes codigos em uma nova pagina e veja os resultado.</p>
<p>Exemplo Chamada /  Insira entre :</p>
<blockquote><p><font color="#ff6600"> &lt;a href=&#8221;noscript.htm&#8221; onclick=&#8221;showAttribute(); return false;&#8221;&gt;Descobrir o valor do atributo do elemento&lt;/a&gt;</font></p></blockquote>
<p>Exemplo Script Utilizado / Insira este código entre as tags :</p>
<blockquote><p><font color="#ff6600">&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211;<br />
function showAttribute() {<br />
var elemento = document.getElementById(&#8220;titulo&#8221;);<br />
var atributo = elemento.getAttribute(&#8216;id&#8217;);<br />
alert(atributo);<br />
}<br />
//&#8211;&gt;<br />
&lt;/script&gt;</font></p></blockquote>
<p>Fonte:<br />
Ajax / Imasters</p></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duhhvilela.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duhhvilela.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duhhvilela.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duhhvilela.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duhhvilela.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duhhvilela.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duhhvilela.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duhhvilela.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duhhvilela.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duhhvilela.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=6&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://duhhvilela.wordpress.com/2008/03/21/metodo-getattribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">duhhvilela</media:title>
		</media:content>
	</item>
		<item>
		<title>Tamanho da Pagina</title>
		<link>http://duhhvilela.wordpress.com/2007/09/24/tamanho-da-pagina/</link>
		<comments>http://duhhvilela.wordpress.com/2007/09/24/tamanho-da-pagina/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 06:58:13 +0000</pubDate>
		<dc:creator>duhvilela</dc:creator>
				<category><![CDATA[Usabilidade]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://duhhvilela.wordpress.com/2007/09/24/tamanho-da-pagina/</guid>
		<description><![CDATA[A largura da página é um item importante e que exige atenção, uma vez que está ligada a diversos fatores, como resolução de vídeo, barra Iniciar oculta ou não, tamanho dos ícones do navegador e etiquetas de texto dos botões ativadas ou não. Tudo isso deve ser previsto na hora de criação do layout. Um [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=5&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> <strong>A largura da página é um item importante e que exige atenção</strong>, uma vez que está ligada a diversos fatores, como resolução de vídeo, barra Iniciar oculta ou não, tamanho dos ícones do navegador e etiquetas de texto dos botões ativadas ou não. Tudo isso deve ser previsto na hora de criação do layout. Um usuário pode trabalhar com resolução <strong>800&#215;600</strong> pixels enquanto outro usa <strong>1024&#215;768</strong> pixels, ou ainda, podem usar a mesma resolução, mas um deles manter a barra iniciar fixa e com botões do navegador grandes e outro manter a barra iniciar oculta e botões menores, ganhando mais espaço no navegador. O usuário tem várias possibilidades de configuração de vídeo, sendo difícil fazê-lo visualizar o seu site do jeito que você quer. Para tentar amenizar esse tipo de problema, <strong>veja as dicas a seguir:</strong></p>
<p><strong> 1.</strong> <strong>C</strong>rie layouts para resolução mínima de 800 x 600 pixels: esta opção considera o tamanho de tela do navegador e supõe o uso da barra do menu iniciar fixa, tamanho padrão dos botões do navegador e uma possível barra de rolagem vertical. Prevendo isso, crie seu layout na resolução 776 x 460 para que possa ser bem visualizado em 800 x 600 e superiores.</p>
<p><strong>2. U</strong>tilize um layout &#8220;liquido&#8221;, aquele que se auto-ajusta a qualquer resolução por meio de tabelas com larguras definidas em porcentagem. Contra esse tipo de montagem de página estão a perda de diversos recursos de layout, como alguns tipos de imagens de topo e de menu, e a dispersão das informações, deixando a tela muito vazia quando o usuário estiver trabalhando com altas resoluções.</p>
<p><strong>3. C</strong>rie um fundo para um layout previsto para 800 x 600 pixels, deixando algumas figuras sendo visualizadas continuamente, independente da resolução do usuário.</p>
<p><strong>4.  N</strong>ão tente colocar todo o conteúdo da pagina em 776 x 460 quando se tratar de um portal de notícias ou algo semelhante, exemplos de sites em que são necessários muitos destaques e menu extensos. A barra vertical é uma boa alternativa nesses casos.</p>
<p>Bom por hoje é isso ai&#8230;..</p>
<p>t+++</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duhhvilela.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duhhvilela.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duhhvilela.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duhhvilela.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duhhvilela.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duhhvilela.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duhhvilela.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duhhvilela.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duhhvilela.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duhhvilela.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=5&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://duhhvilela.wordpress.com/2007/09/24/tamanho-da-pagina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">duhhvilela</media:title>
		</media:content>
	</item>
		<item>
		<title>Agora vai&#8230;. xuta q eh makumba.</title>
		<link>http://duhhvilela.wordpress.com/2007/08/04/3/</link>
		<comments>http://duhhvilela.wordpress.com/2007/08/04/3/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 18:10:41 +0000</pubDate>
		<dc:creator>duhvilela</dc:creator>
				<category><![CDATA[Outros]]></category>

		<guid isPermaLink="false">http://duhhvilela.wordpress.com/2007/08/04/3/</guid>
		<description><![CDATA[Olá&#8230;.. Demorou, mais criei o meu blog, sobre o que ele vai ser ?, boa pergunta, ainda não sei, terá um pouco de tudo. desde os mais doidos até os mais curiosos assuntos. Por que usar o wordpress ?, pq realmente ele é o melhor na atualidade hoje, de todos os que conheci, o mais [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=3&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> Olá&#8230;..</p>
<p>Demorou, mais criei o meu blog,  sobre o que ele vai ser ?, boa pergunta, ainda não sei,  terá um pouco de tudo. desde os mais doidos até os mais curiosos assuntos.</p>
<p>Por que usar o wordpress ?, pq  realmente ele é o melhor na atualidade hoje, de todos os que conheci, o mais legal e com recursos mais avançados (frameworks) e a facilidade de interação com ele rapidamente, me conquistou.</p>
<p>Este blog está em atualização &#8230;.</p>
<p>O layout em pré construção ainda. em breve meu tema rodando aki. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duhhvilela.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duhhvilela.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duhhvilela.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duhhvilela.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duhhvilela.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duhhvilela.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duhhvilela.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duhhvilela.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duhhvilela.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duhhvilela.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=duhhvilela.wordpress.com&amp;blog=1468789&amp;post=3&amp;subd=duhhvilela&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://duhhvilela.wordpress.com/2007/08/04/3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">duhhvilela</media:title>
		</media:content>
	</item>
	</channel>
</rss>
