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
empty...external files are not loaded and processed by evalScripts."
I'm not saying they shouldn't be, just that they aren't and the
behavior is documented.

This came up just a few days ago[2]. As I mentioned in that thread, at
the moment you have to find the script tags yourself and load them;
this page[3] on the unofficial wiki talks about the process of
dynamically loading scripts.

[1] http://api.prototypejs.org/language/string.html#evalscripts-instance_method
[3] http://proto-scripty.wikidot.com/prototype:how-to-load-scripts-dynamically

T.J. Crowder
Independent Software Consultant
tj / crowder software / com

On Feb 21, 6:39 am, Dan <recoursereco...@gmail.com> wrote:
> I have some <script> tags in my header tags that's used all throughout
> my site. In particular, they are script tags to a pop-up box:
> <script type="text/javascript" src="GreyBox_v5_5_3/greybox/AJS.js"></
> script>
> <script type="text/javascript" src="GreyBox_v5_5_3/greybox/
> AJS_fx.js"></script>
> <script type="text/javascript" src="GreyBox_v5_5_3/greybox/
> gb_scripts.js"></script>
> <link href="GreyBox_v5_5_3/greybox/gb_styles.css" rel="stylesheet"
> type="text/css" media="all" />
> The way to have the popup box show up is to write out a link like so
> <a href="URL" title="CAPTION" rel="gb_image[]">HTML</a>
> NOW, every-time I do a AJAX.UPDATER and I update the container with a
> link like the one above, it doesn't do what it's suppose to. IN OTHER
> WORDS: It's acting like those declarations are not declared in the
> header.
> How can I make this work? I know it has something to do with
> EvalScripts. Please help I am lost.
> Thanks,
> Dan

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to