Hi, Your way of doing this is
not the web.2 way ;) You request the whole content on beforehand, even when you
don’t need it. Also you risk that single quotes inside news and article
break the code. If you do it like that
then the only thing you could do is to put the include stuff in the call:
The web2 way would be to
start some Something like this: <a
News Div</a> myAjax = new Ajax.Request(url, { method :
'get', onComplete
: function ( element =
new Insertion.Top('left_column', ajax.responseText); startDragging(); updateRanking(); } }); The nice thing is that
the file included can be determined on runtime. Try experimenting with
that ;) Have Fun Fabian From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tristan Kelley Hi all, |
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs