[Mapbender-dev] using jquery ...

Christoph Baudson (WhereGroup) christoph.baudson at wheregroup.com
Wed May 16 05:39:25 EDT 2007


Hi Michael,

is your frame setup just like mine? jQuery in an iframe "ajax", and the 
location of the module which shall use jQuery in another iframe? Or is 
it in the parent frame?

The exceptions I got ("setArray is not defined") vanished after updating 
to the latest jQuery. Now, the drag and drop plugin just doesn't work in 
this setting (but it does with the standard setting, with jQuery in the 
same iframe).

Maybe log on to IRC and we can debug it together. Or just send the code.

Cheers

Christoph



Michael Schulz schrieb:
> Hi,
> 
> tried your suggestion, but no improvement. sigh!
> I'm using jquery: version 1.1.2 uncompressed ...
> 
> Cheers, Michael
> 
> 2007/5/15, Christoph Baudson (WhereGroup) 
> <christoph.baudson at wheregroup.com>:
>> Hi again,
>>
>> maybe you need to rewrite your example like this
>>
>> previously
>>
>> i_$(document).ready(function() {
>>         i_$("a",document).background("#f00");
>>
>> try this
>>
>> i_$(document, parent.document).ready(function(){
>>         i_$("a",parent.document).background("#f00");
>>
>> I'm not sure about the first bracket, but the second one definitely
>> needs the "parent." as context. Maybe worth a try.
>>
>> Christoph
>> _______________________________________________
>> Mapbender_dev mailing list
>> Mapbender_dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
>>
> 
> 


-- 
---------------------------------------
WhereGroup GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - 17
Fax: +49 (0)228 / 90 90 38 - 11

mailto:info at wheregroup.com
http://www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


--
Baudson Christoph
http://www.wheregroup.com


More information about the Mapbender_dev mailing list