Quantcast
html and java help? - Beyond.ca - Car Forums
Results 1 to 4 of 4

Thread: html and java help?

  1. #1
    Join Date
    May 2003
    Location
    Calgary
    Posts
    711
    Rep Power
    21

    Default html and java help?

    I'm messing around with my website with some new layouts.. I'm trying to figure out how to do the following.

    I have a picture on the website.. say a picture of a soccer ball on the top of the screen and a textbox on the bottom of the screen. I want to make it so whe I place my mouse cursor over the soccer ball, text will show up in the textbox in the bottom of the screen.

    is that possible without java programming? like maybe a program that can set that up for me? I don't know Java and HTML very well so I can't really code it myself.. thanx.

  2. #2
    Join Date
    Mar 2004
    Location
    Calgary
    My Ride
    Eclipse
    Posts
    1,657
    Rep Power
    22

    Default

    Check out

    http://www.javascript-page.com/


    This is the closest i could find to it..
    Originally posted by beemerm3
    so if we only seen 5 % of the oceans why not drain them or somethin lol or can u even transfer water from one ocean to another??? think of all the stuff u'd find treasures n eerything.

  3. #3
    Join Date
    Apr 2004
    Posts
    1
    Rep Power
    0

    Default

    <html>
    <head>
    <title>Java Script Sample</title>
    </head>
    <body>
    <script language=javascript>
    function mouseoverimage()
    {
    var txtfld = document.getElementById("textfield");
    txtfld.value="put your text here";
    }

    function deletetext()
    {
    var txtfld = document.getElementById("textfield");
    txtfld.value="";
    }

    </script>

    <img src="image.jpg" onmouseover="mouseoverimage()" onmouseout="deletetext()">
    <form>
    <input type=text name=textfield value="">
    </form>

    </body>
    </html>

  4. #4
    Join Date
    May 2003
    Location
    Calgary
    Posts
    711
    Rep Power
    21

    Default

    thanx man, the idea is right, but I can't seem to get the text to show up?

Similar Threads

  1. HTML help

    By Shaolin in forum Computers, Consoles, and other Electronics
    Replies: 3
    Latest Threads: 11-22-2003, 03:31 PM
  2. help with java!!!!

    By Impreza in forum Campus Chat
    Replies: 6
    Latest Threads: 11-04-2003, 11:55 AM
  3. html help!

    By Zephyr in forum Computers, Consoles, and other Electronics
    Replies: 7
    Latest Threads: 09-23-2003, 08:18 AM
  4. Replies: 10
    Latest Threads: 09-10-2003, 10:22 AM
  5. Can you help me with HTML?

    By ninjak84 in forum General
    Replies: 11
    Latest Threads: 11-16-2002, 03:09 PM

Posting Permissions

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