Jump to content


Photo

Image problem


  • Please log in to reply
2 replies to this topic

#1 Endrew

Endrew
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 17 May 2006 - 12:48 AM

I have a problem with following code.

<a href="/index.htm"onmouseover="status='Go back to main page';return true;" onmouseout="status='';">
<img border="0" onmouseover="src='picture/b_homeo.gif';return true;" onmouseout="src='picture/b_homen.gif';return true;">
</a>

The button image is not show when the page is loaded. As long as mouse pointer is not over the button, it only shows image icon. I try to process onload message but gave me "Stack overflow" error message.

#2 GBS

GBS
  • Members
  • PipPipPip
  • Advanced Member
  • 108 posts

Posted 18 May 2006 - 03:16 AM

Hi there,

you forget to add a 'src' attribute to your image,,
<a href="index.html" onmouseover="status='Go back to main page';" onmouseout="status='';" >
<img border="0" src="a.gif" onmouseover="src='b.gif';" onmouseout="src='a.gif';">
</a>
should do the job,, :)

l8tr,,
Sorry for my english,... I do my best, but sometimes,...
1st intention: understand the problem
2nd intention: try to solve it
3rd intention: try to understand how to solve it :)

#3 Endrew

Endrew
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 19 May 2006 - 12:50 AM

[!--quoteo(post=374853:date=May 17 2006, 11:16 PM:name=GBS)--][div class=\'quotetop\']QUOTE(GBS @ May 17 2006, 11:16 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hi there,

you forget to add a 'src' attribute to your image,,
<a href="index.html" onmouseover="status='Go back to main page';" onmouseout="status='';" >
<img border="0" src="a.gif" onmouseover="src='b.gif';" onmouseout="src='a.gif';">
</a>
should do the job,, :)

l8tr,,
[/quote]

THANKS A LOT. [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users