iGoogle Canvas Expand Button

By Umakanthan Chandran Last update Apr 6, 2009 — Installed 1,908 times.

Fix for panels without 'edit settings'

in
Subscribe to Fix for panels without 'edit settings' 1 post, 1 voice

seriouslynow User

iGoogle panels that do not have an 'edit settings' action don't currently expand/collapse with this script.

To fix that, insert this statement after line 22:

if (values.substr(1,2) != 'zm') {
var values = anchor[1].getAttributeNode('onclick').nodeValue
}

--
PS: line 22 is the one that reads
var values = anchor[2].getAttributeNode('onclick').nodeValue

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel