<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032621" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032621</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/very-confused-displaying-div-area-onclick#comment-1190970</link>
    <description> &lt;p&gt;I thought it would only work in internet explorer as well but while i was playing with the code i found it works in IE Opera and Firefox ( the latest versions anyway ) :S .&lt;br /&gt;
Here&#039;s a test page&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.anthonychristian.co.uk/test.html&quot; class=&quot;bb-url&quot;&gt;http://www.anthonychristian.co.uk/test.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I substituted the  for a table so that the clickable region is visible...&lt;/p&gt;
 </description>
     <pubDate>Thu, 19 Jan 2006 17:01:34 +0000</pubDate>
 <dc:creator>mikehannon</dc:creator>
 <guid isPermaLink="false">comment 1190970 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/very-confused-displaying-div-area-onclick#comment-1190914</link>
    <description> &lt;p&gt;document.all is only used by IE, you should use document.getElementById(id);&lt;/p&gt;
&lt;p&gt;The best idea is to make a JS function like:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function showdiv(id){&lt;br /&gt;	obj = document.getElementById(id);&lt;br /&gt;	if(obj.style.display == &amp;#039;block&amp;#039;){&lt;br /&gt;		obj.style.display = &amp;#039;none&amp;#039;;&lt;br /&gt;	}else{&lt;br /&gt;		obj.style.display = &amp;#039;block&amp;#039;;&lt;br /&gt;		}&lt;br /&gt;	}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;onclick doesn&#039;t need &#039;javascript:&#039;, so your HTML would be&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;area onClick=&amp;quot;showdiv(&amp;#039;whatever1&amp;#039;);&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;whatever1&amp;quot;&amp;gt;&lt;br /&gt;Hello World&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Thu, 19 Jan 2006 06:50:52 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1190914 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/very-confused-displaying-div-area-onclick#comment-1190872</link>
    <description> &lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;I guess you would be using an image map?&lt;br /&gt;
This should work with a little modification... for example you may have to use absolute positioning to put the  where you want it to appear. &lt;/p&gt;
&lt;p&gt;I&#039;m sure there are other ways to do it though...&lt;/p&gt;
 </description>
     <pubDate>Wed, 18 Jan 2006 23:56:30 +0000</pubDate>
 <dc:creator>mikehannon</dc:creator>
 <guid isPermaLink="false">comment 1190872 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
