Thank you. That worked. But I'm having trouble with the "onmouseover" and
the "onmouseout."
Do you have any counsel for that?
> Photoshop should have an option to export the slices with supporting HTML.
> All you need to do is paste the HTML into the ASPX page.
[quoted text clipped - 9 lines]
>> asp.net file.
>> Who knows how?
> Thank you. That worked. But I'm having trouble with the "onmouseover" and
> the "onmouseout."
> Do you have any counsel for that?
Haven't we been here before...?
There really is no point in saying that you're "having trouble" if you don't
actually tell us what trouble you're having...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
David Jackson - 06 Aug 2007 18:19 GMT
>> Thank you. That worked. But I'm having trouble with the "onmouseover"
>> and the "onmouseout."
[quoted text clipped - 4 lines]
> There really is no point in saying that you're "having trouble" if you
> don't actually tell us what trouble you're having...
Aren't you MVPs supposed to be psychic?
;-)
dancer - 06 Aug 2007 19:34 GMT
Here is my code. The red_02 shows, but nothing changes at "onmouseover"
I have checked the names several times to see if the pictures exist in the
directory named.
<TR>
<TD><A
onmouseover="document.about.src='http://www.xxxxxxxx.com/images/menu/pictures_aspx/sidebar_Green_02.jpg'"
onmouseout="document.about.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_red_02.jpg'"
href="../about.htm">
<IMG SRC="http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Red_02.jpg"
WIDTH=120 HEIGHT=46 border="0" ALT=""></TD>
</TR>
<TR>
<TD>
<A
onmouseover="document.about.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_03.jpg'"
onmouseout="document.about.src='http://www.xxxxxxx.com/images/menu/pictures_aspx/sidebar_Red_03.jpg'"
href="../about.htm">
<IMG
SRC="http://www.xxxxxxx.com/images/menu/pictures_aspx/sidebar_Red_03.jpg"
WIDTH=120 HEIGHT=44 border="0" ALT=""></TD>
</TR>
>> Thank you. That worked. But I'm having trouble with the "onmouseover"
>> and the "onmouseout."
[quoted text clipped - 4 lines]
> There really is no point in saying that you're "having trouble" if you
> don't actually tell us what trouble you're having...
Mark Rae [MVP] - 06 Aug 2007 20:16 GMT
> onmouseover="document.about.src='http://www.xxxxxxxx.com/images/menu/pictures_aspx/sidebar_Green_02.jpg'"
1) document.about??? What's that? Do you have an element with an ID of
'about'...?
2) Can you change the onmouseover temporarily to be
onmouseover="(alert('Hello');"
That will at least clarify that the onmouseover is actually working...
3) What browser are you using? Reason I ask is that your markup is seriously
non XHTML-compliant, which means that things may not be working as you
expect in anything other than IE...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
dancer - 06 Aug 2007 22:24 GMT
I figured out my problem. Thanks.
This is code I inherited in a web site and have been using it since.
How do YOU code onmouseover and onmouseout?
>> onmouseover="document.about.src='http://www.xxxxxxxx.com/images/menu/pictures_aspx/sidebar_Green_02.jpg'"
>
[quoted text clipped - 10 lines]
> seriously non XHTML-compliant, which means that things may not be working
> as you expect in anything other than IE...
Mark Rae [MVP] - 06 Aug 2007 22:35 GMT
> How do YOU code onmouseover and onmouseout?
Same as you...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
dancer - 07 Aug 2007 14:07 GMT
But you said, "...your markup is seriously
non XHTML-compliant, which means that things may not be working as you
expect in anything other than IE..."
>> How do YOU code onmouseover and onmouseout?
>
> Same as you...
Mark Rae [MVP] - 07 Aug 2007 16:41 GMT
> But you said, "...your markup is seriously
> non XHTML-compliant, which means that things may not be working as you
> expect in anything other than IE..."
That's correct - your markup is not XHTML-compliant (e.g. you have <TD>
instead of <td> etc) which intially made me think that that might be
stopping your JavaScript from running...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net