Jump to content

Image problem


Endrew

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/9826-image-problem/
Share on other sites

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

you forget to add a 'src' attribute to your image,,
[code]
<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>
[/code]
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\" /]
Link to comment
https://forums.phpfreaks.com/topic/9826-image-problem/#findComment-37037
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.