Login  Register

Re: Mobile Friendly needed

Posted by mark on Nov 30, 2012; 10:45pm
URL: https://support.nabble.com/Mobile-Friendly-needed-tp7580261p7582129.html

I'm using a TiddlyWiki for iPhone (iTW):
http://itw.bidix.info/

For our purposes, this works exactly like a regular TiddlyWiki.

See http://www.tiddlywiki.com/

Here's a great place to try one out online (you can use them offline, too):
http://www.tiddlyspot.com/

You can use itw.bidix.info like TiddlySpot, I believe, but I'm not sure how to do that, yet. TiddlySpot is pretty intuitive and self-explanatory.

A tiddler is kind of like an HTML page where you can use another wiki syntax. However, you can use HTML in one if you use the html tag, just like you would in the html source of a web page.

JavaScript, however, doesn't work unless you install the InlineJavascriptPlugin. Here is where to get it: tiddlytools.com
or more specifically
http://www.tiddlytools.com/#InlineJavascriptPlugin

To install this on a TiddlyWiki (doesn't matter whether it's the iPhone kind), just double-click on the screen you see at http://www.tiddlytools.com/#InlineJavascriptPlugin and copy the content in the box. Create a new tiddler in your own TiddlyWiki. Paste in the code. Title it the same thing. Give it the systemConfig tag. Then save your TiddlyWiki, close the browser and open it again.

Then, you can use both HTML and JavaScript, but you have to use them separately and they don't communicate with each other: e.g.

<script>
//myScript
</script>

<html>
Here's my html page.
</html>

You can't do this:
<html>
<script></script>
</html>

Nor can you reference a script or function that you created with JavaScript inside of your HTML. I don't know if you can reference a .js script hosted somewhere else, however.