|
|
misterhaan |
Subject: "re: Change
Image"
Posted: @ 3:43 pm on Nov 10 2008
|
|
|
 Member #: 5 Rank: Contributor - (214) Since: 02/11/05 Posts: 149 From: chair
|
instead of
document.talkIM
G.src, try
document.getEle
mentById("
;talking"<
img
src=http://www.
allsyntax.com/f
orums/images/sm
ilies/wink.gif
border=0>.src
-- i think
document.talkin
g.src may also
work, but
getElementById(
) is
recommended.
also, i'm not
sure what
purpose your
talks variable
serves --
couldn't you
just set the
src of the
actual img tag
without putting
it in a
separate
variable first?
please note
that the above
post is likely
made up in its
entirety. |
Viewed: 7,380 Times | |  |
David1159 |
Subject: "re: Change
Image"
Posted: @ 6:28 pm on Nov 10 2008
|
|
|
 Member #: 526 Rank: user - (81) Since: 12/27/07 Posts: 81 From: usa
|
Thanks, though
I tried the
getElementById
before and it
didn't work.
I have one
image that I
need to turn to
another image
than back to
its original
image.
I want to make
the webpage to
talk back to
the user. I
have a robotic
face gif, that
just bobbles
around when
nothing is
done. But when
you click on
something, lets
say TIME, I
need the gif
image to change
to the animated
talking robotic
face gif. Than
I after the
time is
finished to
switch back to
the non-talk
gif.
I finished all
the talking
with user
interactions,
voices, etc,
this is the
last step just
getting a image
to turn on and
off when the
webpage is
talking.
Coding is
simply CST...
Combining $hit
Together. We
make different
$hit to run in
unison
correctly. |
Viewed: 7,376 Times | |  |
Viewing Page: 1 of 1 |
|
|
|