Saturday, March 27, 2010

Script.aculo.us - useful Effects

Here we insered to extra parameters. In this example, the picture will start fading after 10 seconds, not frames, and will only fade to 50 percent of it's original color.
>
Here are all the 16 standard effects that you can use with script.aculo.us:

Fade: Decreases opacity
Appear: Increases opacity

BlindUp, BlindDown: Changes height of the element

SlideUp, SlideDown: Slides the element up or down.

Shrink: Resizes the element( Shrinks)
Grow: Resizes the element( Expands)

Highlight: CHanges background color of element.

Shake: Causes an element to slide left to right a few times.

Pulsate: Rapidly fades in and out several times.

DropOut: Simultaneously fades an element and moves it downward, so it appears to drop off the page

SwitchOff: SImulates an old television bieng turned off; a quick flicker, and then the element collapses into a horizontal line.

Puff: Makes an element incease in size while decreasing opacity.

Squish: Similiar to shrink, but the element's top-left corner remains fixed.

Fold: First redurces the element's height to a thin line and then reduces its width until it disappears

Friday, March 26, 2010

Complexity and Collapse - Niall Ferguson

>http://www.foreignaffairs.com/articles/65987/niall-ferguson/complexity-and-collapse?page=6
Excerpt -
Defeat in the mountains of the Hindu Kush or on the plains of Mesopotamia has long been a harbinger of imperial fall. It is no coincidence that the Soviet Union withdrew from Afghanistan in the annus mirabilis of 1989. What happened 20 years ago, like the events of the distant fifth century, is a reminder that empires do not in fact appear, rise, reign, decline, and fall according to some recurrent and predictable life cycle. It is historians who retrospectively portray the process of imperial dissolution as slow-acting, with multiple overdetermining causes. Rather, empires behave like all complex adaptive systems. They function in apparent equilibrium for some unknowable period. And then, quite abruptly, they collapse. To return to the terminology of Thomas Cole, the painter of The Course of Empire, the shift from consummation to destruction and then to desolation is not cyclical. It is sudden.

Saturday, March 13, 2010

QuirksMode - for all your browser quirks

QuirksMode - for all your browser quirks: "QuirksMode.org is the prime source for browser compatibility information on the Internet. It is maintained by Peter-Paul Koch, mobile platform strategist in Amsterdam, the Netherlands.

QuirksMode.org is the home of the Browser Compatibility Tables, where you’ll find hype-free assessments of the major browsers’ CSS and JavaScript capabilities, as well as their adherence to the W3C standards."

Blog Archive