Hi Jeremy,

Yes, I would agree that injecting some styles would solve this in a better 
way - if I could target the elements as it would keep the underlying data 
unchanged. From looking at the generated HTML though, there's not an easy 
way to target what I need to hide at the moment. btw, this seems similar to 
what you and PMario are discussing in the reveal widget & styles thread. I 
think my basic requirements are similar to what you're discussing in 
regards to the read-only issue - i.e. I want to detect some environment at 
start up and then suppress certain elements that don't make sense in that 
environment. For my case, there's a lot of random stuff that I want to 
suppress.

Here's a basic list of some of the things that I would like to hide given 
some detected condition:

The Save/Download button no matter where it shows up (page view, tools 
list, control panel, etc...)

in ControlPanel

Apparance tab

Toolbars

View Toolbar | various buttons - permaview, full-screen, save, etc... 

Settings tab

AutoSave div section

Navigation bar div section

Nav History div section

Saving tab - remove entire tab

 
As you can see, some of these are complete tabs or sections, some are items 
with a section. Right now I don't see a way to target them via CSS and it 
seems like lots of thing would need unique class names or IDs to be 
effectively targeted.

The save button is an interesting one as sometimes it is more than just the 
button that needs hiding, like in the Tools sidebar tab where it shows with 
a on/off checkbox and text description. All of this would need to be hidden.

I think that if I could easily target elements to just hide them from view 
and do this from via a condition in plugin code, then that would meet my 
requirements.

thanks,
David

>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to