<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1029323" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1029323</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171986</link>
    <description> &lt;p&gt;For anyone in the future who has these problems - here are the answers:&lt;/p&gt;
&lt;p&gt;Question: Can you use IE specific code and Mozilla specific code in the same function?&lt;br /&gt;
Answer: Yes.  Mozilla ignores the IE code and IE ignores Mozilla&#039;s.&lt;/p&gt;
&lt;p&gt;Question: Why do the layers fade in and out in IE but do nothing in Mozilla?&lt;br /&gt;
Answer: IDs must be associated with div, span, etc for Mozilla.  IE allows tables to have an ID.&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 May 2005 00:51:07 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1171986 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171661</link>
    <description> &lt;p&gt;I&#039;m not sure what you&#039;re referring to.  Please provide more information.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 May 2005 14:51:58 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1171661 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171657</link>
    <description> &lt;p&gt;Why not just DHTML the header?&lt;br /&gt;
... Can even do this in pure CSS&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 May 2005 14:39:09 +0000</pubDate>
 <dc:creator>techniner</dc:creator>
 <guid isPermaLink="false">comment 1171657 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171652</link>
    <description> &lt;p&gt;That is what I was expecting.  Of all of the articles you posted links to I spent the most time with the apple ones.  I will research checking for supporting objects instead of browser sniffing.  That seems to be the best way to check for browser compatibility.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 May 2005 12:50:22 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1171652 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171626</link>
    <description> &lt;p&gt;I dislike the eval() statement because it doesn&#039;t exploit the usefulness of DOM selectors. It&#039;s unclean. &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;DOM selectors are discussed in the DOM I and II articles at developer.apple.&lt;/p&gt;
&lt;p&gt;This is the error displayed in Mozilla&#039;s Javascript Console:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Error: objID.filters has no properties&lt;br /&gt;Source File: &amp;lt;a href=&amp;quot;http://www.freemathtest.com/mathemagics/helpers/fadeScripts.js&amp;quot; class=&amp;quot;bb-url&amp;quot;&amp;gt;http://www.freemathtest.com/mathemagics/helpers/fadeScripts.js&amp;lt;/a&amp;gt;&lt;br /&gt;Line: 101&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;It doesn&#039;t matter that you&#039;ve provided additional code for Mozilla -- the browser will still choke on what it thinks is a selector or syntax error as it tries to parse it anyway. What you need is to have a conditional if() or switch() that checks for the client type and chooses the appropriate selector path to use; subsequent code will use this path, hiding unrecognised ones from browsers. It&#039;s somewhat unreliable since browser sniffing has many fail-cases. Google for tutorials on browser sniffing, or study code at dynamicdrive.com.&lt;/p&gt;
&lt;p&gt;The third link at apple.developer is an article describing a slightly different means of checking whether an object path is supported, which is to simply test for it. This method is less painful, but I don&#039;t know if it will suit your task.&lt;/p&gt;
&lt;p&gt;Either way, it could get fairly complicated fast as you&#039;ll have to reconsider your script&#039;s processes and flow.&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>Tue, 24 May 2005 06:36:57 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1171626 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171615</link>
    <description> &lt;p&gt;I have read most of those articles and still have some questions.  I don&#039;t believe my previous questions were answered in those articles.&lt;/p&gt;
&lt;p&gt;It seems like it would be easier to manage the scripts if I include all browser support in 1 section without doing a browser check.  I assume this causes problems because I got my scripts from other tutorial sites and they don&#039;t work.&lt;/p&gt;
&lt;p&gt;Why do people dislike the eval statement?&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 May 2005 19:31:51 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1171615 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171610</link>
    <description> &lt;p&gt;The same place where the alpha opacity is set for IE has the -moz-opacity set in the same section.  I was under the impression that as long as I covered all browsers it would ignore the ones it does not understand and execute the ones it does.  Does the IE version cause an error for mozilla?&lt;/p&gt;
&lt;p&gt;Using an array would be very easy to put in place instead of the eval statement, but wouldn&#039;t it do the same thing?  By your response it looks like the eval statement is frowned upon by veterans of the javascript world.  Why is that?&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 May 2005 16:58:19 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1171610 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171606</link>
    <description> &lt;p&gt;A couple of problems I can see:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;	nOpac = objID.filters.alpha.opacity;&lt;/code&gt;&#039;&lt;br /&gt;
Brings up an error in the Javascript Console in Mozilla. The problem is you&#039;re using a &quot;filter&quot; -- it&#039;s a non-standard, IE-specific extension. The equivalent of this opacity filter in Moz is -moz-opacity (it&#039;s prefixed with a &#039;-&#039; because it&#039;s non-standard too). Either you forget about implementing fancy CSS-Javascript tricks, or you write a tedious, fragile script that detects the client type and uses the appropriate object model. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;		if(eval(&amp;#039;secCover&amp;#039; + i + &amp;#039;.filters.alpha.opacity != 0&amp;#039;)){&lt;/code&gt;&#039;&lt;br /&gt;
Again there is a filter being used, but that&#039;s not what I&#039;m pointing out here. I see you&#039;ve resorted to eval() because of the naming scheme you&#039;ve used for the page elements; this isn&#039;t the cleanest solution anyway, but it &lt;em&gt;may&lt;/em&gt; also break in some cases. Look into using an array of elements instead, or exploiting child and sibling DOM selectors.&lt;/p&gt;
&lt;p&gt;Some reading:&lt;br /&gt;
&lt;a href=&quot;http://developer.apple.com/internet/webcontent/dom2i.html&quot; class=&quot;bb-url&quot;&gt;http://developer.apple.com/internet/webcontent/dom2i.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://developer.apple.com/internet/webcontent/dom2ii.html&quot; class=&quot;bb-url&quot;&gt;http://developer.apple.com/internet/webcontent/dom2ii.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://developer.apple.com/internet/webcontent/objectdetection.html&quot; class=&quot;bb-url&quot;&gt;http://developer.apple.com/internet/webcontent/objectdetection.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.cssdrive.com/index.php/examples/exampleitem/highlight_image_opacity/&quot; class=&quot;bb-url&quot;&gt;http://www.cssdrive.com/index.php/examples/exampleitem/highlight_image_opacity/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.alistapart.com/articles/pngopacity/&quot; class=&quot;bb-url&quot;&gt;http://www.alistapart.com/articles/pngopacity/&lt;/a&gt;&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>Mon, 23 May 2005 15:40:10 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1171606 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171592</link>
    <description> &lt;p&gt;Has anyone manipulated layers in Mozilla using javascript?  If so, can you please provide me with some sample code of what worked for you?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 May 2005 12:43:17 +0000</pubDate>
 <dc:creator>artsapimp</dc:creator>
 <guid isPermaLink="false">comment 1171592 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mozilla-hates-me#comment-1171571</link>
    <description> &lt;p&gt;The trick of making sites work in IE and Mozilla is to make it work in Mozilla first and then hack our way through IE compatibility. That road is way shorter than IE to Moz.&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 May 2005 09:45:11 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1171571 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
