<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1014448" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1014448</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Re: Image Swapping</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/image-swapping#comment-1083297</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;strong&gt;&lt;br /&gt;
What is the javascript code to have image1.gif be replaced by image2.gif when the mouse moves over image1.gif?&lt;br /&gt;
&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;There are tons of code snippets for this. If you have DreamWeaver read the dynamic functions (behaviors) tutorial. It’s very easy to do with DreamWeaver. The primary thing to remember is that the coding is basically the same no matter what image your swapping. The only difference is the name of the image you want to replace.&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &lt;strong&gt;&lt;br /&gt;
What is the javascript code for mouseover on a table cell to change the cell color?&lt;br /&gt;
&lt;/strong&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;This only works in IE (it probably works in Netscape 6 also) so I usually do this by using images rather then tables. However you can find a JavaScript for IE at &lt;a href=&quot;http://www.dynamicdrive.com/dynamicindex11/highlighttable.htm&quot; class=&quot;bb-url&quot;&gt;http://www.dynamicdrive.com/dynamicindex11/highlighttable.htm&lt;/a&gt;. There are also other ways to do it. I believe there’s a fairly complex tutorial at The Microsoft Developer Site.&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &lt;strong&gt;&lt;br /&gt;
What is the javascript code for mouseover text color changing? Would CSS style sheets work better?&lt;br /&gt;
&lt;/strong&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;It can be done a few different ways. One way would be:&lt;/p&gt;
&lt;p&gt;-------------------------------------------------------&lt;br /&gt;
&lt;a href=&quot;http://www.webmaster-forums.com/&quot;&gt;&lt;br /&gt;
Link to TWF&lt;/a&gt;&lt;br /&gt;
-------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Another way would be using StyleSheets:&lt;/p&gt;
&lt;p&gt;-------------------------------------------------------&lt;/p&gt;
&lt;p&gt;TITLE&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.webmaster-forums.com/&quot;&gt;Link to TWF&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;-------------------------------------------------------&lt;/p&gt;
&lt;p&gt;There are also ways to use CSS on particular links. Take a look at a good CSS tutorial for more information. Webmonkey.com has quite a few.&lt;/p&gt;
 </description>
     <pubDate>Wed, 06 Jun 2001 03:55:34 +0000</pubDate>
 <dc:creator>Adam Oberdorfer</dc:creator>
 <guid isPermaLink="false">comment 1083297 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
