Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-22 Thread Christof Donat
Hi, > > > Maybe it has to do with your security-setings in IE. You need to allow > > > scripts > > > to access "secure" ActiveX-Controls, as you need for all ajax stuff. > > > Otherwise there will of course not be any chance to get an > > > XMLHttpRequest object. > > > > But that cannot be the cas

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-18 Thread Christof Donat
Hi, > > Maybe it has to do with your security-setings in IE. You need to allow > > scripts > > to access "secure" ActiveX-Controls, as you need for all ajax stuff. > > Otherwise there will of course not be any chance to get an XMLHttpRequest > > object. > > But that cannot be the case because I te

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-18 Thread Christof Donat
Hi, > I'm getting something similar in IE7 as well (FF and Opera seem fine). A > "View Source" reveals this: > > Hm, that is nothing that could have been created with jsPax. I don't use deferred scripts and there is no "__ie_init" anywhere in jsPax as well. I'm not shure what happens there. It

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-17 Thread Aaron Heimlich
On 1/17/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote: Could you please confirm that the page you see in FF and IE both show colored code? You'll begin to think I'm pedant, but in FF I see colored code, no matter if I reload. On the contrary, in IE7 I can see at first black code, and after a rel

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-17 Thread Andrea Ercolino
Christof Donat wrote: > > Maybe it has to do with your security-setings in IE. You need to allow > scripts > to access "secure" ActiveX-Controls, as you need for all ajax stuff. > Otherwise there will of course not be any chance to get an XMLHttpRequest > object. > But that cannot be the ca

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-16 Thread Christof Donat
Hi, > > I have no problems with a relative package path > > This is very strange... Did you use the exact files/directories in the zip > I submitted? Yes, I just changed packageBase to the path at my computer. Everything else is exactly the files in the zip. Maybe it has to do with your securit

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-16 Thread Andrea Ercolino
Christof Donat wrote: > > I have no problems with a relative package path > This is very strange... Did you use the exact files/directories in the zip I submitted? -- View this message in context: http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8392903 S

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-16 Thread Christof Donat
Hi, > > But I still have the same problem... > > Here is a zip file. After unzipping, there will be a new "chili" folder > > with a test page and a subfolder. It works in FF1.5.0.9 but does not in > > IE7. http://www.nabble.com/file/5620/chili.zip chili.zip > > Currrently I don't have IE7 at hand -

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-13 Thread Christof Donat
Hi, > Your test page works now :-) Great :-) > But I still have the same problem... > Here is a zip file. After unzipping, there will be a new "chili" folder > with a test page and a subfolder. It works in FF1.5.0.9 but does not in > IE7. http://www.nabble.com/file/5620/chili.zip chili.zip Cur

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-13 Thread Andrea Ercolino
Christof Donat wrote: > > @Andrea: can you please check, if that was the problem for you? > Your test page works now :-) But I still have the same problem... Here is a zip file. After unzipping, there will be a new "chili" folder with a test page and a subfolder. It works in FF1.5.0.9 but doe

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Aaron Heimlich
On 1/12/07, Christof Donat <[EMAIL PROTECTED]> wrote: Erm, yes. I just found that one. It was just trying to fetch the packages from http://jspax.cdonat.de/test/. I have changed that to /test/ now. On the Server jspax.cdonat.de, jspax.org, jspax.de and jspax.com are the same directory. I know

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Christof Donat
Hi, > >>> http://www.jspax.org/test/ > >> > >> FF, OK. > >> IE, KO: > > > > Hm, It workes for me. I'll see if I can find something strange around the > > point, the error message suggests. > > > > Christof > > For me on IE 6 it pops up a message saying "This page is accessing > information that is

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Kelvin Luck
Christof Donat wrote: > Hi, > >>> http://www.jspax.org/test/ >> FF, OK. >> IE, KO: > > Hm, It workes for me. I'll see if I can find something strange around the > point, the error message suggests. > > Christof For me on IE 6 it pops up a message saying "This page is accessing information tha

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Christof Donat
Hi, > > http://www.jspax.org/test/ > > FF, OK. > IE, KO: Hm, It workes for me. I'll see if I can find something strange around the point, the error message suggests. Christof ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Andrea Ercolino
Christof Donat wrote: > >> Which testsuite? What URL? > > Look at > http://www.jspax.org/test/ > FF, OK. IE, KO: http://www.nabble.com/file/5605/jspax.png -- View this message in context: http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8296718 Sent from

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Christof Donat
Hi, > Which testsuite? What URL? Look at http://www.jspax.org/test/ Christof ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Andrea Ercolino
Christof Donat wrote: > > Hm, that is strange. can you please check, if the testsuite at jquery.org > works correctly with IE for you? It uses exactly the compressed package.js > that is also available for download. > Which testsuite? What URL? -- View this message in context: http://www.

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Christof Donat
Hi, > > Just a guess: Have you tried to use an absolute URL, or at leas an > > absolute > > path here? Maybe Firefox interprets that relative to the current HTML > > page and IE interprets it relative to the js. Then IE tries to > > load "packages/packages/jquery.js" where Firefox loads > > "packa

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Andrea Ercolino
Christof Donat wrote: > > Just a guess: Have you tried to use an absolute URL, or at leas an > absolute > path here? Maybe Firefox interprets that relative to the current HTML page > and IE interprets it relative to the js. Then IE tries to > load "packages/packages/jquery.js" where Firefox l

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-11 Thread Christof Donat
Hi, > 2.I've wrapped the content of the standard chili.js file inside this: > $using( 'jquery', function() { > ... > $package( 'chili', {} ); > } ); Since you don't load chili.js via jsPax you don't necessarily need the $package()-call, but it doesn't hurt. > 3.I

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-11 Thread Andrea Ercolino
1. I've put this line at the bottom of the standard jquery.js file not compressed: $package('jquery',{}); 2. I've wrapped the content of the standard chili.js file inside this: $using( 'jquery', function() { ... } ); 3. I've changed the default p

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-11 Thread Christof Donat
Hi, > >> Yes, I downloaded it short before. > >> Please, tell me when I can download the fixed version, and I'll test > >> again > > > > I just have uploaded the current version again. Please try again. > > I've just downloaded and tried again but... nothing changed :( Have you tried the testsuit

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-09 Thread Andrea Ercolino
Christof Donat wrote: > >> Yes, I downloaded it short before. >> Please, tell me when I can download the fixed version, and I'll test >> again > I just have uploaded the current version again. Please try again. > I've just downloaded and tried again but... nothing changed :( -- View this mes

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-06 Thread Christof Donat
Hi, > Yes, I downloaded it short before. > Please, tell me when I can download the fixed version, and I'll test again I just have uploaded the current version again. Please try again. Christof ___ jQuery mailing list discuss@jquery.com http://jquery.c

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-05 Thread Andrea Ercolino
Christof Donat wrote: > >> > Well, I don't know about any guarantees, but it works in all test I did >> > (with >> > the loaded script delayed, etc.) >> >> I'm trying to apply your jsPAX to my Chili setup, but it works in FF1.5 >> and >> not in IE7, which does not return any error and does not s

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-05 Thread Christof Donat
Hi, > > Well, I don't know about any guarantees, but it works in all test I did > > (with > > the loaded script delayed, etc.) > > I'm trying to apply your jsPAX to my Chili setup, but it works in FF1.5 and > not in IE7, which does not return any error and does not show the page, > just keeps load

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-05 Thread Andrea Ercolino
Christof Donat wrote: > > Well, I don't know about any guarantees, but it works in all test I did > (with > the loaded script delayed, etc.) > Hi Christof. I'm trying to apply your jsPAX to my Chili setup, but it works in FF1.5 and not in IE7, which does not return any error and does not sho

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Christof Donat
Hi, > > As you might know scripts are evaluated in the > > order they are in the HTML code, that is that script will be > > evaluated before script2 is. > > Interesting - is that guaranteed even when the scripts are added > dynamically? Well, I don't know about any guarantees, but it works in all

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Michael Geary
> > That looks really dodgy, sorry. > > > > What if the browser downloads script and script2 at the > > same time, and script2 finishes first? > > It doesn't. script2 is not downloaded at all, it is like a > inline script. Ah, I wasn't paying close enough attention to the code. :-) > As you mi

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Christof Donat
Hi, > That looks really dodgy, sorry. > > What if the browser downloads script and script2 at the same time, and > script2 finishes first? It doesn't. script2 is not downloaded at all, it is like a inline script. As you might know scripts are evaluated in the order they are in the HTML code, th

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Jörn Zaefferer
Michael Geary schrieb: > Hmm... This would make a nice patch for jQuery itself - when it concatenates > all the files to make the various "dist" versions, add this line to the end > of the merged code: > > window.jQuery_onload && jQuery_onload(); > > John et al, what do you think? > The implemen

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Michael Geary
> > I'm afraid that I simply don't take Safari users into > > account. Hardly a great thing, but I focus on three > > browsers: Firefox and IE7, and then IE6. > > In that order. The work I do is targetted at corporate > > users who run Windows 2000 and Firefox, and all the > > JS work I do is f

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Dan Atkinson
That's a good, workable solution! Cheers, Dan Christof Donat wrote: > > Hi, > >> I'm afraid that I simply don't take Safari users into account. Hardly a >> great thing, but I focus on three browsers: Firefox and IE7, and then >> IE6. >> In that order. The work I do is targetted at corporate u

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Christof Donat
Hi, > I'm afraid that I simply don't take Safari users into account. Hardly a > great thing, but I focus on three browsers: Firefox and IE7, and then IE6. > In that order. The work I do is targetted at corporate users who run > Windows 2000 and Firefox, and all the JS work I do is for those users.

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Dan Atkinson
Christof, I'm afraid that I simply don't take Safari users into account. Hardly a great thing, but I focus on three browsers: Firefox and IE7, and then IE6. In that order. The work I do is targetted at corporate users who run Windows 2000 and Firefox, and all the JS work I do is for those users.

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-03 Thread Christof Donat
Hi, >function addScript( url ) { > var script = document.createElement( 'script' ); > script.type = 'text/javascript'; > script.charset = 'utf-8'; > script.src = url; > document.getElementsByTagName('head')[0].appendChild( script ); >}; There are safari-versi

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-02 Thread Dan Atkinson
function addScript( url ) { var script = document.createElement( 'script' ); script.type = 'text/javascript'; script.charset = 'utf-8'; script.src = url; document.getElementsByTagName('head')[0].appendChild( script ); }; You would use it by doing something like