I also think VF might be referencing an earlier version of Google Gadgets because the call to registerOnLoadHandler() causes the error: "Object #
...yet I can console.log(gadget.util), so that is initialized, leading me to think we might be just using an older version of Google Gadgets. I've never used Google Gadgets before, so I don't know how to check for a loaded version number. It's not listed as its own script in Google Chrome's Developer Tools.
In fact, I'm wondering if this is being loaded properly. The auto-generated script calls the remote.js file, but the actual Google Gadget instantiation code is in EmbedVanillaPlugin::PluginController_Gadget_Create() -- where the required line is located to load dynamic-height as a feature:
Answers
see how it works commenting it out. The height adjustment routine is a bit flaky anyway in my opinion.
I ended up having to use something like this around 143 just above above the routine (where you had the error) for a very long page.
if (height < "12000") { height="12000"; }
screencast appears to be the slowest site available to post images and retrieve them as far as I can tell.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •don't know if this is a browser specific issue or not?
http://stackoverflow.com/questions/1814130/google-wave-gadget-gadgets-window-is-undefined
gadgets.util.registerOnLoadHandler(gadgets.window.adjustHeight)
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Two things:
1) it's adjustHeight() -- it's a method, not a property: https://developers.google.com/gadgets/docs/reference/#gadgets.window.adjustHeight
2) Is this a current version of Google Gadgets?
I've been googling a bit and a post on MySpace Developers mentioned that adjustHeight() wasn't supported until one migrated to the 'new' profile: http://developer.myspace.com/community/forums/p/10663/52169.aspx#52169
I also think VF might be referencing an earlier version of Google Gadgets because the call to registerOnLoadHandler() causes the error: "Object #
...yet I can console.log(gadget.util), so that is initialized, leading me to think we might be just using an older version of Google Gadgets. I've never used Google Gadgets before, so I don't know how to check for a loaded version number. It's not listed as its own script in Google Chrome's Developer Tools.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •In fact, I'm wondering if this is being loaded properly. The auto-generated script calls the remote.js file, but the actual Google Gadget instantiation code is in EmbedVanillaPlugin::PluginController_Gadget_Create() -- where the required line is located to load dynamic-height as a feature:
<Require feature=\"dynamic-height\"/>- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Mark, would you have a moment to join this discussion as you are the creator of the plugin?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Do I need to load a google gadget library on my Debian web server which is hosting VF, such as http://code.google.com/p/google-gadgets-for-linux/
?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •bump
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Mark ? Anybody?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •