Hybrid View

  1. #1
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    212

    Angry Does any one have web designing experiance?

    Why does this not work?


    <A href="#"
    on M o u s e o v e r ="document.myImage.src='C:\My Documents\Web Page\my pics\image_b.jpg';"
    on M o u s e O u t ="document.myImage.src='C:\My Documents\Web Page\my pics\image_a.jpg';"<IMG
    SRC="C:\My Documents\Web Page\my pics\image_a.jpg"
    NAME='myImage'></a>


    Can any one tell me please.I am trying to make my own web site and am useing a book to teach my self.That is exactly the same as in the book.But it won't work. It is supposed to be Javascript Mouse Over-BUT!

    And can any one tell me how to put pis on a web page like this

    image_a.jpg

    instead of like this

    C:\My Documents\Web Page\my pics\image_a.jpg

    Thanks for your time.
    By the way there is no break inbetween the mOver nad mOut at the top the forum keept saying it did not alow the html code mOver and would not let me post this quirry.

  2. #2
    Senior Member User Gallery
    Join Date
    Apr 2001
    Location
    Clearwater, FL
    Posts
    2,529

    Post

    Are you working local or remote?

    Are you using a text editor or something like Frontpage?

    Do you have all your files located properly within the architecture of your website?

  3. #3
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    212

    Post

    Thanks for the reply kathy.

    "are you working local or remote"? -Not sure-I havn't got the page on line yet and I'm using Micrsoft Internet Explorer with a phone line connection-if that answers that.

    "are you using a text editor or..."-I'm just using Note pad but do have Ultra Edit-32 8.2(not sure on how to use it yet)

    "Do you have all your files located pro..."- I would not have a clue.

    HELP PLEASE-I need a lot of it I think.

  4. #4
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    Vancouver BC Canada
    Posts
    251

    Post

    It should be onMouseover not on Mouseover

    i think..... hope this helps

  5. #5
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    Vancouver BC Canada
    Posts
    251

    Post

    oops...guess i should read the whole question, but now i think you need a > right before <img src>

    image_a.jpg';"<IMG SRC="C:\My Docu

    should look like


    image_a.jpg';"><IMG SRC="C:\My Docu


    i think, but im sorta new at this stuff too

  6. #6
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    212

    Post

    evoken thanks for the reply but there is no break between the onMoveover or the onMoveOut it is just that ZCentral keept saying that they didn't permit the html of the two words so I just put spaces in them so they would be there.

  7. #7
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    212

    Thumbs up

    Thanks Evoken for the reply-I'll go and give it a shot.Sory for the extra reply you must haave been typing when I was but you got yours in first.

    Tried it but it changed the screen from getting text to getting a little square with a x in it but no pic.Tried right clicking and pressing the show pic button but nothing.

  8. #8
    Senior Member User Gallery
    Join Date
    Dec 2001
    Location
    clarksville Tennessee
    Age
    49
    Posts
    6,810

    Post

    if you are out on another host site rather than your own computer then you wouldnt wanna put it up in the src looking into the directory on your computer...that will make it pull up the image from the machine you are on and not on the net....think that is what/why kathy was asking about the local or remote site....it should be looking for where you have the image located...ie... example... www.angelfire.com/biz2/webhome/imgages/yourimage.html
    I know am not being clear probably...but that is what the problem is if you are posting on someone elses server...lemme know..this is how like on one of my sites the code is posted.......................................<p align="left"><img border="0" src="http://hometown.aol.com/catfishmn/images/Tzombie1.jpg" width="157" height="132"><a href="http://hometown.aol.com/catfishmn/images/zombie1.jpg">http://hometown.aol.com/catfishmn/im...></p>
    <p align="left"><img border="0" and if this doesnt show up right I did a screen shot...hope this helps


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •