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
Share on other sites

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,,
Link to comment
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.