Upcoming Events

December 11, 2007

I remember my first programming class. I was seven. For the life of me, I could not make that damn turtle draw a star while playing music at the same time to save my life (or my grade). This is generally just as painful and traumatic to do in Javascript as it is in Logo.

The thing that makes Scriptaculous totally amazing is native simultaneous effects. Meaning, you can do a shape tween and an opacity change all at the same time, no jerkiness or anything. You can just pass in an array of effects to render, and it does them all at the same time.

October 17, 2007

So I’ve been playing with Scriptaculous a bit, and doing some debugging. I have a table, in which certain rows would should appear when a link is clicked. I’ve got it set with a display:none by default and I’m using Effect.SlideDown to have it appear. Now due to how display and opacity on tables, trs, and tds are handled by just about every browser, there were several unexpected results.

(more…)

August 3, 2006

IE tends to do some funny things with its security settings. In particular, if your settings are high enough, window.close() will throw a warning or silently stop working entirely. This is definitely not our preferred behavior, and luckily, there’s an easy hack provided by FatTonny on the SitePoint Forums.

window.opener = window;
window.close();

That’s all there is too it! Happy coding!

« Previous PageNext Page »