mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
20 lines
405 B
HTML
20 lines
405 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
|
|
<p>The following button opens google.com in a popup window.</p>
|
|
<button onclick="return popitup('https://www.google.com')">Click me</button>
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
<!--
|
|
function popitup(url) {
|
|
newwindow=window.open(url,'name','height=500,width=700');
|
|
if (window.focus) {newwindow.focus()}
|
|
return false;
|
|
}
|
|
|
|
// -->
|
|
</script>
|
|
|
|
</body>
|
|
</html> |