Fixing an object to the bottom right of a browser window


(Trey Yancy) #1

Other than running an equation, is there a way to set an object to always appear at the bottom right of the viewport?


(๐•„๐•š๐•”๐•™๐•’๐•–๐• ๐”พ๐•’๐•ฃ๐• ๐•—๐•’๐•๐• ) #2

Click the little right pin and click the little bottom pin.

The document should scale.


#3

I should have said, โ€œwithout vertical scalingโ€.

I want to be able to scroll the document while keeping an item in the bottom right corner. If I were placing the animation using a web design app, I could lay the item on top of the iFrame, but in this canse I am using Hype to create the web page.


(Hans-Gerd ClaรŸen) #4

this feature is not yet built-in.
Youโ€™ll have to mix hypeexport with custom html outside.

โ€ฆ or rely on hacks within hype that may (!) work.
so hereโ€™s the dirtiest trick of all: fixedBottomAnimation.hype.zip (41.4 KB)

very shortly tested on yosemite newest ff, opera, chrome, safari


(kerguelen) #5

Dirty but much efficient ! Thanks Hans !


(Hans-Gerd ClaรŸen) #6

fixedBottomAnimationChangeWaypoints.hype.zip (47.1 KB)

enough of playing around for today :slight_smile:


(kerguelen) #7

Oh, thanks ! I managed to do it myself by the way :slight_smile: But your โ€œifโ€ฆelseโ€ test makes it better than mine