[tw] Re: External link tooltips for dummies

2018-03-29 Thread Antti E.
TonyM,

OK I will update you once we get some experience. So far it's been a slow 
start but no issues.

I work in an engineering company, and the plan is that our engineers could 
write these TiddlyWiki HTAs about certain not-too-narrow but not-too-wide 
topics, and save them to our network share. We use standardized corporate 
laptops so IExplorer is not an issue here.

HTA backups can be taken to local disk for offline usage. This may be 
necessary during field work, travelling, commissioning trips. Keeping the 
versions in sync if you update something offline might become a minor 
headache, but hey that's life.

In most out-of-office cases we have at least some kind of internet 
connection and VPN tunnel to our office network. You can notice that 
TiddlyWiki is at least 4MB because each time you save a tiddler via VPN it 
takes 5-15 seconds, depending on the connection speed. Minor issue again.

I created our own TiddlyWiki "base version" with a front page template 
tiddler, and a link to another tiddler that briefly describes what 
TiddlyWiki is, how to use it, how to find external help, this forum and 
some cheat sheets, and what customizations were done (list below).

//antti

!! Modifications

The following has been modified after downloading an empty TiddlyWiki from 
the Internet:

* Windows Explorer > change file extension to .HTA > Properties > Unblock
* Wiki Control Panel
** Info > Basics
*** Title
*** Subtitle
*** Default tiddlers: Main
*** Title of journal: -MM-DD
** Appearance > Toolbars
*** Edit: hide Delete
*** Page: show also Home, Close all, Fold all, Unfold all
*** View: show More, Edit, Fold others, Close others, Fold, Close
** Appearance > Tweaks
*** Sidebar layout: Fluid story
*** Story right: 570px
*** Story width: 570px
*** Tiddler width: 486px
*** Sidebar breakpoint: 760px
** Settings > disable auto-CamelCase
* [[$:/palettes/Vanilla]] > Edit > dark blue code, dark green external 
link, gray-blue internal link
** code-foreground: #44
** external-link-foreground-visited: #006600
** external-link-foreground: #006600
** primary: #4060c0
* [[$:/themes/tiddlywiki/vanilla/base]] > Edit > dark red broken link
** a.tc-tiddlylink-missing { color: #88; }
* [[$:/core/modules/parsers/wikiparser/rules/prettyextlink.js]] > Edit > 
show URL in tooltip
** after this: node.attributes.href = {type: "string", value: URL};
** add this: node.attribute.title=  {type: "string", value: URL};
* [[$:/core/modules/parsers/wikiparser/rules/prettylink.js]] > Edit > show 
URL in tooltip
** after this: href: {type: "string", value: link},
** add this: title: {type: "string", value: link},
* https://welford.github.io > htalink > drag
** open external links in default browser instead if IE (HTA itself always 
runs in IE)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/941ac16d-4b23-4d13-83c0-2206e9df85a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: External link tooltips for dummies

2018-03-22 Thread TonyM
Thanks Antti,

I recall reviewing this previously, it seems to be an effective way to 
distribute solutions based on TiddlyWiki (for windows only I assume). I do 
not want to hijack the thread, yet since you have the fix you were looking 
for perhaps you could share your experience with hta as a delivery method?

On the surface it would suggest a downloadable instance that runs without 
any supporting installation, saves etc... its only need being access to the 
file, or a link to it. And as you point out variances with links, no status 
bar.

Users can thus treat it as a document and save it in their documents 
library.

I would love your feedback, and a view to collaboration.

Regards
Tony

..
On Thursday, 22 March 2018 20:41:57 UTC+11, Antti E. wrote:
>
> Hmm... thanks, have to consider "buttonizing" the links.
>
> "HTA hack" explained here: 
> https://tiddlywiki.com/static/Windows%2520HTA%2520Hack.html
>>
>>
>
> //antti
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b5683aa-7619-40c0-ba1a-9a991470adab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: External link tooltips for dummies

2018-03-22 Thread Stephan Hradek


Am Donnerstag, 22. März 2018 19:35:09 UTC+1 schrieb Antti E.:
>
> Stephan - You are the king!
>
> Works perfectly, thank you.
>

Just remember that it might be broken if you upgrade. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3a24b856-64d9-450c-9f48-4abc7604b8b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: External link tooltips for dummies

2018-03-22 Thread Antti E.
Stephan - You are the king!

Works perfectly, thank you.

//antti

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ef76c55f-fa20-460b-a40f-26d7f4ab2454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: External link tooltips for dummies

2018-03-22 Thread Stephan Hradek
Try this:

in `$:/core/modules/parsers/wikiparser/rules/prettyextlink.js`

after

node.attributes.href = {type: "string", value: URL};


add

node.attribute.title=  {type: "string", value: URL};



in `$:/core/modules/parsers/wikiparser/rules/prettylink.js`

after

href: {type: "string", value: link},


add

title: {type: "string", value: link},






-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f3868757-d9b0-40cb-b851-719bfea5da51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: External link tooltips for dummies

2018-03-22 Thread Antti E.
Hmm... thanks, have to consider "buttonizing" the links.

"HTA hack" explained 
here: https://tiddlywiki.com/static/Windows%2520HTA%2520Hack.html
>
>

//antti

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b1b1ee8a-17b8-42e2-baff-0e91113892bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.