Todayโs web application continues our interest in โฆ
- Javascript DOM document.write() method nesting โฆ
- Javascript prompt() window method
โฆ to give that old interactive desktop command line application feel that many of the โsenior citizensโ (should we diplomatically say) of the web world, may still secretly gravitate towards?!
Okay โฆ who are the closet interactive desktop command line application lovers out there? โฆ Come on โฆ you know who you are?!
But we digress โฆ so today, we have a web application a bit like a dashboard, a bit like a cockpit (weโve called it) โฆ though the looks arenโt as good at this stage. Nevertheless, maybe it has a feel of a widget to it as well, because today we only use HTML, making use of cookies to do away with the need for a serverside language like PHP, which could have done the job as well. But not everybody has PHP? Right โฆ
โฆ left โฆ
โฆ Damn! Those pesky psychological tests!
The concept today is very simple โฆ
- take a 3ร3 grid (to the zoo would be nice)
- check for cookie data for any/all of the 3ร3 and if found get (up to 9) URLs from this data, else document.write(prompt()) for the information interactively, storing good ideas in cookies for either of the two modes of display โฆ that being โฆ
- iframe
- window.open() popup window
โฆ so that the next time the user runs the same web application, and they have not cleared their cookies out in the meantime, this same configuration of use, personalized to them and the web browser theyโre using, will happen.
Regarding research and development weโd like to thank โJavaScript & Ajaxโ seventh edition by Tom Negrino and Dori Smith for the invaluable code regarding cookies, and an interesting sideline, which we ended up not perusing, but is active in your *._GETME file today, to show you what is possible comes from this useful website โฆ thanks.
The (purely) HTML and Javascript source code you could call cockpit_feelhtml for which you can use this live
run link. If this helps then weโre happy.
If this was interesting you may be interested in this too.