2017-04-18 11:02:25 -05:00
|
|
|
<html>
|
|
|
|
<head>
|
2018-03-15 06:48:06 -05:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Test pop-out window</title>
|
2017-04-18 11:02:25 -05:00
|
|
|
</head>
|
|
|
|
Test Window has been opened
|
2017-07-25 03:57:57 -05:00
|
|
|
<p>
|
|
|
|
<label for='tag'>tag:</label>
|
|
|
|
<input type='text' id='tag' value=''/>
|
|
|
|
</p>
|
2017-08-01 01:49:59 -05:00
|
|
|
|
2018-03-15 06:48:06 -05:00
|
|
|
<button id="open-win">Open a new child window</button>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<button id="open-in-browser">Open Symphony in browser</button>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<a href="https://symphony.com" target="_blank">Open Symphony</a>
|
|
|
|
|
2017-08-01 01:49:59 -05:00
|
|
|
<hr>
|
|
|
|
<p>Badge Count:<p>
|
|
|
|
<button id='inc-badge'>increment badge count</button>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var badgeCount = 0;
|
|
|
|
|
|
|
|
var incBadgeEl = document.getElementById('inc-badge');
|
|
|
|
incBadgeEl.addEventListener('click', function() {
|
|
|
|
badgeCount++;
|
|
|
|
ssf.setBadgeCount(badgeCount);
|
|
|
|
});
|
2018-03-15 06:48:06 -05:00
|
|
|
|
|
|
|
var openWinButton = document.getElementById('open-win');
|
|
|
|
openWinButton.addEventListener('click', function() {
|
|
|
|
win = window.open('childWin.html?x=200&y=200', 'childWin', 'height=500,width=500');
|
|
|
|
});
|
|
|
|
|
|
|
|
var openInBrowser = document.getElementById('open-in-browser');
|
|
|
|
openInBrowser.addEventListener('click', function () {
|
|
|
|
window.open('https://symphony.com');
|
|
|
|
});
|
|
|
|
|
2017-08-01 01:49:59 -05:00
|
|
|
</script>
|
2017-04-18 11:02:25 -05:00
|
|
|
</html>
|