>
> toc-tabbed-internal-nav and toc-tabbed-external-nav seem to do this 
> really interesting behavior, where it has the table of contents in a fixed 
> position, but open the page in another window. 
> I was wondering if there was some way to accomplish a similar effect, but 
> with the 'toc' being an image. 
>


This is where it gets tricky, the toc's use macros to define the link 
behavior, while svg's use basic html a tag's, making difficult to tailor 
their behavior

the best I have done is target an iframe in the same tiddler as the svg 
(above/below, or overlaid over the svg), but instead of displaying just the 
desired tiddler, it displays the tiddler with/in a new copy of the whole 
wiki in the iframe

now if you want the map in the right side with your tabs and have it open 
tiddlers on the left in the story river, just tag the map $:/tags/SideBar, 
and it will appear with your tabs and its links will open in the story 
river.

 

> My ideal situation is that I have a 'map of the floor' on the left hand 
> side, and then the page that I click on opens in the right tab, while still 
> being able to view the map on the left. But, when I click a specific 
> hyperlink, either in the text or in the svg image, then I "go to the next 
> floor", and the svg image changes, allowing me to access a different set of 
> "rooms" (ie tiddlers). 
>


been tryin to do the same but targeting anything other than the story river 
is tricky and internal svg links are limited
 

On the left hand side (or right, it doesn't particularly matter), there'd 
> be a 'map tab' or 'map window', showing a map of the current area. I'd be 
> able to click on hyperlinks within the map to open up specific Tiddlers for 
> each 'sub area,' with those tiddlers appearing on the other side, so that I 
> can view the map and the notes at the same time. 
>

see above about tagging for sidebar display 

 

> *Certain *hyperlinks, as specified by me, will have new maps available to 
> them, and when I click on them, the image in the 'map tab' will change (and 
> it'd be nice if all the tiddlers in the notes half disappeared as well, but 
> that's  not super critical). 
>

you can have wikitext with your svg maps, ourside the svg code (above or 
below) which means you can use buttons an actions for closing and opening 
tiddlers like so :

<$button message="tm-close-tiddler" param="WoIpg 001" 
class='tc-btn-invisible tc-tiddlylink' 
style='width:100%;height:100%;'><$action-navigate $to="WoIpg 002"/>Come, 
get tangled in the Web <b>_</b></$button>
 

> Then it will behave as before, where I can click on sub regions, which 
> open up notes in another tab so that I can view them side by side. Then, 
> clicking another 'region' hyperlink will change the maps+notes again. 
>

The above works in the story river

I'm sure there's ways to do exactly what you want but I haven't figured it 
all out yet-- I suggest a new post/thread labeled something along the lines 
of svg linking in TW and see if others more knowledgeable may have ideas

 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2070dd58-5ce4-4a84-b76b-6d573d3c12ae%40googlegroups.com.

Reply via email to