Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Insert Graphic (http://www.velocityreviews.com/forums/t527116-insert-graphic.html)

dancer 08-05-2007 04:27 PM

Insert Graphic
 
Using ASP.net 1.1
I have a graphic I sliced in Photoshop. I would like to insert that into an
asp.net file.
Who knows how?



Mark Rae [MVP] 08-05-2007 04:41 PM

Re: Insert Graphic
 
"dancer" <dancer@microsoft.com> wrote in message
news:%23m3p%23131HHA.1184@TK2MSFTNGP04.phx.gbl...

> Using ASP.net 1.1
> I have a graphic I sliced in Photoshop. I would like to insert that into
> an asp.net file.
> Who knows how?


<img src="MyImage.jpg" alt="MyImage" />


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


=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?= 08-05-2007 05:36 PM

RE: Insert Graphic
 
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.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com



"dancer" wrote:

> Using ASP.net 1.1
> I have a graphic I sliced in Photoshop. I would like to insert that into an
> asp.net file.
> Who knows how?
>
>
>


dancer 08-06-2007 02:42 PM

Re: Insert Graphic
 
Thank you. That worked. But I'm having trouble with the "onmouseover" and
the "onmouseout."
Do you have any counsel for that?


"Peter Bromberg [C# MVP]" <pbromberg@yahoo.yohohhoandabottleofrum.com> wrote
in message news:3B76CE89-EC38-4CF8-B26A-F8F47AEE72A8@microsoft.com...
> 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.
> -- Peter
> Recursion: see Recursion
> site: http://www.eggheadcafe.com
> unBlog: http://petesbloggerama.blogspot.com
> bogMetaFinder: http://www.blogmetafinder.com
>
>
>
> "dancer" wrote:
>
>> Using ASP.net 1.1
>> I have a graphic I sliced in Photoshop. I would like to insert that into
>> an
>> asp.net file.
>> Who knows how?
>>
>>
>>




dancer 08-06-2007 03:09 PM

Re: Insert Graphic
 
Thank you. That worked. But I am having trouble with "onmouseover" and
"onmouseout." do you have any counsel for that?


"Peter Bromberg [C# MVP]" <pbromberg@yahoo.yohohhoandabottleofrum.com> wrote
in message news:3B76CE89-EC38-4CF8-B26A-F8F47AEE72A8@microsoft.com...
> 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.
> -- Peter
> Recursion: see Recursion
> site: http://www.eggheadcafe.com
> unBlog: http://petesbloggerama.blogspot.com
> bogMetaFinder: http://www.blogmetafinder.com
>
>
>
> "dancer" wrote:
>
>> Using ASP.net 1.1
>> I have a graphic I sliced in Photoshop. I would like to insert that into
>> an
>> asp.net file.
>> Who knows how?
>>
>>
>>




Mark Rae [MVP] 08-06-2007 04:20 PM

Re: Insert Graphic
 
"dancer" <dancer@microsoft.com> wrote in message
news:u8jYhtD2HHA.3788@TK2MSFTNGP02.phx.gbl...

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


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


David Jackson 08-06-2007 05:19 PM

Re: Insert Graphic
 
"Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
news:OY90vWE2HHA.6128@TK2MSFTNGP02.phx.gbl...

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


Aren't you MVPs supposed to be psychic?

;-)



dancer 08-06-2007 06:34 PM

Re: Insert Graphic
 
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>



"Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
news:OY90vWE2HHA.6128@TK2MSFTNGP02.phx.gbl...
> "dancer" <dancer@microsoft.com> wrote in message
> news:u8jYhtD2HHA.3788@TK2MSFTNGP02.phx.gbl...
>
>> 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...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net




Mark Rae [MVP] 08-06-2007 07:16 PM

Re: Insert Graphic
 
"dancer" <dancer@microsoft.com> wrote in message
news:%23VebqhF2HHA.1208@TK2MSFTNGP03.phx.gbl...

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


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


dancer 08-06-2007 09:24 PM

Re: Insert Graphic
 
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?




"Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
news:%23vdhE5F2HHA.484@TK2MSFTNGP06.phx.gbl...
> "dancer" <dancer@microsoft.com> wrote in message
> news:%23VebqhF2HHA.1208@TK2MSFTNGP03.phx.gbl...
>
>> 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...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net





All times are GMT. The time now is 04:29 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.