source:
trunk/workshop-routing-foss4g/web/GeoExt/examples/popup-more.html
@
76
| Revision 76, 1.5 KB checked in by djay, 14 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | <html> |
| 2 | <head> |
| 3 | <title>GeoExt Modified Popup Example</title> |
| 4 | |
| 5 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script> |
| 6 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"></script> |
| 7 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/resources/css/ext-all.css" /> |
| 8 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/examples/shared/examples.css" /> |
| 9 | <link rel="stylesheet" type="text/css" href="../resources/css/geoext-all.css" /> |
| 10 | <script src="http://www.openlayers.org/api/2.10/OpenLayers.js"></script> |
| 11 | <script type="text/javascript" src="../script/GeoExt.js"></script> |
| 12 | |
| 13 | <script type="text/javascript" src="popup-more.js"></script> |
| 14 | |
| 15 | <style type="text/css"> |
| 16 | #container { |
| 17 | margin: 1em; |
| 18 | } |
| 19 | </style> |
| 20 | </head> |
| 21 | <body> |
| 22 | <h1>Modified Popup Example</h1> |
| 23 | <p> |
| 24 | This example demonstrates the use of a single popup to display |
| 25 | content from multiple locations. |
| 26 | <p> |
| 27 | <div id="container"></div> |
| 28 | <p> |
| 29 | Clicking on the map will open a popup displaying the click location. |
| 30 | Subsequent clicks will update the content and the position. Close |
| 31 | the popup to start over. |
| 32 | <p> |
| 33 | See the <a href="popup-more.js">popup-more.js</a> source for more |
| 34 | detail. |
| 35 | </p> |
| 36 | </body> |
| 37 | </html> |
Note: See TracBrowser
for help on using the repository browser.