Here is my script:

<script src="images/array_it.js" show>
function random_imglink(){
        var ry=Math.floor(Math.random()*array_name.length)
        if (ry==0)
        ry=1
        var pre='[>img(400px+,auto)[Random Picture|'
        var dir='images/'
        var post=']]'
        document.write(' '+pre+''+dir+''+array_name[ry]+''+post+' ')
        }
random_imglink()
</script>

Which provides the text output (slightly different each time due to
the random array)
[>img(400px+,auto)[Random Picture|images/famslide-2.jpg]]

What do I need to do to "Wikify" this output so I see the picture
instead of the text?

Thanks,

Mike

--

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.


Reply via email to