DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 5 Aug 2007 12:27:17 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    dancer
          2    Mark Rae [MVP]
          3    Peter Bromberg [C# MVP]
                 4    dancer
                        5    Mark Rae [MVP]
                               6    dancer
                                      7    Mark Rae [MVP]
                                             8    dancer
                                                    9    Mark Rae [MVP]
                        10    David Jackson
                        11    dancer
                               12    Mark Rae [MVP]
                 13    dancer


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?
Date:Sun, 5 Aug 2007 12:27:17 -0400   Author:  

Re: Insert Graphic   
"dancer"  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
Date:Sun, 5 Aug 2007 17:41:03 +0100   Author:  

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? 
> 
> 
> 
Date:Sun, 5 Aug 2007 10:36:01 -0700   Author:  

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]"  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?
>>
>>
>> 
Date:Mon, 6 Aug 2007 10:42:58 -0400   Author:  

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]"  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?
>>
>>
>> 
Date:Mon, 6 Aug 2007 11:09:04 -0400   Author:  

Re: Insert Graphic   
"dancer"  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
Date:Mon, 6 Aug 2007 17:20:28 +0100   Author:  

Re: Insert Graphic   
"Mark Rae [MVP]"  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?

;-)
Date:Mon, 6 Aug 2007 18:19:50 +0100   Author:  

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]"  wrote in message 
news:OY90vWE2HHA.6128@TK2MSFTNGP02.phx.gbl...

> "dancer"  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 
Date:Mon, 6 Aug 2007 14:34:21 -0400   Author:  

Re: Insert Graphic   
"dancer"  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
Date:Mon, 6 Aug 2007 20:16:25 +0100   Author:  

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]"  wrote in message 
news:%23vdhE5F2HHA.484@TK2MSFTNGP06.phx.gbl...

> "dancer"  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 
Date:Mon, 6 Aug 2007 17:24:12 -0400   Author:  

Re: Insert Graphic   
"dancer"  wrote in message 
news:OTW1lAH2HHA.4672@TK2MSFTNGP05.phx.gbl...


> How do YOU code onmouseover and onmouseout?


Same as you...


-- 
Mark Rae
ASP.NET MVP
http://www.markrae.net
Date:Mon, 6 Aug 2007 22:35:10 +0100   Author:  

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



"Mark Rae [MVP]"  wrote in message 
news:%23SfumGH2HHA.2064@TK2MSFTNGP03.phx.gbl...

> "dancer"  wrote in message 
> news:OTW1lAH2HHA.4672@TK2MSFTNGP05.phx.gbl...
>
>> How do YOU code onmouseover and onmouseout?
>
> Same as you...
>
>
> -- 
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net 
Date:Tue, 7 Aug 2007 09:07:44 -0400   Author:  

Re: Insert Graphic   
"dancer"  wrote in message 
news:uzxm0PP2HHA.1208@TK2MSFTNGP03.phx.gbl...


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


-- 
Mark Rae
ASP.NET MVP
http://www.markrae.net
Date:Tue, 7 Aug 2007 16:41:51 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us