Saturday, April 13, 2013
Blog Entry #285
(2) Mousing over the Section 2 link of the subsector's navigation menu indicates that Section 2 should hold four "hover" (mouseover-triggered) code snippets: a visit to Section 2 reveals it to be
(4) Section 4's first subsection briefly addresses the generation of secondary windows via the open( ) method of the window object. Section 4's second subsection details two old-school* ways to 'free' a frame src page from its frameset ancestor(s).
*At a frameset page, the context menus of most modern browsers (Google Chrome being a conspicuous exception) sport Open Frame in New Window and Open Frame in New Tab commands for displaying an isolated frame page.
(5) Section 5 covers alert( ), prompt( ), and confirm( ) dialog boxes. Lissa does not specify that alert( ), prompt( ), and confirm( ) are methods of the window object, not that that's an original sin on her part, of course.
(9) Section 9's first subsection offers a script for creating a "chromeless" (read customizable) secondary window; the script's complexity - its openIT( ) and chromeless( ) functions respectively expect 10 and 28 arguments, for example - is wildly out of proportion to the simple window that is opened by the subsection's demo with a variety of browsers on my iMac. Section 9's second subsection provides a snippet for putting a frame around a Web page; the snippet was formerly
IE onlybut will today work with other browsers if we recast it as
document.body.style.border = "15px outset black";.
(10) We strike gold in Section 10. Mousing over the Section 10 link of the subsector's navigation menu indicates that Section 10 should contain a single subsection with a snippet that will
add auto favorites, that is, prompt the user to let the current page bookmark itself, a coding situation we explored in the Your new fave section of Blog Entry #246. Section 10 does in fact feature a window.external.AddFavorite( ) snippet, but it also offers another three Peter Gehrig scripts - a splash tracker script, a letter magnet script, and a preload splash script - that summon us to put them under the microscope.
(1) The "Shopping Cart" tutorial dates to the Joe Burns era, but its code is much more complicated than that in any of Joe's other tutorials and will give us a good workout.
(2) The present-day "Shopping Cart" demo doesn't work/throws errors, and we just can't let that stand, now can we?
So that's what we'll be doing for a while.