> > <html><nowiki><a href="javascript:;" onclick="
>
> a. I put it in my topmenu table, clicked it, and nothing happened
hmm... it should have worked...
> b. I'm guessing this will shrink the MainMenu but will not expand the
> tiddler area if the tiddler area has a stylesheet width property?
You didn't say you wanted to change TWO settings... you only said
"changes the size of the mainmenu", so that's what I wrote. To adjust
*margin* of the story column ('displayArea') to match the adjusted
mainMenu *width*, use:
<html><nowiki><a href="javascript:;" onclick="
var w='20em'; // alternative width
var mm=document.getElementById('mainMenu');
var da=document.getElementById('displayArea');
mm.style.width=mm.style.width==w?'':w;
da.style.margin=mm.style.width==w?w:'';
">toggle menu width</a></html>
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---