Hello all.
i have a script this one.
/* Load new scripts for system */
function includeJS( jsPath )
{
var js = document.createElement("script");
js.setAttribute("type", "text/javascript");
js.setAttribute("src", jsPath);
document.getElementsByTagName("head")[0].appendChild(js);
}
/* All system will be include here. */
includeJS( domain +"/javascript/jquery/v1.4.2/jquery-1.4.2.min.js");
includeJS( domain +"/javascript/jquery/v1.4.2/jquery-ui-1.8.4.custom.min.js");
/* Fancybox */
includeJS( domain +"/javascript/jquery/fancybox/jquery.mousewheel-3.0.2.pack.js");
includeJS( domain +"/javascript/jquery/fancybox/jquery.fancybox-1.3.1.js");
includeCSS( domain +"/javascript/jquery/fancybox/jquery.fancybox-1.3.1.css");
/* Config all stuff */
includeJS( domain +"/javascript/core-plugins/core.plugin.handler.js");
Its work fine in Firefox, i have not testet ind Internet Explore and Chrome, but in Safarie its not work to, can sombady help me and tell me whats happen here?
the problem its i load framework apis deffiend about the user need the API or not to stop to much javascript loading.