. * For any other query please contact us at contact[at]eleopard[dot]in */ include_once 'assets/helper/Mobile_Detect.php'; include_once 'eds_tinymce.php'; function detectDevice() { static $deviceType = null; if(!$deviceType) { $detect = new Mobile_Detect; $deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer'); } return $deviceType; } function set_edsanimate_options(){ add_option('scroll_offset' ,'75' ,'Percentage height of the element '. 'after which animation should get applied' ); add_option('enable_on_phone' ,'0' ,'Animation should work on smartphones or not.'); add_option('enable_on_tab' ,'1' ,'Animation should work on tablets or not.'); } function unset_edsanimate_options(){ delete_option('scroll_offset'); delete_option('enable_on_phone'); delete_option('enable_on_tab'); } function admin_edsanimate_options(){ ?>
Options saved.
Failed to save options.