johnstires
02-18-2008, 12:08 AM
Can someone help me understand why this javascript tag in an li tag is messing up my template:
http://www.prenatalyogacenter.com/cmps_index.php?page=sponsors
The regular li tags work fine as long as i have a href tags:
http://www.prenatalyogacenter.com/cmps_index.php
But for some reason if I place javascript in there.
It does the same thing if I use a tracking pixel.
With the image tracking pixel the code from my affiliate programs I am supposed to use is this, but it ruins my template:
<a href="http://www.kqzyfj.com/click-2833028-10470677" target="_blank" onmouseover="window.status='http://store.babycenter.com';return true;" onmouseout="window.status=' ';return true;">Save up to 60% Storewide at BabyCenter's Annual Winter Sale.</a>
<img src="http://www.awltovhc.com/image-2833028-10470677" width="1" height="1" border="0"/>
If I place the tracking pixel inside the a href the problem is solved, however I am not sure if this changes the way the tracking pixel works:
<a href="http://www.kqzyfj.com/click-2833028-10470677" target="_blank" onmouseover="window.status='http://store.babycenter.com';return true;" onmouseout="window.status=' ';return true;">Save up to 60% Storewide at BabyCenter's Annual Winter Sale.<img src="http://www.awltovhc.com/image-2833028-10470677" width="1" height="1" border="0"/></a>
I don't see how it would, but I thought I'd check.
http://www.prenatalyogacenter.com/cmps_index.php?page=sponsors
The regular li tags work fine as long as i have a href tags:
http://www.prenatalyogacenter.com/cmps_index.php
But for some reason if I place javascript in there.
It does the same thing if I use a tracking pixel.
With the image tracking pixel the code from my affiliate programs I am supposed to use is this, but it ruins my template:
<a href="http://www.kqzyfj.com/click-2833028-10470677" target="_blank" onmouseover="window.status='http://store.babycenter.com';return true;" onmouseout="window.status=' ';return true;">Save up to 60% Storewide at BabyCenter's Annual Winter Sale.</a>
<img src="http://www.awltovhc.com/image-2833028-10470677" width="1" height="1" border="0"/>
If I place the tracking pixel inside the a href the problem is solved, however I am not sure if this changes the way the tracking pixel works:
<a href="http://www.kqzyfj.com/click-2833028-10470677" target="_blank" onmouseover="window.status='http://store.babycenter.com';return true;" onmouseout="window.status=' ';return true;">Save up to 60% Storewide at BabyCenter's Annual Winter Sale.<img src="http://www.awltovhc.com/image-2833028-10470677" width="1" height="1" border="0"/></a>
I don't see how it would, but I thought I'd check.