amcl - ROS Wiki

Alert box To enable the alert box uncomment the block below. Change the getItem and setItem calls to a new name. Then update the content below the button. Disabling alert box <div class="alert alert-info alert-dismissable" style="text-align: center;"> <script> jQuery(function( $ ){ state = localStorage.getItem('roswiki_osrf2014'); if (!state) { localStorage.setItem('roswiki_roscon2015cfp', 'open'); } state = localStorage.getItem('roswiki_roscon2015cfp'); if (state == 'closed') { $( '#topnav .alert' ).hide(); } $( '.close' ).click(function () { console.log('in .close.click'); localStorage.setItem('roswiki_osrf2014', 'closed'); $( '#topnav .alert' ).hide(); }); }); </script> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> The <a href="http://roscon.ros.org/2...

Linked on 2016-01-22 18:39:33 | Similar Links