Endrew Posted May 17, 2006 Share Posted May 17, 2006 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. Quote Link to comment Share on other sites More sharing options...
GBS Posted May 18, 2006 Share Posted May 18, 2006 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 Link to comment Share on other sites More sharing options...
Endrew Posted May 19, 2006 Author Share Posted May 19, 2006 [!--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\" /] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.