Skip to content

Instantly share code, notes, and snippets.

@MeesterPaul
MeesterPaul / jqModal.css
Last active August 29, 2015 13:57
A function to display an accessible jqModal overlay (http://jquery.iceburg.net/jqModal/), triggered by scrolling to the end of a particular part of a web page (<div id="followtrigger"> in this case). It aims to have better keyboard accessibility than most similar overlay/popup scripts, as well as being less annoying to the user. The scroll handl…
/* jqModal base Styling courtesy of;
Brice Burgess <[email protected]> */
/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
the Window's z-index value will be set to 3000 by default (via jqModal.js). */
.jqmWindow {
/* display: none; Normally you want to display:none to avoid a FOUC, but this causes problems if there is a Facebook like button in the overlay (it will not display on some browsers. So, we use visibility:hidden instead and adapt the launch script accordingly */
visibility:hidden;