Hi Måns,

"How do I add these components to be hidden by ToggleFullScreen?
Do I have to modify the plugin itself or is there another way?"

I think that's what you want to do...


//Add something like this to the declarations at the start of
ToggleFullScreen...
var myEl=document.getElementById('myElementId');

//And somewhere later...
if (myEl) myEl.style.display=!co.chkFullScreen ?'block':'none';


That means that you also need a custom bookmarklet with that
code ...if that's what you want to use. I think it were great if
ToggleFullScreen would allow an array of element id's or - even better
- jQuery-queries which you could populate with whatever you want to
toggle when you toggle fullscreen, like:

xtoggle=['#TiddlersBar','.allOfThisClass','.thisClassToo'];

This array could be used for the general elements as well, so that's
you'd only need to modify that array instead of the actual code
performing the toggling.


Tobias.

--

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=.


Reply via email to