On Apr 10, 10:35 am, John <[email protected]> wrote: > I'm already doing this. that's not the issue. The issue is GMAIL > specific, and when the .js libraries are passed in via the URL, there > doesn't appear to be an absolute path that exists in order to include > them back into the page via the <script> tag.
I see. No, that wasn't entirely clear from your first message. After looking into this with one of my few type="url" gadgets, I understand the problem. As I see it, the issue isn't so much that the absolute path doesn't exist; it's more that the "libs" URL parameter is completely different than it is on iGoogle. IOW, the code I linked to earlier is expecting a differently-formatted URL parameter than what you get in a gadget on Gmail. Digging into it, though, I think I see a solution. Rather than splitting the libs parameter and including a bunch of different files (as the iGoogle code does), it looks like you can just prepend "http:// www.gmodules.com/gadgets/" to the libs parameter you get from Gmail, So in your case, the URL you need to include is: http://www.gmodules.com/gadgets/js/dynamic-height:maximize.js Give that a try - it looks to me like like it works. String --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
