, 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); })(); Science Demos - News & Stories | 麻豆区

麻豆区

Skip to main content

Calvin News

Science Demos

Tue, May 16, 2000
na

Chemistry prof Larry Louters will do his annual science demonstrations this week for local school children.
This is the 10th year for the science demos. As in past years, the demos will see Louters perform an enjoyable mix of education and entertainment designed to not only teach children some of the more basic laws of chemistry, but do so in a fun way that may encourage kids to pursue the study of cheminstry at the high school and college level.聽
Louters's act is a blend of Mr. Rogers and David Copperfield as he mixes kind-hearted science instruction with explosions, flames, disappearing pennies, liquids that change colors and melting styrofoam cups. He'll make a balloon shrink and shrivel when dipped in liquid hydrogen and then magically reinflate it upon exposure to the air. He'll demonstrate what happened to the Hindenburg, burn an alcohol-soaked rag without actually burning the cloth, spill burning liquid methane on the floor of his lab and throw flaming paper in the air only to have it vanish without a trace.聽
"It's fun for me," Louters says, "and I know the kids enjoy it too. And hopefully they'll learn a few things."聽
Letters that Louters receives from students speak of both the enjoyment and the education that the seminars provide.聽
"I enjoyed the big boom a lot," said one student. "Thank you for inviting us to your lab." Wrote another student: "Thank you for sharing your knowledge." And one girl thought it was "cool" when Louters "set fire to the towel and it didn't burn."聽
Says Louters: "I figure if we can reach kids early enough, and get them excited about chemistry, maybe they'll remember it when they get to high school or college and want to take it again. The beautiful thing about these demonstrations is that they all want to be chemists afterwards."