alexboev

Untitled

Apr 19th, 2013
404
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.     //ExecuteOrDelayUntilScriptLoaded(CreateCallOutPopup, "callout.js");
  3.     _spBodyOnLoadFunctionNames.push("CreateCallOutPopup"); // use the '_spBodyOnLoadFunctionNames' instead
  4.    
  5.     function CreateCallOutPopup()
  6.     {
  7.         var targetElement = document.getElementById('LaunchCallout');
  8.         var calloutOptions = new CalloutOptions();
  9.         calloutOptions.ID = 'notificationcallout';
  10.         calloutOptions.launchPoint = targetElement;
  11.         calloutOptions.beakOrientation = 'leftRight';
  12.         calloutOptions.content = 'content';
  13.         calloutOptions.title = 'title';
  14.         var displayedPopup = CalloutManager.createNew(calloutOptions);
  15.     }
  16. </script>
  17. <div id="LaunchCallout" style="width: 150px;">LaunchCallout</div>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×