# booking/11.8.3/includes/__js/admin/settings/ui_elements.js

Booking Calendar, version 11.8.3. 16 lines.

- Page: https://pluginprobe.com/plugins/booking/11.8.3/code/includes/__js/admin/settings/ui_elements.js
- Raw: https://pluginprobe.com/plugins/booking/11.8.3/raw/includes/__js/admin/settings/ui_elements.js
- Modified: 2025-05-12T07:38:12+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/booking/11.8.3/code/includes/__js/admin/settings/ui_elements.js#L10-L20`.

```javascript

/**
 * Blink specific HTML element to set attention to this element.
 *
 * @param {string} element_to_blink		  - class or id of element: '.wpbc_widget_available_unavailable'
 * @param {int} how_many_times			  - 4
 * @param {int} how_long_to_blink		  - 350
 */
function wpbc_blink_element( element_to_blink, how_many_times = 4, how_long_to_blink = 350 ){

	for ( let i = 0; i < how_many_times; i++ ){
		jQuery( element_to_blink ).fadeOut( how_long_to_blink ).fadeIn( how_long_to_blink );
	}
    jQuery( element_to_blink ).animate( {opacity: 1}, 500 );
}

```
