Skip to content

Instantly share code, notes, and snippets.

@sbrl
Last active August 29, 2015 14:14
Show Gist options
  • Save sbrl/47e46dae9de255a53a52 to your computer and use it in GitHub Desktop.
Save sbrl/47e46dae9de255a53a52 to your computer and use it in GitHub Desktop.
A test of kylepaulsen/NanoModal to demonstrate a positioning bug.
<!DOCTYPE html>
<html>
<head>
<title>nanoModal Test</title>
</head>
<body>
<h1>nanoModal Test</h1>
<p><strong>Scroll down and click the button</strong></p>
<p>Pelt around the house and up and down stairs chasing phantoms present belly, scratch hand when stroked, see owner, run in terror for loves cheeseburgers. Lick butt jump off balcony, onto stranger's head. Mark territory chase imaginary bugs if it fits, i sits. Nap all day behind the couch, yet flop over cat snacks, so rub face on everything. Play riveting piece on synthesizer keyboard sleep in the bathroom sink for chase imaginary bugs eat a plant, kill a hand but pooping rainbow while flying in a toasted bread costume in space plan steps for world domination but attack feet.</p>
<p>Stare at the wall, play with food and get confused by dust leave dead animals as gifts hopped up on catnip, leave fur on owners clothes. Find something else more interesting pelt around the house and up and down stairs chasing phantoms chase laser yet chase imaginary bugs. Mark territory inspect anything brought into the house chase ball of string loves cheeseburgers hide when guests come over. Chase imaginary bugs find empty spot in cupboard and sleep all day, so rub face on everything, or roll on the floor purring your whiskers off, flop over, yet rub face on everything. Scamper chase laser. Eat a plant, kill a hand pooping rainbow while flying in a toasted bread costume in space or sit by the fire. Lick arm hair. Spit up on light gray carpet instead of adjacent linoleum chew on cable sit in box and meowing non stop for food eat grass, throw it back up yet claws in your leg. Scamper intently sniff hand. Bathe private parts with tongue then lick owner's face purr for no reason and lick butt rub face on everything, or poop on grasses chase mice. Missing until dinner time sit by the fire or sit by the fire shove bum in owner's face like camera lens all of a sudden cat goes crazy. Plan steps for world domination eat grass, throw it back up but hopped up on catnip, or then cats take over the world, meow all night having their mate disturbing sleeping humans scamper. Scamper. If it fits, i sits have secret plans. Run in circles sun bathe, so hopped up on catnip, but flop over, but roll on the floor purring your whiskers off scamper or make muffins. Lick arm hair flop over. Attack feet leave fur on owners clothes then cats take over the world or favor packaging over toy so all of a sudden cat goes crazy. Hunt by meowing loudly at 5am next to human slave food dispenser ears back wide eyed yet ears back wide eyed. Stare at ceiling meow all night having their mate disturbing sleeping humans but shake treat bag hiss at vacuum cleaner.</p>
<p>Sun bathe vommit food and eat it again, and make meme, make cute face so find something else more interesting. Swat at dog curl into a furry donut throwup on your pillow inspect anything brought into the house. Missing until dinner time peer out window, chatter at birds, lure them to mouth i like big cats and i can not lie sleep in the bathroom sink. Purr while eating if it fits, i sits. Cough furball sit by the fire. Throwup on your pillow play time under the bed, so nap all day, and roll on the floor purring your whiskers off. Make meme, make cute face. Claws in your leg then cats take over the world and lick butt, and stare at ceiling. Chew iPad power cord has closed eyes but still sees you. Claws in your leg poop on grasses but spit up on light gray carpet instead of adjacent linoleum caticus cuteicus. Claw drapes burrow under covers sleep on keyboard, and sweet beast, why must they do that spread kitty litter all over house hide at bottom of staircase to trip human. Play time lick arm hair always hungry so spot something, big eyes, big eyes, crouch, shake butt, prepare to pounce bathe private parts with tongue then lick owner's face sleep nap shake treat bag. Make muffins. Love to play with owner's hair tie. If it fits, i sits intrigued by the shower intently sniff hand then cats take over the world and throwup on your pillow leave dead animals as gifts peer out window, chatter at birds, lure them to mouth. Hide at bottom of staircase to trip human swat at dog, or sit by the fire for eat a plant, kill a hand and give attitude, yet intently sniff hand why must they do that. Scamper cough furball. If it fits, i sits stare at ceiling, and love to play with owner's hair tie but hiss at vacuum cleaner intently stare at the same spot. Purr while eating play time. Hide when guests come over. Claws in your leg run in circles, but chase imaginary bugs, but claw drapes, and all of a sudden cat goes crazy, but scratch the furniture. Hopped up on catnip burrow under covers, but stare at the wall, play with food and get confused by dust rub face on everything roll on the floor purring your whiskers off purr for no reason. Chase mice. Purr while eating chase dog then run away and roll on the floor purring your whiskers off roll on the floor purring your whiskers off make muffins. Ears back wide eyed lick butt, but bathe private parts with tongue then lick owner's face knock over christmas tree so who's the baby behind the couch chase laser.</p>
<p>Play riveting piece on synthesizer keyboard why must they do that, have secret plans yet stare at ceiling. Burrow under covers meow all night having their mate disturbing sleeping humans, or bathe private parts with tongue then lick owner's face stare at ceiling, attack feet. Cat snacks swat at dog i like big cats and i can not lie for shove bum in owner's face like camera lens. Scamper chase laser and favor packaging over toy sit by the fire but rub face on everything. Make meme, make cute face. Poop on grasses why must they do that intently sniff hand. Always hungry pelt around the house and up and down stairs chasing phantoms curl into a furry donut but under the bed attack feet. Has closed eyes but still sees you pelt around the house and up and down stairs chasing phantoms see owner, run in terror hopped up on catnip. Hopped up on catnip meow all night having their mate disturbing sleeping humans, yet find something else more interesting, or make meme, make cute face roll on the floor purring your whiskers off. Stand in front of the computer screen sit by the fire intrigued by the shower, or ears back wide eyed scratch the furniture. Claws in your leg why must they do that, or loves cheeseburgers. Stare at ceiling hide from vacuum cleaner claws in your leg, caticus cuteicus yet purr for no reason, all of a sudden cat goes crazy. If it fits, i sits peer out window, chatter at birds, lure them to mouth give attitude, for peer out window, chatter at birds, lure them to mouth climb leg, and intently stare at the same spot chew foot. Scamper if it fits, i sits chase laser. Mark territory roll on the floor purring your whiskers off chew foot claw drapes, yet attack feet if it fits, i sits caticus cuteicus. Scamper chew foot, yet eat and than sleep on your face, attack feet, missing until dinner time. Intently stare at the same spot lick butt have secret plans but purr for no reason. Vommit food and eat it again chew foot poop on grasses, so hide when guests come over, or all of a sudden cat goes crazy. Make meme, make cute face eat grass, throw it back up find empty spot in cupboard and sleep all day or play riveting piece on synthesizer keyboard but eat grass, throw it back up for claw drapes, and sleep on keyboard. Give attitude. Play time purr while eating or sleep in the bathroom sink yet sleep on keyboard knock over christmas tree if it fits, i sits rub face on everything.</p>
<p>Scratch the furniture give attitude present belly, scratch hand when stroked. Eat a plant, kill a hand hide when guests come over, and sit by the fire. Hopped up on catnip pelt around the house and up and down stairs chasing phantoms for caticus cuteicus. Chase dog then run away. Eat and than sleep on your face knock over christmas tree.</p>
<p>Shake treat bag throwup on your pillow flop over. Flop over chase ball of string jump off balcony, onto stranger's head intently stare at the same spot. Favor packaging over toy play time chase mice, nap all day favor packaging over toy. Intently sniff hand loves cheeseburgers make meme, make cute face spit up on light gray carpet instead of adjacent linoleum but vommit food and eat it again or plan steps for world domination missing until dinner time. Chase imaginary bugs find empty spot in cupboard and sleep all day sleep nap, or sweet beast behind the couch hunt by meowing loudly at 5am next to human slave food dispenser. Run in circles have secret plans yet chase laser yet purr for no reason so sleep in the bathroom sink. Why must they do that hide when guests come over burrow under covers. Hack up furballs play time. Hack up furballs cough furball, but spot something, big eyes, big eyes, crouch, shake butt, prepare to pounce claws in your leg or purr for no reason and under the bed. Eat grass, throw it back up lick butt. Need to chase tail chew on cable stare at the wall, play with food and get confused by dust, so chase laser. Climb leg eat grass, throw it back up, chew iPad power cord leave fur on owners clothes but play time rub face on everything always hungry. Eat a plant, kill a hand. Pelt around the house and up and down stairs chasing phantoms use lap as chair has closed eyes but still sees you or always hungry for loves cheeseburgers, rub face on everything, so rub face on everything. Leave hair everywhere give attitude see owner, run in terror, run in circles, but hopped up on catnip. Play time who's the baby, and run in circles have secret plans poop on grasses. Sit by the fire. Then cats take over the world sit by the fire who's the baby. Intently stare at the same spot sit by the fire then cats take over the world spot something, big eyes, big eyes, crouch, shake butt, prepare to pounce jump off balcony, onto stranger's head for chew foot, or plan steps for world domination. Intently stare at the same spot throwup on your pillow why must they do that, but spread kitty litter all over house. Find empty spot in cupboard and sleep all day play riveting piece on synthesizer keyboard under the bed chew foot, but hiss at vacuum cleaner, or spit up on light gray carpet instead of adjacent linoleum, hide when guests come over. Sit in box stretch chase ball of string for use lap as chair. Spot something, big eyes, big eyes, crouch, shake butt, prepare to pounce leave hair everywhere chase ball of string eat a plant, kill a hand and all of a sudden cat goes crazy, and intrigued by the shower.</p>
<p><em>Text from <a href="http://catipsum.com/">cat ipsum</a></em></p>
<button onclick="showdialog();">Show Dialog!</button>
<script src="https://rawgit.com/kylepaulsen/NanoModal/master/nanomodal.js"></script>
<script>
function showdialog()
{
nanoModal("Test dialog!", { autoRemove: true }).show();
}
</script>
<style>
body { font-family: sans-serif; }
.nanoModal.nanoModalOverride
{
position: fixed;
}
</style>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment