Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Banned
    Join Date
    Aug 2003
    Posts
    3
    Member #
    2603
    Hi i want to know how to insert java script onto the top of a image. I have seen this before but i am not sure what site it was. It is just really for the date and time. I have tried image maping but am not getting anything anybody got any examples or could tell me a good program to use to do it?

    thanks

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    JavaScript only provides programmable functionality to your pages, it doesn't actually display anything unless you code it to do so. What specifically are you trying to do?
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Banned
    Join Date
    Aug 2003
    Posts
    3
    Member #
    2603
    I am trying to insert the time over a image any iedas what i can do?

    thanks

  5. #4
    Junior Member
    Join Date
    Aug 2003
    Location
    North Carolina
    Posts
    3
    Member #
    2610
    You can try something like this:
    Code:
    <script type="text/javascript">
    var d = new Date();
    document.write("<img src=\"IMG-SRC.jpg\" alt=\"my picture\" title=\"" + d + "\">");
    </script>
    You can find more info about the date() function here: http://www.devguru.com/Technologies/...kref/date.html


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:57 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com