Use the following example HTML code to place the ClickToCall
widget on a web page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Click To Call Widget</title>
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1,
maximum-scale=1, user-scalable=no"/>
<style type="text/css">
@import "<contextRoot>/ceadojo/dijit/themes/tundra/tundra.css";
@import "<contextRoot>/ceadojo/dojox/mobile/themes/iphone/iphone.css";
@import "<contextRoot>/ceadojo/cea/mobile/widget/ClickToCall/ClickToCall.css";
@import "<contextRoot>/ceadojo/cea/mobile/widget/CollaborationDialog/CollaborationDialog.css";
@import "<contextRoot>/ceadojo/cea/mobile/widget/iFrame/iFrame.css";
</style>
<script type="text/javascript" src="<contextRoot>/ceadojo/dojo/dojo.js"
djconfig="parseOnLoad: true, isDebug: false"></script>
<script type="text/javascript">
window.onload = function() {
setTimeout(function(){window.scrollTo(0, 1);}, 100);
}
</script>
</head>
<body class="tundra">
<div ceadojoType="cea.mobile.widget.ClickToCall" widgetNumber="sip:CSR@localhost" enableCollaboration="true"
canControlCollaboration="true" defaultCollaborationUri="<contextRoot>/cobrowseWelcome.html">
</body>
</html>