This feels like it should all ready be answered but no matter what I search 
for I can't seem to find what I need... 

Notes:
- I'm using single page mode so only one tiddler is open at a time.
- I have tried my normal method of adding the script to a tiddler and than 
using the tiddler macro method to call it in the viewTemplate but in this 
case it doesn't' work since the script gets the title of the tiddler in the 
marco and not the current open one.

I'd like this script to run every time a tiddler is opened:

<script>
var title = (tiddler instanceof Tiddler)? tiddler.title : tiddler;
window.parent.document.getElementById('iTitle').innerHTML=title;
</script>

The point of this script is to move the Tiddler title out of the iFrame:
The main reason for this besides the fact it looks nicer is to make my 
TinyTiddlyWiki easier to drag around and re-size. 

<https://lh5.googleusercontent.com/-mJ2iO8h3_lk/UmF14z4wACI/AAAAAAAAALg/pTjeh43grKY/s1600/2013-10-18_104449e1.jpg>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to