Advertisement
Advertisement
| 03.29.2008 at 02:29PM PDT, ID: 23279938 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: |
<cfquery name="qtest" datasource="abpdb">
SELECT * from tblMain
<!--- WHERE key =4 --->
</cfquery>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>test3.cfm</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=xxx"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(35.59499, -82.55198), 12);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl(), new GControlPosition(G_ANCHOR_TOP_RIGHT), new GSize(250, 5));
map.enableScrollWheelZoom();
map.enableContinuousZoom();
<cfoutput query="qtest">
var point#key# = new GLatLng(#lat#,#long#);
var marker#key# = new GMarker(point#key#,name);
var infowindow1html#key# = "<b>#reporter# reported on #LSDateFormat(reporteddatetime, 'yyyy-mm-dd')#:</b><br />#initialdesc#";
map.addOverlay(marker#key#);
GEvent.addListener(marker#key#,"click",function(){
marker#key#.openInfoWindowHtml(infowindow1html#key#);
</cfoutput>
});
}
}
//]]>
</script>
</head>
<body style="font-family:Arial, Helvetica, sans-serif; font-size:12px" onload="load()" onunload="GUnload()">
<noscript><b>JavaScript must be enabled in order for you to use Google Maps.</b>
However, it seems JavaScript is either disabled or not supported by your browser.
To view Google Maps, enable JavaScript by changing your browser options, and then
try again.
</noscript>
<div id="map" style="width: 600px; height: 350px; border-width:1px; border-style:solid; border-color:black; margin-left:auto; margin-right:auto"></div>
<cfoutput query="qtest">
<p>#reporteddatetime#,<br />
#reporter#<br />
#lat#,#long#<br />
#initialdesc#<br />
Primary key number: #key#<br />
Current row number: #currentrow#.</p>
</cfoutput>
</body>
</html>
|