BrainBlog

BrainBlog is the Brains4All weblog. Established 2004 in The Netherlands. Brains have been working in IT since 1983, working on the internet since 1993, and using their own agile development process for design and application development since 2003. We talk about about design and usability, the industry of software and web development, web applications and simplicity, beautiful and spectacular things.

Sciptaculous Effect display: hidden reminder

marko

In scriptaculous, when you use the appear and fade or other effects, remember to set the display style property inside the HTML tag and *NOT* in the stylesheet.

Not like this:
<style>
#thanks {
    background: url('images/thanks.gif') no-repeat;
    display: hidden;
}
</style>
<div id='thanks'></div>
But like this:
<style>
#thanks {
    background: url('images/thanks.gif') no-repeat;
}
</style>
<div id='thanks' style='display: none;'></div>

  



Recent entries


Archives

Categories


Sign up today