Thanks, Sorry for submitting in wrong group, I was trying to submit in IGoogle Gadgets first, I didnt know that the submission was not an instant thing. So I created this clone post here since I was under impression that iGoogle Gadget Group had a broken submission tool or smn.
Anyway, heres a a link to same thread in iGoogle Gadgets : http://groups.google.com/group/Google-Gadgets-API/browse_thread/thread/d31603261ac1b1ce# And unlike here, noone answered me there yet... :( Please, any help? I was under impression it was a simple question about basic java syntaxis error or smn.. On Jan 27, 1:34 pm, "Benjamin [API Guru]" <[email protected]> wrote: > I think you are trying to create a Google Gadget for iGoogle and not a > Google Desktop Gadget (which this groups is for). You should re-post > your question in the appropriate Google Gadget for iGoogle group. > > Best regards, > Benjamin > > On Jan 25, 11:20 pm, acidon <[email protected]> wrote: > > > > > Heres prolly a simple noob question for gurus like you: > > > In my gadget I had : > > > if (c1 == A ) > > { > > var p1 = new String( <a target="_blank" href="http://go.com"><img > > src="http://host.com/A.gif"></a>); > > > } > > > It was working fine but since it was a direct image link, i start > > getting a lot of traffic and had to optimize it. I tried : > > > if (c1 == A ) > > { > > var p1 = new String(<a target=\"_blank\" href=\"http://go.com\"><img > > id=\"A\" border=\"0\" alt=\"A\" src=\"_gel(\"A\") > > > \"/><script>_IG_RegisterOnloadHandler(function() {_gel(\"abc\").src = > > _IG_GetImageUrl(\"http://host.com/A.gif\"); > > > });</script></a>); > > } > > > and also > > > if (c1 == A ) > > { > > var p1 = new String( <a target="_blank" href="http://go.com"><img > > id="A" src="_gel("A")"/><script> _IG_RegisterOnloadHandler > > > (function() {_gel("A").src= _IG_GetImageUrl("http://host.com/ > > A.gif") });</script></a>); > > > } > > > and > > > if (c1 == A ) > > { > > var p1 = new String( "<a target="_blank" href="http://go.com"><img > > id="A" src="_gel("A")"/><script> _IG_RegisterOnloadHandler > > > (function() {_gel("A").src= _IG_GetImageUrl("http://host.com/ > > A.gif") });</script></a>"); > > > } > > > and > > > if (c1 == A ) > > { > > var p1 = new String("<a target=\"_blank\" href=\"http://go.com\"><img > > id=\"A\" border=\"0\" alt=\"A\" src=\"_gel(\"A\") > > > \"/><script>_IG_RegisterOnloadHandler(function() {_gel(\"A\").src = > > _IG_GetImageUrl(\"http://host.com/A.gif\"); > > > });</script></a>"); > > } > > > But neither one would work, java script showing a syntax error..... > > What whould it be? > > > I would appretiate any help or pointer in right direction to look. > > > Thanks in advance, Alexander.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" 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-Desktop-Developer?hl=en -~----------~----~----~----~------~----~------~--~---
