-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbot.html
31 lines (24 loc) · 892 Bytes
/
bot.html
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
<!DOCTYPE html>
<html>
<head>
<title>SharePoint Assistant</title>
<meta charset="utf-8" />
</head>
<script>
ImageSwitch=new Array();
ImageSwitch[0]='https://x.sharepoint.com/SiteAssets/bot1.png';
ImageSwitch[1]='https://x.sharepoint.com/SiteAssets/bot2.png';
ImageSwitch[2]='https://x.sharepoint.com/SiteAssets/bot3.png';
ImageSwitch[3]='https://x.sharepoint.com/SiteAssets/bot4.png';
function swapImage()
{
document.getElementById("botImage").setAttribute("src", ImageSwitch[Math.round(Math.random()*3)])
}
</script>
<body style="font-family:'Segoe UI'">
<img style="height: 64px; width: 64px;" src="https://x.sharepoint.com/SiteAssets/bot.png" alt="Cool Bot"/>
<h1>SharePoint Assistant</h1>
<p>I do things.</p>
<iframe style="height: 300px;" src='https://webchat.botframework.com/embed'></iframe>
</body>
</html>