I have a lot of images on my site that are designed to be viewed in
fullscreen. You know how videos have a fullscreen button that causes the
video to take up literally the entire screen, where the button only shows
again if you move the mouse? I'd like that exact thing for images.
I was thinking of starting with something like the following code, but I
don't think <script> tags work:
<script>
var element = document.getElementById("fullscreen-img");
function fullscreen() {
element.requestFullscreen
}
</script>
<img src="test" id="fullscreen-img">
<button onclick="fullscreen();">Open image in fullscreen</button>
Can this be done with TiddlyWiki?
Kalcifer
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/a52c5dbd-c379-4804-a966-0abc13250a85%40googlegroups.com.