Hi,
I have ajaxed working with jQuery, using happyjakes replacement
ajaxed.js.
The console itself, however relies heavily on prototype.
Rather than convert the console code, I think it would make sense too
load prototype.js on the console pages and jquery elsewhere.
Can anyone thing of a more elegant way than this hack I have made to
ajaxedPage.asp:
'if loadPrototypeJS then loadJSFile(lib.path("prototypejs/
prototype.js"))
if loadPrototypeJS then
if Request.ServerVariables("SCRIPT_NAME") = "/ajaxed/console/
Default.asp" then
loadJSFile(lib.path("prototypejs/prototype.js"))
loadJSFile(lib.path("class_ajaxedPage/ajaxed_prototype.js"))
else
loadJSFile("
http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/
jquery.min.js") ' load jquery from google CDN.
loadJSFile(lib.path("class_ajaxedPage/ajaxed_jquery.js"))
end if
end if
Thanks
Sean