I used to have :
if (c1 == A )
{
var p1 = new String( <a target="_blank" href="http://a.com"><img
src="http://a.com/a.gif"></a>);
}
It worked ok .After I had to optimize images to :
if (c1 == A )
{
var p1 = new String(<a target="_blank" href="http://a.com"><img id="A"
border="0" alt="A" src="_gel("A")" /><script> _IG_RegisterOnloadHandler
(function() {_gel("A").src = _IG_GetImageUrl("http://a.com/
a.gif"); });</script></a>);
}
it stopped working.
I also tried:
if (c1 == A )
{
var p1 = new String(<a target=\"_blank\" href=\"http://a.com\"><img id=
\"A\" border=\"0\" alt=\"A\" src=\"_gel(\"A\")\"/><script>
_IG_RegisterOnloadHandler(function() {_gel(\"A\").src = _IG_GetImageUrl
(\"http://a.com/a.gif\"); });</script></a>);
}
with same result, any suggestions
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---