application.allowDebug = true;
document = navigator = application;
navigator.userAgent = application.server;
document.getElementById = function () {return null};
document.documentElement = {removeChild: function(){}, insertBefore: function(){}};
document.createComment = function () {};
document.createElement = function ()
{
return {
style : {display: ""},
innerHTML: "",
insertBefore: function () {},
appendChild: function() {},
getElementsByTagName: function () {return []}
}
};
location = {href: "localhost"};
trace("Starting jQuery...");
load("jquery-1.3.2.js");
trace("jQuery started!");
Teraz trzeba tylko nauczyć się jQuery i znaleźć zastosowanie ;o)
Rozumiem, ze to jQuery Flash, tak?
Nope, jQuery we Flash Media Serverze
hmm FMS ma roznice/braki systemowe ktore trzeba niwelowac? <.<
W stosunku do przegladarek tak: window/document. To nie jest czesc JS1.5, tylko srodowisko.
chodzilo mi o roznice jak te miedzy FF i IE
Eee ;> dżekłery działa na obu. W czym rzecz?
no wlasnie w tym ze jQ ukrywa roznice w JS miedzy przegladarkami i stad (troche ironiczne) pytanie gdzie te roznice w FMS;)
Np. tu: http://ejohn.org/blog/bringing-the-browser-to-the-server/
:>