brain.rbinstance_missing
In the JQuery documentation entry about ready, it’s mentioned that the ready() function is somewhat a replacement to the onload event, and should be used to traverse and manipulate the DOM when it’s ready.
onload event callback, the function will run after the document is displayed, not only parsed.
Using the ready() callback like that:
$(document).ready(function () {
$(“p.hidden”).fadeIn();
})
fadeIn effect before the page is displayed, and by that probably will cause the fade effect to look weird .
using the onload event:
// ATTN: runs on window, not on document
$(window).load(function(){
$(“p.hidden”).fadeIn();
})
fadeIn effect will kick in
| Variable | Value |
|---|---|
| GITHUB | |
| WWR | { :working_with_rails => 'http://www.workingwithrails.com/person/5844-elad-meidar' } |
| IRC | { 'irc.freenode.net' => [ '#rubyonrails', '#railsbridge', '#ruby', '#mootools' ]} |
| SKYPE | eladmeidar |
You're seeing this error because I think it is funny.