Duarte Farrajota Ramos
2015-03-10 17:02:46 UTC
Hello guys, once again come to ask for your expertise in Tiddlywiki, is it
possible at all to assign a random background image to tiddlywiki using
some sort of javascript and css trickery?
My coding skills are very lacking at best, but I found here on the forum
that I can assing a background image using
html body.tc-body { background: url("path/to/image.jpg") no-repeat center
center fixed; background-size: cover; height: 100%;}
in a tiddler tagged with $:/tags/Stylesheet which I managed to accomplish
successfully.
Now I fund out a few methods online (like this one
<http://stackoverflow.com/questions/21754798/random-background-image-through-external-css-file>)
that can randomize i using java script or jquery, is there a way to adapt
this or use it inside tiddlywiki?
I tried to adapt that but my basic copy-pasting techniques are insufficient
here.
Thanks for the help
possible at all to assign a random background image to tiddlywiki using
some sort of javascript and css trickery?
My coding skills are very lacking at best, but I found here on the forum
that I can assing a background image using
html body.tc-body { background: url("path/to/image.jpg") no-repeat center
center fixed; background-size: cover; height: 100%;}
in a tiddler tagged with $:/tags/Stylesheet which I managed to accomplish
successfully.
Now I fund out a few methods online (like this one
<http://stackoverflow.com/questions/21754798/random-background-image-through-external-css-file>)
that can randomize i using java script or jquery, is there a way to adapt
this or use it inside tiddlywiki?
I tried to adapt that but my basic copy-pasting techniques are insufficient
here.
Thanks for the help
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit 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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.