ddantes
asked on
Change image question
I'm trying to associate an image with a link, and can't sort out the syntax, due to inexperience. With the following code, the original image no longer appears, but neither does the one I wish to load.
<head>
<script language="javascript" type="text/javascript">
function changeImage(imgname, id) {
document.getElementById("I MGname/ID" ).src=("https://secure.mauitradewinds.com/TransMan/Images/DigiCert.gif")
}
</script>
</head>
<body>
<script language="javascript" type="text/javascript"
src="https://www.digicert.com/custsupport/sealtable.php?order_id=00259924&seal_type=a&seal_size=large&seal_color=blue&new=1" onload id="IMGname/ID"/>
</body>
<head>
<script language="javascript" type="text/javascript">
function changeImage(imgname, id) {
document.getElementById("I
}
</script>
</head>
<body>
<script language="javascript" type="text/javascript"
src="https://www.digicert.com/custsupport/sealtable.php?order_id=00259924&seal_type=a&seal_size=large&seal_color=blue&new=1" onload id="IMGname/ID"/>
</body>
That doesn't make any sense. I don't see a link and I don't understand what you are trying to do.
ASKER
Sorry about that. I've attached a file which contains a link to some javascript on the DigiCert server. The link appears as a date. I'd like to substitute an image for the date, without changing the link target, only its appearance. test.htm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for explaining. Problem solved.