the problem probably come from the eval,
you can test with a try/catch to see where is the problem



try {

  eval(reponse);

}

catch(e) {

 alert([e.message, e.fileName, e.lineNumber].join('\n'));
}


On Wed, Apr 8, 2009 at 3:49 PM, Manohman <[email protected]> wrote:

>
> Thanks Thierry. I can't see a problem with it so far. jdGallery is
> already running on the parent page and has a seperate gallery running
> successfully. It's also been set up correctly to allow 2 distinct
> jdgallerys to run on the same page. Even though jd.gallery.js is
> already running on the parent page, I tried pasting in the code into
> script tags on the requested content page to allow evalscript to run
> through it aswell, which made no difference. I didn't think it would
> if it's already running before the content's requested.
>
> Here is the content that's being requested:
>
> http://www.copypastecode.com/codes/view/4621
>
> On Apr 8, 3:23 pm, Thierry bela nanga <[email protected]> wrote:
> > you should check the content you requested instead,
> >
> >
> >
> > On Wed, Apr 8, 2009 at 3:15 PM, Manohman <[email protected]> wrote:
> >
> > > Hi,
> >
> > > I'm getting this error from firebug while trying to load a html page
> > > containing jondesigns smoothgallery into a div using mootools request:
> >
> > > ob.toString is not a function
> > > imgPreloader.src = this.galleryData[0].image;   > jd.gallery.js
> >
> > > The smoothgallery/jdgallery code is the unchanged standard code given
> > > with the demos. It works fine if it's not dynamically loaded into a
> > > div with ajax so I don't believe it's the html or css (and haven
> > > included them here).
> >
> > > I have evalScripts to true and it's definitely trying to process them.
> >
> > > My ajax script is here:
> >
> > >http://www.copypastecode.com/codes/view/4620
> >
> > > I think there's a conflict between mootools request and the
> > > smoothgallery.
> >
> > > Any ideas? Thanks
> >
> > --
> > fax : (+33) 08 26 51 94 51
>



-- 
fax : (+33) 08 26 51 94 51

Reply via email to