If like me, you found the following post a little confusing:
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/4f7b952f69b523a2
I've provided another example here that is hopefully a little clearer
(and found a shortcut in the call as well):
Create 4 tiddlers with the following titles:
TestOpenOtherTab
ContentsA
ContentsB
ContentsC
In TestOpenOtherTab add the tabs:
<<tabs tabID
"Tab A" "tooltip A" ContentsA
"Tab B" "tooltip B" ContentsB
"Tab C" "tooltip C" ContentsC
>>
In ContentsA add (without the text wrapping):
Contents for Tab A:
<html><a href='javascript:;' onclick='config.options.tabID="Tab B";
story.refreshTiddler("TestOpenOtherTab", null, true) '>link</a></html>
to Tab B
<html><a href='javascript:;' onclick='config.options.tabID="Tab C";
story.refreshTiddler("TestOpenOtherTab", null, true) '>link</a></html>
to Tab C
In ContentsB add (without the text wrapping):
Contents for Tab B:
<html><a href='javascript:;' onclick='config.options.tabID="Tab A";
story.refreshTiddler("TestOpenOtherTab", null, true) '>link</a></html>
to Tab A
<html><a href='javascript:;' onclick='config.options.tabID="Tab C";
story.refreshTiddler("TestOpenOtherTab", null, true) '>link</a></html>
to Tab C
In ContentsC add (without the text wrapping):
Contents for Tab C:
<html><a href='javascript:;' onclick='config.options.tabID="Tab A";
story.refreshTiddler("TestOpenOtherTab", null, true) '>link</a></html>
to Tab A
<html><a href='javascript:;' onclick='config.options.tabID="Tab B";
story.refreshTiddler("TestOpenOtherTab", null, true) '>link</a></html>
to Tab B
/A: tw newb
--
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.