Insert Graphic

Discussion in 'ASP .Net' started by dancer, Aug 5, 2007.

  1. dancer

    dancer Guest

    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, Aug 5, 2007
    #1
    1. Advertising

  2. "dancer" <> wrote in message
    news:%23m3p%...

    > 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
    Mark Rae [MVP], Aug 5, 2007
    #2
    1. Advertising

  3. =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=, Aug 5, 2007
    #3
  4. dancer

    dancer Guest

    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:...
    > 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, Aug 6, 2007
    #4
  5. dancer

    dancer Guest

    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:...
    > 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, Aug 6, 2007
    #5
  6. "dancer" <> wrote in message
    news:...

    > 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], Aug 6, 2007
    #6
  7. "Mark Rae [MVP]" <> wrote in message
    news:...

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

    ;-)
    David Jackson, Aug 6, 2007
    #7
  8. dancer

    dancer Guest

    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:...
    > "dancer" <> wrote in message
    > news:...
    >
    >> 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
    dancer, Aug 6, 2007
    #8
  9. "dancer" <> wrote in message
    news:%...

    > 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
    Mark Rae [MVP], Aug 6, 2007
    #9
  10. dancer

    dancer Guest

    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:%...
    > "dancer" <> wrote in message
    > news:%...
    >
    >> 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, Aug 6, 2007
    #10
  11. "dancer" <> wrote in message
    news:...

    > How do YOU code onmouseover and onmouseout?


    Same as you...


    --
    Mark Rae
    ASP.NET MVP
    http://www.markrae.net
    Mark Rae [MVP], Aug 6, 2007
    #11
  12. dancer

    dancer Guest

    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:%...
    > "dancer" <> wrote in message
    > news:...
    >
    >> How do YOU code onmouseover and onmouseout?

    >
    > Same as you...
    >
    >
    > --
    > Mark Rae
    > ASP.NET MVP
    > http://www.markrae.net
    dancer, Aug 7, 2007
    #12
  13. "dancer" <> wrote in message
    news:...

    > 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
    Mark Rae [MVP], Aug 7, 2007
    #13
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Noel S Pamfree

    Can you insert a graphic offsite?

    Noel S Pamfree, Dec 12, 2005, in forum: HTML
    Replies:
    39
    Views:
    897
  2. cannontrodder
    Replies:
    1
    Views:
    708
    cannontrodder
    Jul 25, 2006
  3. 50 SOMETHING GAL
    Replies:
    3
    Views:
    391
  4. Replies:
    1
    Views:
    433
  5. Replies:
    1
    Views:
    1,766
    Albert Hopkins
    Dec 6, 2008
Loading...

Share This Page