/    Sign up×
Community /Pin to ProfileBookmark

Hi,
I’ve posted this one on several forums, but noone seems to know what I mean. I hope someone can help me.
I’ve been looking for a script to make a digital clock. But most javascripts you find, are to import into your html page. I want to import it into an image.
For example, I have a picture of a person, and in the right upper hand corner I want to have a digital clock ticking.
I want to display several of these clocks on a webpage, for other people to download. So I need to insert the code into the image itself, I think. Can someone please tell me how to do that?
Greetz

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliOct 27.2004 — first of all you must read before you post. This is a Java forum not JavaScript. Please post your question in appropriate section.(I am going to move it to JavaScript forums).

Second you can not insert anyting in actual image,what you want to do is create a digital clock using JavaScript and then using div or span element position it on top of the picture where ever you desire.
Copy linkTweet thisAlerts:
@JuuitchanOct 28.2004 — Woman:

Do you have any idea what you are asking? What you are asking is like saying, "I want to paint a picture of a clock, and I want the clock in the picture to be running."
Copy linkTweet thisAlerts:
@ScriptNoobie86Oct 28.2004 — make the image the background to a table or div or w/e and add a text javascript clock to the right location using css
×

Success!

Help @imaginarydiva spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...