Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Rollover/onclick images not appearing but will on 'show picture'


Message #1 by smburton1@a... on Sun, 09 Dec 2001 15:50:01 +0000

I have a simple onclick event that changes and image 
source on the onclick of another image.  However, when 
clicking the first image, nothing appears where the 
second image should.  but if I right click on where the 
image should have appeared and view the properties or 
select 'show picture' I can see that the image changed, 
it just didn't appear.

This seems like such a simple task and yet its driving 
me crazy.  Here is my code.  PLEASE HELP.

<table border="0" width="100%">
  <tr>
    <td width="33%"><a href="javascript:void(0)" 
onmouseover="accept.src='../accepton.gif'" 
onmouseout="accept.src='../accept.gif'" 
onclick="answer.src='../incorrect.jpg';"><img border="0" 
name="accept" src="../accept.gif" width="176" 
height="24"></a></td>
    <td width="67%" rowspan="2"><img name="answer" 
border="0" src="../411blank.gif" width="185" 
height="168"></td>
  </tr>
  </table>

Thanks,
SMB

  Return to Index