I've managed to get the whole thing to work both online and offline, and it looks pretty enough. The whole code, for the record, is below, including the ToggleRightSidebar I use in MainMenu.
Note that to make the "download" and "upload" buttons work, I entered my site id "mysiteid" as follows "http://mysiteid.tiddlyspot.com", as I couldn't get the more universal "http://" + config.tiddlyspotSiteId + ".tiddlyspot.com" to work. This question is now resolved, many thanks for your help, Patrick. /% |Name|ToggleRightSidebar| |Source|http://www.TiddlyTools.com/#ToggleRightSidebar| |Version|2.0.0| |Author|Eric Shulman - ELS Design Studios| |License|http://www.TiddlyTools.com/#LegalStatements <br>and [[Creative Commons Attribution-ShareAlike 2.5 License|http:// creativecommons.org/licenses/by-sa/2.5/]]| |~CoreVersion|2.1| |Type|script| |Requires|InlineJavascriptPlugin| |Overrides|| |Description|show/hide right sidebar (MainMenu)| Usage: <<tiddler ToggleRightSidebar with: "label">> Config settings: config.options.chkShowRightSidebar (true) config.options.txtToggleRightSideBarLabelShow (◄) config.options.txtToggleRightSideBarLabelHide (►) %/<script label="$1" title="show/hide right sidebar content"> var co=config.options; if (co.chkShowRightSidebar=='undefined') co.chkShowRightSidebar=true; co.chkShowRightSidebar=!co.chkShowRightSidebar; var sb=document.getElementById('sidebar'); if (!sb) return; sb.style.display=co.chkShowRightSidebar?'block':'none'; document.getElementById ('displayArea').style.marginRight=co.chkShowRightSidebar?'':'1em'; saveOptionCookie('chkShowRightSidebar'); var labelShow=co.txtToggleRightSideBarLabelShow||'◄'; var labelHide=co.txtToggleRightSideBarLabelHide||'►'; if (typeof(place)!='undefined' && '$1'=='$'+'1') { place.innerHTML=co.chkShowRightSidebar?labelHide:labelShow; place.title=(co.chkShowRightSidebar?'hide':'show')+' right sidebar'; } var sm=document.getElementById('storyMenu'); if (sm) config.refreshers.content(sm); </script><script> var co=config.options; if (co.chkShowRightSidebar=='undefined') co.chkShowRightSidebar=true; var sb=document.getElementById('sidebar'); if (!sb) return; sb.style.display=co.chkShowRightSidebar?'block':'none'; document.getElementById ('displayArea').style.marginRight=co.chkShowRightSidebar?'':'1em'; if ('$1'=='$'+'1') { var labelShow=co.txtToggleRightSideBarLabelShow||'◄'; var labelHide=co.txtToggleRightSideBarLabelHide||'►'; place.lastChild.innerHTML=co.chkShowRightSidebar? labelHide:labelShow; place.lastChild.title=(co.chkShowRightSidebar?'hide':'show')+' right sidebar'; } </script> @@padding-left:5em;@@ @@padding-left:5em;@@ ''<<option txtUserName>>'' ''<<option pasUploadPassword>>'' ''<html><a href='http://mysiteid.tiddlyspot.com/download' class='button'>download</a></html>'' ''<<saveChanges>>'' ''<<upload http://mysiteid.tiddlyspot.com/store.cgi index.html . . mysiteid>>'' /% The call to ''<<option pasUploadPassword>>'' is associated with the following settings in UploadPlugin (an edit of the Checkbox label) config.macros.option.passwordCheckboxLabel == "save"; %/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---