Hi Mat

> - thanks, but merely exchanging the srcdoc parameter for src in the above 
> code, just doesn't render the content. How does one show TW-local content in 
> a TW-local iframe?

You need to base64 encode the text as a data: URI to use the src attribute. I’d 
suggest:

1. Create an HTML tiddler
2. Right click and choose “Inspect” element
3. Have a look at the way that the iframe is constructed

You can use the <<makedatauri>> macro to construct a base64 URI.

If srcdoc is working for you, then go ahead and keep using it, but be aware of 
the compatibility issues and the actual reason for it’s existence:

http://stackoverflow.com/a/30507852

> And would one be able to style what is displayed, as asked about?

You can only style the content of an iframe by injecting the styles into the 
iframe, either as a style definition, or inline styles.

Best wishes

Jeremy.

> 
> <:-)
> 
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e86e1c9c-4ae6-4785-bfc9-e5da26ac25ad%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/e86e1c9c-4ae6-4785-bfc9-e5da26ac25ad%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
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/6D4D9F47-CA96-46D5-94C8-EF2F90F36857%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to