Hello.
I trying to create a popup tooltip. I use this code:
<script type="text/javascript">
function CreateCallOutPopup()
{
var targetElement = document.getElementById('NotificationDiv');
// configure options
var calloutOptions = new CalloutOptions();
calloutOptions.ID = 'notificationcallout';
calloutOptions.launchPoint = targetElement;
calloutOptions.beakOrientation = 'leftRight';
calloutOptions.content = 'content';
calloutOptions.title = 'title';
var callout = CalloutManager.createNew(calloutOptions);
}
ExecuteOrDelayUntilScriptLoaded(CreateCallOutPopup, "callout.js");</script><div id="NotificationDiv" style="width:50px;"><span id="ms-pageDescriptionImage"> </span> </div>I had added code in script editor web-part but it doesn't work. When mouse stay on icon nothing happened.
How i can resolve this problem?