# insert-php-code-snippet/trunk/js/notice.js

Insert PHP Code Snippet, version trunk. 31 lines.

- Page: https://pluginprobe.com/plugins/insert-php-code-snippet/trunk/code/js/notice.js
- Raw: https://pluginprobe.com/plugins/insert-php-code-snippet/trunk/raw/js/notice.js
- Modified: 2026-03-16T11:15:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/insert-php-code-snippet/trunk/code/js/notice.js#L10-L20`.

```javascript
	jQuery(document).ready(function() {
		jQuery('#xyz_ips_system_notice_area').animate({
			opacity : 'show',
			height : 'show'
		}, 500);

		jQuery(document).on(
			'click',
			'#xyz_ips_system_notice_area_dismiss',
			function () {
			jQuery('#xyz_ips_system_notice_area').animate({
				opacity : 'hide',
				height : 'hide'
			}, 500);
			}
		  );

		let ips_deactivateURL = '';
		jQuery(document).on('click', '.xyz-ips-deactivate-link', function(e) {
			e.preventDefault();
			ips_deactivateURL = jQuery(this).attr('href');
			jQuery('#xyz-ips-modal').fadeIn();
		});
		jQuery('#xyz-ips-proceed-deactivate').on('click', function() {
			window.location.href = ips_deactivateURL;
		});
		jQuery('#xyz-ips-cancel-deactivate').on('click', function() {
			jQuery('#xyz-ips-modal').fadeOut();
		});
	});

```
