Here is the relevant code:
...
<tr>
<td width="125" align="left" valign="top"><a
name="ad_left_link"><img width="125"
name="ad_left_image" border="0"></a></td>
</tr>
...
</table>
<script language="JavaScript">
var objAd = GetAd("Category",125)
document.ad_left_image.src = objAd.src
document.ad_left_image.alt = objAd.alt
document.ad_left_link.href = objAd.href
</script>
</body>
</html>
The problem is that, while I can access the properties of
document.ad_left_image just fine, document.ad_left_link comes up undefined.
I built the following work-around:
for (var i=0; i<document.anchors.length; i++)
{
if (document.anchors[i].name == "ad_left_link")
{
document.anchors[i].href = objAd.href
break;
}
}
The work-around does the trick, but is a major kludge.
What am I missing here?
Thanks in advance for your help,
Bruce Thatcher
btha...@starlight-prod.com
How about
<div><img src="someimage.png" id="ad_left_image" width="125" alt="Who
knows"></div>
Then you could use getelementbyid .
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
"Adrienne Boswell" <arb...@yahoo.com> wrote in message
news:Xns996CBD41ECF0...@69.28.186.121...
Persons are sometimes brought to the borders of despair, and it looks as
black as midnight to them a little before the day dawns in their souls.
Some few instances there have been, of persons who have had such a sense
of God's wrath for sin, that they have been overborne; and made to cry
out under an astonishing sense of their guilt, wondering that God
suffers such guilty wretches to live upon earth, and that he doth not
immediately send them to hell. Sometimes their guilt doth so stare them
in the face, that they are in exceeding terror for fear that God will
instantly do it; but more commonly their distresses under legal
awakenings have not been to such a degree. In some, these terrors do not
seem to be so sharp, when near comfort, as before; their convictions
have not seemed to work so much that way, but to be led further down
into their own hearts, to a further sen
Impenetrability is a property of matter.
Identity de numero in regard to the same time requires the identity of
matter.
Thus if God united my soul to a body in China, the same body, idem numero
would be in China.
The same river which runs there is idem numero as that which runs at the
same time in China.
513. Why God has established prayer.
1. To communicate to His creatures the dignity of causality.
2. To teach us from whom our virtue comes.
3. To make us deserve other virtues by work.
(But to keep His own pre-eminence, He grants prayer to whom He pleases.)
Objection: But we believe that we hold prayer of ourselves.
This is absurd; for since, though having faith, we cannot have virtues, how
should we have faith? Is there a greater distance between infidelity and
faith than between faith and virtue?
Merit. This word is ambiguous.
Meruit habere Redemptorem.78
Meruit tam sacra membra tangere.79
Digno tam sacra membra tang