> What is the code to have the HideWhen plugin, hide say a title tiddler
> when it is viewed over http...its the http condition thats got me
> stumped...

Maybe something like

  window.location.protocol == "http:"

will work? So

<div macro="hideWhen window.location.protocol == "http:"">...</div>

Or maybe better would be:

<div macro="hideWhen window.location.protocol != "file:"">...</div>

See:

http://groups.google.com/group/TiddlyWiki/tree/browse_frm/month/2007-06/6cae698697ae86aa?rnum=171&_done=%2Fgroup%2FTiddlyWiki%2Fbrowse_frm%2Fmonth%2F2007-06%3Ffwc%3D1%26

the fourth entry on that page is what I am basing my suggestion on.

-- rouilj



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