By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

Link within Javascript

P: n/a
I'm a javascript novice, but I have adapted an existing script, to move an
image across the a web page. I would like for the moving image to be a
link - by clicking on it would take the viewer to a different web page.
Nothing I've tried has worked. If anyone has time to offer any suggestions,
the url is: http://members.cox.net/parrotlegal/index_hold.htm Thanks very
much for your help. Jenny.
Sep 28 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You need to write the anchor anywhere the image tag is written. (there
are at least 2 locations )

Eg:
<img src="+rndPic+">
becomes
<a href="blah.html"><img src="+rndPic+"></a>

Sep 28 '05 #2

P: n/a
"nikki" <ka*******@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
You need to write the anchor anywhere the image tag is written. (there
are at least 2 locations )

Eg:
<img src="+rndPic+">
becomes
<a href="blah.html"><img src="+rndPic+"></a>


It works! Thank you very much!!
Sep 29 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.