<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1034405" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1034405</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/getelementbyidohboy#comment-1200364</link>
    <description> &lt;p&gt;It works in IE because the &#039;filter&#039; CSS property is a non-standard IE extension.  MSDN: &lt;a href=&quot;http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/filter.asp&quot; class=&quot;bb-url&quot;&gt;filter attribute&lt;/a&gt;, &lt;a href=&quot;http://msdn.microsoft.com/workshop/author/filter/reference/reference.asp&quot; class=&quot;bb-url&quot;&gt;values&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Though there is no alpha/opacity property in &lt;a href=&quot;http://www.w3.org/TR/CSS21/propidx.html&quot; class=&quot;bb-url&quot;&gt;CSS 2.1&lt;/a&gt;, &lt;a href=&quot;http://www.w3.org/TR/css3-color/#opacity&quot; class=&quot;bb-url&quot;&gt;CSS3&lt;/a&gt; will have it.&lt;/p&gt;
&lt;p&gt;Other browsers support opacity properties to varying degrees.  &lt;a href=&quot;http://xulplanet.com/references/elemref/ref_StyleProperties.html&quot; class=&quot;bb-url&quot;&gt;Mozilla&lt;/a&gt; has a non-standard CSS extension called -moz-opacity.  It takes a value between 0 and 1.0, though, as does Safari.  &lt;a href=&quot;http://my.opera.com/olli/blog/show.dml/81711&quot; class=&quot;bb-url&quot;&gt;Opera 9&lt;/a&gt; will support opacity. I don&#039;t think Konqueror supports it at all.&lt;/p&gt;
&lt;p&gt;This can be very fiddly to make work across platforms.  It has nothing to do with your getElementById selector. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 May 2006 02:58:26 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1200364 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>well...</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/getelementbyidohboy#comment-1200355</link>
    <description> &lt;p&gt;Actually, it&#039;s more like:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;var alph = 0;&lt;br /&gt;function appear(){&lt;br /&gt;alph += 10;&lt;br /&gt;document.getElementById(object).style.filter = &amp;quot;Alpha(opacity=&amp;quot;+alph+&amp;quot;)&amp;quot;;&lt;br /&gt;setTimeout(&amp;quot;appear()&amp;quot;,10);&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
...&lt;br /&gt;
I think. &#039;cause it&#039;s on my other computer. My code works on IE, but I want to put it on the web for everyone, and I want people to see it.&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 May 2006 01:38:59 +0000</pubDate>
 <dc:creator>kker</dc:creator>
 <guid isPermaLink="false">comment 1200355 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/getelementbyidohboy#comment-1200151</link>
    <description> &lt;p&gt;document.getElementById() is possibly the most important function in the DOM, it&#039;s the basis for practically everything! Naming a replacement to this is functionally impossible, but am also certain you should be able to achieve the results you need with it.&lt;/p&gt;
&lt;p&gt;Let us know if you&#039;re trying to do something like the following:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;document.getElementById(&amp;#039;elementname&amp;#039;).style.background = &amp;#039;black&amp;#039;;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;That&#039;ll set the elements background to black for instance. If you give us more details about what you&#039;re trying to do, and/or show us code we can help you more. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2006 12:40:51 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1200151 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/getelementbyidohboy#comment-1200131</link>
    <description> &lt;p&gt;What exactly are you concerned about with it?  I don&#039;t see any problems with getElementById and CSS properties.  Whatever selector you use, you should ultimately operate on the same object, the same way.&lt;/p&gt;
&lt;p&gt;Is something not working?  Can you show us code?&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2006 07:07:09 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1200131 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/getelementbyidohboy#comment-1200118</link>
    <description> &lt;p&gt;Well, my main concern with it is with DHTML, changing CSS values, mainly &quot;filter:Alpha(opacity=XXX)&quot;&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2006 01:19:45 +0000</pubDate>
 <dc:creator>kker</dc:creator>
 <guid isPermaLink="false">comment 1200118 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/getelementbyidohboy#comment-1200003</link>
    <description> &lt;p&gt;Hey kker, melcome to TWF! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I can&#039;t name a drop-in replacement to getElementbyId with the same parameters and return type -- that would be redundant.&lt;/p&gt;
&lt;p&gt;Related methods are listed here: &lt;a href=&quot;http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#ID-BBACDC08&quot; class=&quot;bb-url&quot;&gt;Section 1.2 Fundamental Interfaces in the DOM Core&lt;/a&gt;, mainly under Document Interface.  getElementsByTagName is probably nearest to getElementById.&lt;/p&gt;
&lt;p&gt;We could probably give you a more helpful answer if you give us details about your problem or what you&#039;re trying to achieve. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 May 2006 05:09:24 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1200003 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
