<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1044084" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1044084</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Better yet, put a real link</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/beginner-question-javascript-link-php#comment-1242409</link>
    <description> &lt;p&gt;Better yet, put a real link around the image and scrap the JavaScript. This will do everything you need on all computers, not just those with JavaScript enabled. (Google will find the link, too.)&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Jun 2009 17:41:10 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1242409 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>You can use CSS to change</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/beginner-question-javascript-link-php#comment-1242405</link>
    <description> &lt;p&gt;You can use CSS to change the cursor to the hand:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;img {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor:pointer;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;But the problem with that is every image will have the pointer (which you probably don&#039;t want). &lt;/p&gt;
&lt;p&gt;Instead you can add a class to your image tag, and use a CSS selector to modify only the images with that class.&lt;/p&gt;
&lt;p&gt;Adding the class to your tag:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;img class=&amp;quot;clickable&amp;quot; onClick=&amp;quot;javascript:goToMilitia();&amp;quot; src=&amp;quot;http://xxx.xxxxxx.xxx/images/mmenu/button9.png&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
And your CSS:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;img.clickable {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor:pointer;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Jun 2009 17:29:36 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1242405 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
