TxHockeyGuy:search
From The Scuba Wiki
(Difference between revisions)
TxHockeyGuy (Talk | contribs) |
TxHockeyGuy (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | + | <html> | |
- | + | <head> | |
- | + | <script type="text/javascript"> | |
- | { | + | function loadXMLDoc(url) |
- | + | { | |
- | + | if (window.XMLHttpRequest) | |
+ | {// code for IE7+, Firefox, Chrome, Opera, Safari | ||
+ | xmlhttp=new XMLHttpRequest(); | ||
+ | } | ||
+ | else | ||
+ | {// code for IE6, IE5 | ||
+ | xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); | ||
+ | } | ||
+ | xmlhttp.open("GET",url,false); | ||
+ | xmlhttp.send(null); | ||
+ | document.getElementById('test').innerHTML=xmlhttp.responseText; | ||
+ | } | ||
+ | </script> | ||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | |||
+ | <div id="test"> | ||
+ | <h2>Click to let AJAX change this text</h2> | ||
+ | </div> | ||
+ | <button type="button" onclick="loadXMLDoc('test1.txt')">Click Me</button> | ||
+ | |||
+ | <button type="button" onclick="loadXMLDoc('test2.txt')">Click Me</button> | ||
+ | |||
+ | </body> | ||
+ | </html> | ||
{{SearchTest | {{SearchTest | ||
Line 17: | Line 42: | ||
{{ #ask: [[Category:Dive Site]] [[Category:Florida]] [[site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]] | ? site_gpscoord | format=googlemaps | height=600 | width=800 | type=hybrid | limit=20 }} | {{ #ask: [[Category:Dive Site]] [[Category:Florida]] [[site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]] | ? site_gpscoord | format=googlemaps | height=600 | width=800 | type=hybrid | limit=20 }} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Revision as of 01:09, 30 January 2010
Click to let AJAX change this text
Water Type: | Fresh Water |
---|---|
Region: | Florida |
Skill Level: |
Double click on the map to zoom in to a specific region.
Click on the indicator for a link to the Dive Site page.
This is the "SearchTest" template.
Testing ?searchregion