Re: [Proto-Scripty] Re: evalScripts problem

2010-02-24 Thread Recourse Records
It's hard to contact them. But it's ok. Thanks for all your advice anyway. I'm just going to forget about greybox and do a run of the mill new window pop up in an onclick event in a a tag for the time being Dan On Wed, Feb 24, 2010 at 2:29 AM, T.J. Crowder t...@crowdersoftware.comwrote: Hi

Re: [Proto-Scripty] Re: evalScripts problem

2010-02-23 Thread Recourse Records
thanks for the reply. However, it still doesn't work. let me just write out an idea of what im trying to get done. This is without the method on the wiki. Let's start from the original issue and work thru it from there So... ::This is what's included on each page to get the GreyBox pop up box to

[Proto-Scripty] Re: evalScripts problem

2010-02-23 Thread T.J. Crowder
Hi Dan, Ah, okay, that actually has nothing to do with evalScripts or loading scripts dynamically. :-) You'll have to talk to the Greybox folks. (I've never heard of it.) My *guess* is that Greybox is looking for anchor tags with that kind of REL attribute at page load time and attaching

Re: [Proto-Scripty] Re: evalScripts problem

2010-02-21 Thread Recourse Records
Thanks for replying. Ok, so going by page[3] if I were to do the following...AJAX UPDATER would evaluate the external js files: head script type=text/javascript src='libs/prototype.js'/script var head; var script; head = $$('head')[0]; if (head) { script = new Element('script', { type:

Re: [Proto-Scripty] Re: evalScripts problem

2010-02-21 Thread Recourse Records
This syntax works when ajax.updater is not involved but it still doesn't work with ajax.updater. What am I doing wrong? I'm trying to reach a deadline :( On Sun, Feb 21, 2010 at 1:31 PM, Recourse Records recoursereco...@gmail.com wrote: Thanks for replying. Ok, so going by page[3] if I were to

[Proto-Scripty] Re: evalScripts problem

2010-02-21 Thread T.J. Crowder
Hi, Where was that HTML? Because if it was in the page you're *loading*, it still uses a script tag to reference an external file (prototype.js) and then using things from it ($$). If the things you're loading are under your control, provide a `loadScript` function in your main page (that

[Proto-Scripty] Re: evalScripts problem

2010-02-20 Thread T.J. Crowder
Hi Dan, NOW, every-time I do a AJAX.UPDATER...it doesn't do what it's suppose to. IN OTHER WORDS: It's acting like those declarations are not declared in the header. It's actually doing what it's documented[1] to do: script blocks referencing external files will be treated as though they were

[Proto-Scripty] Re: evalScripts problem

2008-11-14 Thread Ehsun
On Nov 14, 6:30 am, RobG [EMAIL PROTECTED] wrote: On Nov 14, 7:39 am, Ehsun [EMAIL PROTECTED] wrote: I've create an Object in my pages script tags, something like this: a = new A(); and when I want to call a method of a in the script which is actually the ajax content (evaluated

[Proto-Scripty] Re: evalScripts problem

2008-11-13 Thread RobG
On Nov 14, 7:39 am, Ehsun [EMAIL PROTECTED] wrote: I've create an Object in my pages script tags, something like this: a = new A(); and when I want to call a method of a in the script which is actually the ajax content (evaluated with .evalScripts) everything is fine. but when the