<?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:blogger='http://schemas.google.com/blogger/2008' 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-7157500263328606425</id><updated>2024-11-03T10:53:43.328-08:00</updated><category term="javascript"/><category term="DOM"/><category term="ajax"/><category term="browsers"/><category term="bugs_ie"/><category term="firefox"/><category term="webstandards"/><category term="xml"/><category term="blogger"/><category term="content"/><category term="errors"/><category term="facebook"/><category term="functions"/><category term="google"/><category term="headers"/><category term="menus"/><category term="php"/><category term="rss"/><category term="seo"/><category term="tips"/><category term="word-wrap"/><title type='text'>El Micox Codes</title><subtitle type='html'>Codes, Javascript, AJAX, Webstandards, CSS, DOM, XML , PHP, ASP, HTTP, etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-8394048545532372030</id><published>2012-02-16T03:46:00.000-08:00</published><updated>2012-02-16T03:46:00.559-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Facebook Comments - Simple and not duplicating on all posts</title><summary type="text">How to insert Facebook comments in blogger without complication, not duplicating. Easy and simple.

1)  Model &amp;gt; Edit HTML &amp;gt; Go &amp;gt; Expand Widget Models

2)  Search &amp;lt;/head&amp;gt; , and open body tag

3) Paste after open &amp;lt;body&amp;gt; before other tags:
&amp;lt;div id=&quot;fb-root&quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;script&amp;gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/8394048545532372030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2012/02/facebook-comments-simple-and-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/8394048545532372030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/8394048545532372030'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2012/02/facebook-comments-simple-and-not.html' title='Facebook Comments - Simple and not duplicating on all posts'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-6331596374539869564</id><published>2011-05-10T04:33:00.000-07:00</published><updated>2011-05-10T04:36:35.941-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browsers"/><category scheme="http://www.blogger.com/atom/ns#" term="bugs_ie"/><category scheme="http://www.blogger.com/atom/ns#" term="content"/><category scheme="http://www.blogger.com/atom/ns#" term="errors"/><category scheme="http://www.blogger.com/atom/ns#" term="headers"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>ERR_CONTENT_DECODING_FAILED in Google Chrome</title><summary type="text">I&#39;ve a problem with Google Chrome Navigator in my site www.tadarank.com and www.ofertamagica.com.br

Chrome don&#39;t show the page, but this error:

Error 330 (net::ERR_CONTENT_DECODING_FAILED)

Looking this problem on Google, i&#39;ve found many solutions (including reinstall Chrome).

The solution that works for me was relationed with Zip compression on website.

I made some tests and solved my </summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/6331596374539869564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2011/05/errcontentdecodingfailed-in-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/6331596374539869564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/6331596374539869564'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2011/05/errcontentdecodingfailed-in-google.html' title='ERR_CONTENT_DECODING_FAILED in Google Chrome'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-7644022479122720570</id><published>2010-03-10T12:08:00.000-08:00</published><updated>2010-03-10T12:12:07.747-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="functions"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="seo"/><title type='text'>Get google (yahoo, bing) search by Javascript</title><summary type="text">If somebody need:

A small function to Get google (yahoo, bing) search&#39;s by Javascript.


