Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Blank screen after embedding vanilla inside a window.addEvent('load'...); using Mootools

edited January 2011 in Vanilla 2.0 - 2.8
Hi,
I got a blank screen after embedding vanilla inside a window.addEvent('load'...); using Mootools.
How can I fix that?

thanks in advance,

cirpo

Comments

  • i want to add some information about my workmate question.
    we add the embedder script like this:

    window.addEvent("domready", function(){
    new Element("script", { type: "text/javascript", src: "http://test.domain.com/plugins/embedvanilla/remote.js" }).inject($("middle"), "bottom");
    });

    the page look like this https://gist.github.com/791939
  • It's more than likely that the included js has it's own bind to window load, if it is inside yours it's one isn't triggered. On window load it will include scripts that require window load event. Just a guess, I can check a bit later.
Sign In or Register to comment.