Hi TwWizards (Eric in particular)

Eric's magnificent ToggleFullScreen transclusion 
http://www.tiddlytools.com/#ToggleFullScreen
lends itself to customization (with some difficulty I must admit) -
However I've managed to make it hide many more custom div-elements
than it was destined to do.
http://infoslide.tiddlyspot.com/#ToggleFullScreen (click "fullscreen"
beneath the Example section).

My question is:
I've put this in my stylsheet: "div[tags~="slide"].tiddler {height:
38em;overflow:auto;}
div[tags~="pdf"].tiddler {height:38em;overflow:auto;} "

How can I override the tiddler height setting, when in fullscreen
mode?

I've tried: "if (la){
                var elems=la.getElementsByTagName('slide');
                for (var i=0; i<elems.length; i++) if
(hasClass(elems[i],'overflow'))
                        { 
elems[i].style.display=co.chkFullScreen?'none':'block'; break; }
        }"
and (I'm sure you can't even refer to Tiddler height like this):"if
(la) {
                la.style.display=showla?'block':'none';
                ti.style.marginBottom=showla?(co.txtTiddlerHeight||''):'160em';"

** "la" is:
"var la=document.getElementById('lysAvis');"
and
"showla" is: "var showla=!co.chkFullScreen && co.chkShowLysAvis!
==false;"
**"ti.style" is referring to: "var
ti=document.getElementById('tiddlerDisplay');"

Sorry if this is to unclear - please check: 
http://infoslide.tiddlyspot.com/#ToggleFullScreen
Try toggling the tiddler [[ImportedTiddlers]] 
http://infoslide.tiddlyspot.com/#ToggleFullScreen
it's tagged with "slide" and is very long... (I've put a very big
toggle button at the top of the tiddler)

Regards Måns Mårtensson

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

Reply via email to