[tw5] Re: Need location of tiddler controlling link behavior

2021-08-04 Thread TW Tones
rpayn...

Some notes from the coalface

   - Most website have separate web pages for each apparent page, and as a 
   result anchors are unique to each page. With tiddlywiki all the content 
   resides, in effect, in a single page. As a result there are some neuences 
   using anchors within a tiddler. If they are the same as in other tiddlers 
   you may get some odd behaviour, if more than one tiddler is visible. There 
   was some hacks in the past that made this possible with the manual entry (I 
   recall something about using "##"). 
   - However in recent times there have been advances in this area that are 
   yet to play out, basically looking at creating unique html id's based on 
   both the tiddlername (or serial number) and incrementally numbered (in the 
   one tiddler).
   - In the meantime most of your needs are addressed in the documentation 
   here  Anchor Links using HTML 
   
   - HTML can be used to a great extent in tiddlywiki in addition to 
   Wikitext so if you know how to do it in html then you can possibly do it in 
   tiddlywiki, and in some cases you can even programmatically name tags 
   attributes or provide attribute values to html see my documentation and the 
   second section ❷ Widget and HTML attributes or parameters 
   

 this 
   then allows you to name anchors etc... 

Regards
Tones

On Thursday, 5 August 2021 at 06:37:15 UTC+10 rpayn...@gmail.com wrote:

> Thanks Mario.
> I am trying to get link clicks to go anchors within the same tiddler, 
> instead of the default action of looking for a tiddler external to the 
> current tiddler.
>
> On Wednesday, August 4, 2021 at 3:18:12 PM UTC-4 PMario wrote:
>
>> Hi,
>> If a link is clicked, TW sends a tm-navigate message, which is catched by 
>> the navigator widget. 
>> There is a link-catcher widget, which will allow you to do a different 
>> thing instead using action widget. 
>>
>> If you would be more concrete, what you try to achieve we could probably 
>> point you in the exact direction. 
>>
>> Especially, if you want to control clicks in the story-river or if you 
>> want to change links in the sidebar. There is a big difference, where to 
>> place your changes.
>>
>> In the meantime have a closer look at. 
>> https://tiddlywiki.com/#LinkCatcherWidget
>>
>> have fun!
>> -mario
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ccd01d1-ec84-464c-a5d8-e100048dba85n%40googlegroups.com.


[tw5] Re: Need location of tiddler controlling link behavior

2021-08-04 Thread Robert Payne
Thanks Mario.
I am trying to get link clicks to go anchors within the same tiddler, 
instead of the default action of looking for a tiddler external to the 
current tiddler.

On Wednesday, August 4, 2021 at 3:18:12 PM UTC-4 PMario wrote:

> Hi,
> If a link is clicked, TW sends a tm-navigate message, which is catched by 
> the navigator widget. 
> There is a link-catcher widget, which will allow you to do a different 
> thing instead using action widget. 
>
> If you would be more concrete, what you try to achieve we could probably 
> point you in the exact direction. 
>
> Especially, if you want to control clicks in the story-river or if you 
> want to change links in the sidebar. There is a big difference, where to 
> place your changes.
>
> In the meantime have a closer look at. 
> https://tiddlywiki.com/#LinkCatcherWidget
>
> have fun!
> -mario
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e72a6f4-866e-4ef6-976a-eaa65e7ecc49n%40googlegroups.com.


[tw5] Re: Need location of tiddler controlling link behavior

2021-08-04 Thread PMario
Hi,
If a link is clicked, TW sends a tm-navigate message, which is catched by 
the navigator widget. 
There is a link-catcher widget, which will allow you to do a different 
thing instead using action widget. 

If you would be more concrete, what you try to achieve we could probably 
point you in the exact direction. 

Especially, if you want to control clicks in the story-river or if you want 
to change links in the sidebar. There is a big difference, where to place 
your changes.

In the meantime have a closer look at. 
https://tiddlywiki.com/#LinkCatcherWidget

have fun!
-mario

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49695d50-924c-451b-aa66-28324fe4cbc0n%40googlegroups.com.