19 users online (0 members and 19 guests)  


  Results 1 to 2 of 2

Related

  1. Java Help    Forum: Javascript Forum
    Replies: 1
  2. Replies: 1
  3. help with java    Forum: Javascript Forum
    Replies: 0
  4. Replies: 0
  1. #1
    murphy903's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2007
    Posts
    3

    Java Results Over JPG File

    How can I get the following getName results to appear on top of a jpg file on my website? By the way, I am less than a novice at this.

    Thanks for your help in advance.



    <script>
    document.write(" " + getName());
    </script>

  2. #2
    fric's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2007
    Location
    Mauritius
    Posts
    25

    Re: Java Results Over JPG File

    hi, You can just use the script you write above on the top of your image follow by a <br> or try this script:

    replace your image script with this

    <script>
    document.write(" " + getName() + "<br><img src='TheImage.jpg'> ");
    </script>

    Hope this help



Tags for this Thread