Tag Archives: postmessage

Maths Symbology Local Font Safari Block and Notify Popup Tutorial

Yesterday’s Maths Symbology via New Window Local Font Referrer Tutorial new communication conduit idea, “The Referrer”, had many outcomes that look a lot like “popup” ones. With both you end up with separate top.document (window.top window) webpages. The difference is that with “Allowed” “popup” scenarios you end up with a real conduit between these windows, whereas with the document.referrer (and with today’s work we also get to top.document.referrer and start using top.document.URL … var tdr=”; if (window.top) { if ((” … Continue reading →

Posted in eLearning, Event-Driven Programming, Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Maths Symbology via New Window Local Font Referrer Tutorial

Meanwhile, back at “Maths Symbology and Local Font Integration Land” (that we left off with Maths Symbology via New Window Local Font Memory Tutorial below), we add onto our list of communication conduits, so far involving … iframe popup … with a conduit we’ll call “The Referrer”. No, this is not a police drama. It is a communication conduit with the components … Parent window with an … “a” link target=_blank … linking to … Another (top.document) window … knows … Continue reading →

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

Maths Symbology via New Window Local Font Memory Tutorial

Yesterday’s Maths Symbology via New Window Local Font Tutorial‘s involvement of two quite big web applications is too resource hungry memory wise for all occasions and platforms, and today, we start down the road to optimise and prune functionality. And we try to cater for popup windows not working. This happens, and there’s more to do, because image data is stored as data URIs (which are big) and also on canvas (presumably in at least as sizeable a data URI … Continue reading →

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

Maths Symbology via New Window Local Font Tutorial

The Javascript DOM communicators of yesterday’s Maths Symbology via Div Local Font Tutorial were, in large part, using … parent webpage window … and … child HTML iframe element … communication conduits between web applications. But today we introduce another idea, the implication of a Javascript codeline such as … var wois=window.open(‘./under_local_font.html?allowwo=’ + Math.floor(Math.random() * 196745323) + midbit,’_blank’); … though opening a webpage in a new window, still thought of as a popup window, and so (var) wois will be … Continue reading →

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

Javascript Window Cross Domain Messaging Tutorial

A couple of days back with Javascript DOM Images Collection Primer Tutorial we sort of went back to the basics of Javascript DOM, right back to our two favourite web application webpage objects … We think the Javascript DOM (or Document Object Model) is the best means by which to create dynamic HTML webpages. The two objects of a webpage of most interest to us are … document … and to a lesser respect … window Well, today, it is … Continue reading →

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

PostMessage Calculator Primer Tutorial

We’re keen to revisit window.postMessage concepts, in terms of how it can be used to link web applications together with their own private messaging arrangement, that can be cross-domain, in its scope. We last touched on this with the TimeZone Country Places Data Tutorial if you want some other looks into this. Today, we have to thank the Simple Web Worker for the huge basis of code for today’s work. We like to simplify window.postMessage in our minds, as an … Continue reading →

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

TimeZone Country Places Data Tutorial

Data takes many forms, and we tend to organize it in an orderly fashion, often with the use of … database flat files, perhaps delimited … like CSV (comma separated values) mechanisms with the HTML such as data attributes … but today, we use PHP code itself, in the sense that it has a level of data hiding, but without usernames and passwords coming into play. Today we start with three simple array definitions in the PHP code for our … Continue reading →

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