, but this code // executes before the first paint, when

麻豆区

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); Prof part of award-winning book - News & Stories | 麻豆区

麻豆区

Skip to main content

Calvin News

Prof part of award-winning book

Tue, Dec 19, 2006
Myrna Anderson

A Calvin College professor is part of a book on John Milton that has been honored by the Milton Society of America (which has been around almost 60 years and includes almost 600 members).

David Urban, a professor of English, contributed a chapter to "Milton's Legacy," a book that recently won the Irene Samuel award for the most distinguished multiauthor collection of essays in 2005. The award will be presented by the Milton Society of America at the annual dinner held on December 28 at the Modern Language Association meeting in Philadelphia.

Urban continuted an essay titled "'Out of His Treasurie Things New and Old': Milton's Parabolic Householder in The Doctrine and Discipline of Divorce and De Doctrina Christiana."

Urban teaches Milton at Calvin (the college will again offer English 347, a course on Milton, this spring) and he says he believes the British author, who was born almost 400 years ago, still has much to offer today's generation of college students.

"Milton wrestles with timeless theological questions concerning the fall and redemption of humanity," he says, "and he continually struggles with the matter of presenting himself rightly before God."

Milton's most famous works are Paradise Lost (which he wrote when he was blind and impoverished) followed by Paradise Regained, together with Samson Agonistes, a drama on the Greek model, in 1671.