CEF4Delphi/bin/test.html

33 lines
982 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html><head><script type="text/javascript" src="/test.js" charset="utf-8"></script></head>
<body>
<p> <img src='emoji.png'><br>Local image</p>
<p> <img src='dontexist.png'><br>Non existing local image</p>
<p><img src='http://www.briskbard.com/images/logo2.png'><br>Remote image</p>
<p><button onclick="myAlertFunction()">Show Alert box</button></p>
<p><button onclick="sendCustomReq()">Send request</button></p>
<p><img src='jupiter.png'><br>Bigger image</p>
<p>This is the Google Maps example.</br>Edit this HTML file to insert your Google Maps API key.</p>
<div id="googleMap" style="width:800px;height:400px;"></div>
<script>
function myMap() {
var mapProp= {
center:new google.maps.LatLng(41.656264,-0.8790698),
zoom:15,
};
var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_MAPS_API_KEY&callback=myMap"></script>
</body>
</html>