2 projects tagged "jsclasses"
Pop under JS is an object that can be used to display interstitial advertising. It generates HTML and JavaScript that makes advertising appear on the current page, and then disappear if the user clicks on the skip link or after a given period of time. The same user may not be exposed to adverts for a given period of time. The class may invoke given callback functions after the advertisement is displayed, as well when a user clicks the skip link, or when an advertisement exposure period ends.
Isoworld can render 3D isometric cubes from three page elements. It takes the identifiers of three page elements and adjusts their CSS transform properties so they form the faces of a cube which appears in the page with the 3D isometric perspective. It can also use a fourth element to be displayed as the shadow of the cube on top of another element which appears as the ground.