keyword = function(){
 var dr=d.referrer,q,fq,goo=&#39;&#39;;
 if(dr.match(/ogle\.c|ahoo\.c|bing.c/i)){
  if((q=dr.indexOf(&#39;q=&#39;))&amp;gt;0){
   fq = dr.indexOf(&#39;&amp;&#39;,q);
   goo = dr.substring(q+2,(fq&amp;gt;q?fq:dr.length));
  }
 }
 return goo;
}


To use, just call &quot;keyword&quot;:


var palavrachave = keyword();
if(palavrachave){</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/7644022479122720570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2010/03/get-google-yahoo-bing-search-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/7644022479122720570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/7644022479122720570'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2010/03/get-google-yahoo-bing-search-by.html' title='Get google (yahoo, bing) search by Javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-8846133298211306195</id><published>2008-03-07T04:54:00.000-08:00</published><updated>2008-03-07T05:12:55.735-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="menus"/><category scheme="http://www.blogger.com/atom/ns#" term="webstandards"/><title type='text'>Ultimate Micox Menu drop-down CSS - 4 levels</title><summary type="text">
Hi, now a code to be easy make your css drop down menu.

Long time ago i&#39;m finding a perfetc css menu drop down code.
I want a dropdown css menu easy to copy/paste, fast and no difficult configurations.

Just set width, color, bg and ready. Working in FF, IE6/7 an Opera.

Yesterday i post the final part that my code need (activating hover in IE6).
See the online example (and source code) of </summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/8846133298211306195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2008/03/ultimate-micox-menu-drop-down-css-4.html#comment-form' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/8846133298211306195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/8846133298211306195'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2008/03/ultimate-micox-menu-drop-down-css-4.html' title='Ultimate Micox Menu drop-down CSS - 4 levels'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-2569179425856279927</id><published>2008-03-06T12:45:00.000-08:00</published><updated>2008-03-07T03:06:18.849-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bugs_ie"/><category scheme="http://www.blogger.com/atom/ns#" term="webstandards"/><title type='text'>New way to hover and first-child in IE6</title><summary type="text">Hi, i&#39;m back
Now, i show a new way to simulate pseudo-class first-child and hover in IE6 with a diferent method. No HTC, no tag script, no external file.
The advantage of my new code is that can be inserted directly in CSS and not needs another file. The idea of &quot;expression&quot; can be used to other implementations :).

Micox Pseudo-class-css2 to IE (MXPC)

/* Micox Pseudo-class-css2 to IE (MXPC). </summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/2569179425856279927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2008/03/new-way-to-hover-and-first-child-in-ie6.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/2569179425856279927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/2569179425856279927'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2008/03/new-way-to-hover-and-first-child-in-ie6.html' title='New way to hover and first-child in IE6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-1820936830300800010</id><published>2007-06-14T07:21:00.000-07:00</published><updated>2009-02-05T03:45:50.585-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="word-wrap"/><title type='text'>Script word-wrap to Firefox - updated version</title><summary type="text">Hello,
Now a new and revised version of my old script to word-wrap big words in Firefox.

Correctly tested in Firefox and Opera. No more bugs in children or parents elements.

More easy to use.  
The Firefox dont wrap big words like Internet Explorer. IE have a CSS property called word-wrap that can be set to &#39;break-word&#39; and break the big words. Firefox and Opera don&#39;t have this property yet.

</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/1820936830300800010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/06/script-word-wrap-to-firefox-updated.html#comment-form' title='34 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/1820936830300800010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/1820936830300800010'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/06/script-word-wrap-to-firefox-updated.html' title='Script word-wrap to Firefox - updated version'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>34</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-4178276799446228249</id><published>2007-06-06T04:50:00.000-07:00</published><updated>2008-02-21T11:41:30.150-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>htmlEntities, array_search and strip_tags in JavaScript</title><summary type="text">Small post, small functions :-) Can be helpful for somebody someday. 
 htmlEntities, Array_search and strip_tags to  Java Script (like PHP functions htmlEntities, array_search and strip_tags).  
 htmlEntities in Javascript
Sometimes you need convert all applicable characters to HTML entities, also in javascript. Very common use while working with Ajax.
A small diference of this function to php </summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/4178276799446228249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/06/htmlentities-and-arraysearch-in.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/4178276799446228249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/4178276799446228249'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/06/htmlentities-and-arraysearch-in.html' title='htmlEntities, array_search and strip_tags in JavaScript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-7096241511661796191</id><published>2007-05-17T06:34:00.000-07:00</published><updated>2011-05-10T04:43:10.717-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browsers"/><category scheme="http://www.blogger.com/atom/ns#" term="bugs_ie"/><category scheme="http://www.blogger.com/atom/ns#" term="DOM"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Activating option disabled in IE</title><summary type="text">In Internet Explorer, the attribute &quot;disabled&quot; fails if used in tag option. See here a javascript to simulate the &quot;disabled&quot; attribute in Internet Explorer.
This code will execute and disable option in Standard browsers (FF, Op, etc):

&amp;lt;select&amp;gt;
   &amp;lt;option&gt;opt 1&amp;lt;/option&amp;gt;
   &amp;lt;option disabled=&quot;&#39;disabled&#39;&quot;&amp;gt;opt 2&amp;lt;/option&amp;gt;
   &amp;lt;option&gt;opt 3&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;

</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/7096241511661796191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/05/activating-option-disabled-in-ie.html#comment-form' title='32 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/7096241511661796191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/7096241511661796191'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/05/activating-option-disabled-in-ie.html' title='Activating option disabled in IE'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>32</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-4828741324127371407</id><published>2007-03-13T05:21:00.000-07:00</published><updated>2007-03-13T05:40:39.791-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="DOM"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="rss"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Loading a RSS XML feed just using JavaSript</title><summary type="text">Continuating the post Manipulating XML using JavaScript, now a util example of XML + JavaScript: Loading a RSS XML feed.
1) Manipulating XML using JavaScript
See my previous small tutorial about XML + JavaScript to understend the function above.
2) Making the function to read RSS data
Put the JavaScript function above in your html document or in a &quot;.js&quot; file (and include in your document).
</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/4828741324127371407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/03/loading-rss-xml-feed-just-using.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/4828741324127371407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/4828741324127371407'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/03/loading-rss-xml-feed-just-using.html' title='Loading a RSS XML feed just using JavaSript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-1510496567111160337</id><published>2007-03-12T10:57:00.000-07:00</published><updated>2011-05-10T05:30:17.299-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Asynchronous upload - Like AJAX - 1 function</title><summary type="text">Helo! Here a simple function to asynchronous upload using iframe. Dont reload the page. Like AJAX but its not ajax.You dont need to create the iframe, the function do this. Work like Gmail upload and Google pages upload. 
Tested in Firefox 2.0, Internet Explorer 6.0 e Opera 9.1. If you test in another browsers, please write a comment. 
Update: New version here (portuguese)
1) Put the code above </summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/1510496567111160337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/03/asynchronous-upload-like-ajax-1.html#comment-form' title='106 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/1510496567111160337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/1510496567111160337'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/03/asynchronous-upload-like-ajax-1.html' title='Asynchronous upload - Like AJAX - 1 function'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>106</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-7191005489051789725</id><published>2007-02-08T02:41:00.000-08:00</published><updated>2007-03-13T05:42:07.714-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="DOM"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Manipulating XML using JavaScript</title><summary type="text">No PHP, ASP or JSP codes, just JavaScript.
Manipulating XML files or data using JavaScript to create lists, tables, menus, manipulate feeds  (rss or atom), etc.
Important: Browser just allow access to files in your own domain (security reasons). Dont try to load XML files of another domains, this is not possible.
1. Make a XML test file
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;
&amp;lt;person&amp;gt;
   &amp;lt</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/7191005489051789725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/manipulating-xml-using-javascript.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/7191005489051789725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/7191005489051789725'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/manipulating-xml-using-javascript.html' title='Manipulating XML using JavaScript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-1372768702591653830</id><published>2007-02-06T04:21:00.000-08:00</published><updated>2007-02-08T03:34:26.675-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DOM"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Include Function in JavaScript</title><summary type="text">Here, a include function to JavaScript like PHP.
Good for conditional includes.
Using:
if(have_money==true)  {
 include(&quot;girs.js&quot;);
} else if(i_am_very_rich==true) {
 include(&quot;more_more_girls.js&quot;);
}else if(i_am_inteligent==true){
 include(&quot;no_girls_back_to_work.js&quot;);
}


Add this function to your code:
function include(arquivo){
//By Fabrício Magri e Micox
//http://elmicox.blogspot.com/2006/12/</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/1372768702591653830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/include-function-in-javascript.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/1372768702591653830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/1372768702591653830'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/include-function-in-javascript.html' title='Include Function in JavaScript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-2647586554545471523</id><published>2007-02-02T09:54:00.000-08:00</published><updated>2007-10-31T09:41:45.858-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DOM"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>InnerHTML and Select option in IE</title><summary type="text">Hello. This is my second post.
The non-DOM property innerHTML can&#39;t add options to a tag select in Internet Explorer.
Example not working:
document.getElementById(&amp;quot;my_select&amp;quot;).innerHTML = &amp;quot;&amp;lt;option value=&#39;1&#39;&amp;gt;not&amp;lt;/option&amp;gt; &amp;lt;option value=&#39;2&#39;&amp;gt;work&amp;lt;/option&amp;gt;&amp;quot;; 
The correct way to insert options in a select is using appendChild or addOption functions. But </summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/2647586554545471523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/innerhtml-and-select-option-in-ie.html#comment-form' title='80 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/2647586554545471523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/2647586554545471523'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/innerhtml-and-select-option-in-ie.html' title='InnerHTML and Select option in IE'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>80</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7157500263328606425.post-5934177767519311019</id><published>2007-02-02T05:41:00.000-08:00</published><updated>2007-06-14T22:18:22.332-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browsers"/><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Word wrap in Firefox</title><summary type="text">Updated version of word-wrap to Firefox and Opera here!!! Above, a old version with bugs.

Hello. My first topic.
This blog will show just codes.
I have a blog in portuguese language and decide post my codes in english to all the word heheh.
My english is not good, so, sorry and go to codes. Just codes.
The Firefox dont wrap big words like Internet Explorer in width of a parent element.Example:
</summary><link rel='replies' type='application/atom+xml' href='http://elmicoxcodes.blogspot.com/feeds/5934177767519311019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/word-wrap-in-firefox.html#comment-form' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/5934177767519311019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7157500263328606425/posts/default/5934177767519311019'/><link rel='alternate' type='text/html' href='http://elmicoxcodes.blogspot.com/2007/02/word-wrap-in-firefox.html' title='Word wrap in Firefox'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>18</thr:total></entry></feed>