Hey, thanks, I am one step closer.

I put mootools drag script in function and then, call the function
when httprequest load page. It works now, but here is another problem.
It works only when i load inner html once. If i go for example from
first to second and then to third page, drag drop works only on first
and second page... I guess problem is because it wont call same
function twice?



On Jan 31, 10:13 am, Matej Drobnič <[email protected]> wrote:
> try using the $(element) on your response, it should extend the element with
> all the Element methods applied to it.
>
> otherwise use the previous suggestion, put all the drag initialization in a
> function then call that function on the oncomplete event or put a call to
> the functon in the returned http result and eval it.
>
> On 31 January 2010 22:01, אריה גלזר <[email protected]> wrote:
>
> > why can't you load the drag with the onComplete Request event?
> > -----------
> > אריה גלזר
> > 052-5348-561
> > 5561
>
> > On Sun, Jan 31, 2010 at 10:48, Matic <[email protected]> wrote:
>
> >> Hello,
>
> >> i created web shop and used mootools for draging articles in shopping
> >> cart. But there is a problem... Articles list loads with
> >> httpxmlrequest technique, so they cant be draged. I can only drag
> >> articles on first page, which loads with page... all next pages use
> >> httpxmlrequest.
>
> >> Is there any solution? Please help me!

Reply via email to