HTML Themed Supervision First Genericization Tutorial

HTML Themed Supervision First Genericization Tutorial

HTML Themed Supervision First Genericization Tutorial

Some days ago we left off with HTML/Javascript Themed Supervision Primer Tutorial having a pretty hardcoded feel to it, as a web application gathering together other web applications under the concept of “ESL Ideas”.

We saw this application then, as now, as being a great candidate to take you through some genericization ideas.

Today’s genericization ideas stay within the realm of client side web application functionality, only … the reason the blog title mentions “First”. We go over some similar concepts as to when we presented PHP/HTML with External Javascript Slotting In Tutorial where both …

  1. document.head.innerHTML HTML script tag GET properties and/or overworked by
  2. document.URL GET properties

So we allow the web application “theme” and the three HTML button aspects described by, again …

  1. a label (that is displayed and is that HTML button element’s innerHTML property)
  2. a title containing a URL to reach the “tutorial web application” as above
  3. an onclick event, the function called passing across a this variable pointing at the HTML button element and a URL to reach the “tutorial (itself)” as above

… can now be dynamically controlled by the user in the last of those two ways described (way) above, and by the writer of the software with the document.head.innerHTML approach.

And there is more to come involving possible interactivity and serverside functionality. Hope you get some good ideas from this thread of postings.

In the meantime, again, have a look at our HTML and Javascript and CSS programming source code you could call middle_interest.html (changed from before as per this link) supervising the new external Javascript you could call middle_interest.js and/or try a …


Previous relevant HTML/Javascript Themed Supervision Primer Tutorial is shown below.

HTML/Javascript Themed Supervision Primer Tutorial

HTML/Javascript Themed Supervision Primer Tutorial

Today we want to show another “overlay” variation on HTML and Javascript supervision of other web applications, in an HTML iframe element. We make the look of this supervisor be a central “core” child web application that is either a …

  • tutorial web application … or …
  • tutorial (itself)

… displayed in a middle “overlay” HTML iframe element.

That middle “overlay” HTML iframe element’s content is controlled by (the clicking of) HTML button elements spread around it, that position themselves as far away from the “middle” part as they can (so that the “middle” part can be as big as it can), in HTML td (cell) elements. Three pieces of information are associated with these buttons, namely …

  1. a label (that is displayed and is that HTML button element’s innerHTML property)
  2. a title containing a URL to reach the “tutorial web application” as above
  3. an onclick event, the function called passing across a this variable pointing at the HTML button element and a URL to reach the “tutorial (itself)” as above

That all sounds a pretty generic plan, but today we have a “Primer” tutorial, as proof of concept, which hardcodes all the HTML button element features as above on the theme (which is contained in a global variable called “theme”) of ESL. We chose this “theme” because we have quite a varied lineup that would benefit from a web application coalescing some of the ideas we’ve been developing here at this blog.

Over time, you can be pretty sure we’ll be genericising all this in a variety of directions. We hope you stick around to see this.

By the way, the CSS “overlay” usual suspects come into play again today, the main two being …

… and we use the Window.getComputedStyle Javascript functionality to help position that middle “overlay” HTML iframe element, as well as CSS float and vertical-align properties. Again, as was the case with Landing Page Mobile Tutorial, we use Javascript that performs a little like a server language like PHP, holding back on the production of the HTML via that HTML being defined in a variable capable of being modified and “tweaked”, until ready to release via the use of the Javascript DOM document.write([that variable]) method, used to set off the bulk of the web page rendering at the web browser.

In the meantime, have a look at our HTML and Javascript and CSS programming source code you could call middle_interest.html and/or try a live run.

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, ESL, Tutorials and tagged , , , , , , , , , , , , , , , , , . Bookmark the permalink.

13 Responses to HTML Themed Supervision First Genericization Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *