History: Post-it_Sticky_Note_Custom_Code

Preview of version: 3

{if $group eq 'Admins'}
<div id="postitnote" class="hidden" style="background: #ffc; margin: 2px 0 0 2px; padding: 5px 5px 10px; position: fixed; top: 250px; right: 10px; width: 180px; z-index: 2000; min-height: 240px"><img src="http://tiki.org/pics/icons/close.png" alt="Close" width="16" height="16" class="rbox-close" onclick="confirm('Are you sure you want to close this note and keep it hidden permanently on next page load? (If you ever want it back, you would need to delete the cookie named flip_class_postitnote in your browser settings.)') ? $(this).parent().fadeOut( function () {literal}{flip_class('postitnote','hidden','hidden')}{/literal} ) : false;" style="border: none" title="Close" />
<div class="rbox warning">
<div class="rbox-title"><img src="http://tiki.org/pics/icons/exclamation.png" alt="warning" width="16" height="16" style="border: none" title="warning" class="icon" />
<span>Hello World!</span>
</div>
<div class="rbox-data">
I'm an example of a Post-It like note! Feel free to drag me around! You can close me too but I'd like to stay visible longer! :)
</div>
</div>
</div>
{/if}

History

Information Version
Fri 14 of Oct, 2016 09:17 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 5
Mon 14 of Jul, 2014 10:01 GMT-0000 Xavier de Pedro updated icon path for Tik12+ sites 4
Wed 12 of Mar, 2014 12:18 GMT-0000 Xavier de Pedro post-it note shown to Admins only by default 3
Wed 12 of Mar, 2014 12:04 GMT-0000 Xavier de Pedro added the condition to display only to a certain users group (to Anonymous by default) 2
Wed 12 of Mar, 2014 10:59 GMT-0000 Xavier de Pedro copied from the corrspondingn doc page (thks luciash!) 1