map in another frame?

Hello,

I’m a newby concerning OSM and I know some basics about HTML and JavaScript.

I tried the example http://wiki.openstreetmap.org/wiki/DE:Karte_in_Webseite_einbinden and now I want to display the map in another frame. How can this be done?

Where can I find some information about OpenLayers.js, OpenStreetMap.js and the API?

Is it possible to get the coordinates from the map by clicking on a position, so that I can process the data with a JavaScript-method?

Greetings Uri

The answers to the questions are:

  • Map in another frame:
    new OpenLayers.Map (parent.frame_name.document.getElementById(“map”), {… instead of new OpenLayers.Map (“map”, {…

  • More information:
    http://docs.openlayers.org/

Greetings Uri