Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Popup

$
0
0

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">&#160;</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?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>