CEF4Delphi/bin/test.html
Salvador Díaz Fau 701406f0e8 Update to CEF 92.0.26
Added the SchemeRegistrationBrowser_subprocess demo for Lazarus in Windows
Added a Google Maps example in the test.html file used by all the SchemeRegistrationBrowser demos.
Removed obsolete Flash file.
2021-08-18 15:55:54 +02:00

33 lines
982 B
HTML

<!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>