Bring Lync Presence and status text in HTML pages
- Download the files.
- Load the fabric.min.css and fabric.components.min.css
- Load the lync.css
- Load lync.min.js
Use the following HTML markup to bring the Lync Presence.
<div class="lync-status" data-sip="sip_address" data-name="Name_of_the_User" data-title="title" data-image="image_url"></div>
<div class="facepile" data-sip="sip_address" data-name="Name_of_the_User" data-image="image_url"></div>
Initiate the lync presence in script lync.init();
You don't need to call the init() twice for lync status and face pile! The function will take care of that.
You can pass certain properties for
visible: number_of_faces_to_be_displayed_in_facepile,
moreFace: function_call_back_on_click_of_more
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT LICENSE