
Moving HTML Elements Primer Tutorial (try twirling round bottom of image for a synopsis ... 'do the twirl now')
Here we have a common scenario on the web, in that this tutorial creates one of those “windows” (but is a <div>) always sitting on top. Sometimes that annoys, sometimes it is necessary, but almost certainly what this tutorial makes happen really does annoy, in that the “window” on top moves away from you as you try to close it … aaaaarrrgh!
This is a client behaviour, so you’ve probably guessed that this is done with JavaScript.
Enjoy this tutorial perhaps.
Regarding this topic I really like JavaScript & Alax for the Web, Seventh Edition By Tom Negrino and Dori Smith where the code presented was followed closely here.
Here is a link to the HTML programming source code that you might want to rename to layeringYourDivs.html
The link here helped a lot with the random Latin … thanks.
If this was interesting you may be interested in this too.


Naming the things in a bathroom is a smarter vocabulary exercise than it first looks, because every learner already knows the room, so the words attach to objects they can see and touch instead of floating on a flashcard. Asking how many things can you name turns it into a game rather than a test, and the counting itself becomes the motivation: one more word than last time is a visible win. I like the way this kind of lesson uses a photograph as the prompt, since a picture gives every student the same starting point regardless of level, and the stronger students can move on to describing what each thing is for while beginners are still collecting nouns. The bathroom is a good choice of room too, because it is full of everyday words that textbooks often skip, the small objects people actually say out loud every morning. A daily habit of naming five new things around the house would build a working vocabulary faster than memorising lists, and this post is a good template for it.