Posts Tagged ‘mootools’

Wednesday, November 4th, 2009

External Links in New Window. Passive and with MooTools.

Sx
All external links from the site should open in a new window. Do not want to write this on a link-by-link basis. Should be light and unobtrusive. Using MooTools.
Dx
We can easily know what domain the script lives on. Other domains are easily distinguished. Links come and go and are loaded in, sometimes, by other links. We [...]

Wednesday, April 15th, 2009

Mootools 1.2 Horizontal Accordion – the secret revealed

Sometimes the API docs are wrong.
Since I couldn’t find out how to do it, I’ll post the secret here. To make the horizontal accordion work in Mootools 1.2 you have to specify a fixed width. The API docs say it is a Boolean, but it ain’t. It is what the plugin uses to determine the [...]