JQuery

From MapbenderWiki

Jump to: navigation, search

Contents

Workgroup

  • Christoph Baudson
  • Marc Jansen
  • Melchior Moos
  • Uli Rothstein

Features

  • FeatureInfoRequest in Postits
  • Digitize (?)
  • insert DomNodes

Open Questions

  • include as Iframe?
with the additional context parameter (thanks to Marc) it seems to work. Here's how it works (let's assume we work in an iframe called "digitize")

//reference to jQuery
$ = parent.frames['ajax'].window.$;
 
//find all div tags in this frame
$("div", parent.frames["digitize"].document)

we still need to figure out how to use this with the .ready() function, see Trac
  • Wrapper (map.php) or nativ

Ressources

jQuery website tutorial

Personal tools