Tag Archives: onunload

Applying Onpageshow and Onpagehide and Onvisibilitychange Events Tutorial

Yesterday’s Onpageshow and Onpagehide and Onvisibilitychange Events Primer Tutorial was held off for a while by us, because we couldn’t think of a good and useful application of these events. But one occurred to us when we saw … on … Continue reading

Posted in Animation, eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Onpageshow and Onpagehide and Onvisibilitychange Events Primer Tutorial

Today, we discuss alternative event ideas to document.body onload and onunload events tracing the navigating to and from a webpage, respectively. The three event types we’ve experimented with, today, in our proof of concept HTML and Javascript pageTransitions.html, are, with … Continue reading

Posted in eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , | Leave a comment

HTML a Tag Navigation Primer Tutorial

Wonder if you were reading yesterday’s YouTube API Iframe Synchronicity Resizing Tutorial and its PHP code snippet … <?php if (strpos($p1, “.”) !== false) { echo “\n window.open(‘http://www.youtube.com/watch?v=K5StTXQofqs’, ‘_blank’, ‘top=50,left=50,width=500,height=500′); \n”; } else { echo “\n document.getElementById(‘myh1′).innerHTML=\”Enjoy the Videos … … Continue reading

Posted in eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , | Leave a comment

PHP and Javascript and CSS Shape Rotation Tutorial

We’re continuing on with our Geometry and Land Surveying theme today, following on from yesterday’s PHP and Javascript and CSS Shape Drawing Tutorial as shown below. When there are only small distances we talk about Plane Geometry because the curvature … Continue reading

Posted in eLearning, Event-Driven Programming, GUI, Land Surveying, Tutorials | Tagged , , , , , , , , , , , , , , , , | 15 Comments

HTML Window Events Primer Tutorial

Javascript client work using DOM (the Document Object Model) often concentrates on the “document” object of a web page, but there is also a “window” object for the display of a web page at a web browser. This “window” object … Continue reading

Posted in eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , | 14 Comments

Windows Onunload Event Primer Tutorial

Today’s tutorial looks at creating a Speed Reading game by using the “dreaded” window.onunload event … “dreaded” because so many websites have misused it to harrass users as they shape to leave a webpage with onunload event logic that makes … Continue reading

Posted in eLearning, ESL, Event-Driven Programming, Games, Tutorials | Tagged , , , , , , , , | Leave a comment