PS - Again, I don't even know for sure if this is the issue. :) On Wed, Feb 11, 2009 at 10:32 PM, Nic Luciano <adaptive...@gmail.com> wrote:
> Hey Davis... > > So, the issue is that your calling corners once, it executes on all the > elements currently IN the document. When you load new elements via AJAX, > they are appended AFTER corners has already done it's magic. > > So where it says... > > if (xmlHttp.readyState == 4){ > var res = xmlHttp.responseText; > loader_menu.innerHTML = res; > > } else { > loader_menu.innerHTML = '<img > src="./templates/current-version/images/page-loading.gif" > style="margin:5px;" alt="loading" />'; > } > > You need to reapply .corners() > > if (xmlHttp.readyState == 4){ > var res = xmlHttp.responseText; > loader_menu.innerHTML = res; > $('#guestbook').corners({radio:5, outColor:'red'}); > } else { > loader_menu.innerHTML = '<img > src="./templates/current-version/images/page-loading.gif" > style="margin:5px;" alt="loading" />'; > } > > > On Wed, Feb 11, 2009 at 10:26 PM, Davis <ywk...@gmail.com> wrote: > >> >> Hello Nic, >> >> Thanks for your quick reply. >> >> So would you please give me some simple example about callback ajax >> script ? also what do you meant using own AJAX function co-operate >> with jquery? sorry I am still newbie for ajax and jquery. >> >> many thanks/Davis. > > >