Industry Articles

March 4, 2017
Comfort and safety are considered to be some of the most important things in a commercial establishment, and all this is possible to attain this…

Read more

March 2, 2017
RAMSEY, N.J. — NJ Transit has no plans to close the Main Street train station despite pleas from the uncle of a man who died…

Read more

February 28, 2017
Getting around in New York City isn’t getting any cheaper, but it could be getting faster. That’s because toll gates will be replaced by automatic…

Read more

February 26, 2017
Last month, the automated gate industry implemented a new voluntary standard ostensibly designed to decrease the chances that individuals will become entrapped, injured or killed…

Read more

February 24, 2017
With the increasing need for automation in industrial and residential sectors automating gates has become one of the primarily concerns for end-users. Also increasing urbanization…

Read more

February 22, 2017
In our recent January 8th, 2017 issue, I wrote an article in which I discussed the Moving Ahead For Progress In The 21st Century Act…

Read more

// popup examples $( document ).on( "pagecreate", function() { // The window width and height are decreased by 30 to take the tolerance of 15 pixels at each side into account function scale( width, height, padding, border ) { var scrWidth = $( window ).width() - 30, scrHeight = $( window ).height() - 30, ifrPadding = 2 * padding, ifrBorder = 2 * border, ifrWidth = width + ifrPadding + ifrBorder, ifrHeight = height + ifrPadding + ifrBorder, h, w; if ( ifrWidth < scrWidth && ifrHeight < scrHeight ) { w = ifrWidth; h = ifrHeight; } else if ( ( ifrWidth / scrWidth ) > ( ifrHeight / scrHeight ) ) { w = scrWidth; h = ( scrWidth / ifrWidth ) * ifrHeight; } else { h = scrHeight; w = ( scrHeight / ifrHeight ) * ifrWidth; } return { 'width': w - ( ifrPadding + ifrBorder ), 'height': h - ( ifrPadding + ifrBorder ) }; }; $( ".ui-popup iframe" ) .attr( "width", 0 ) .attr( "height", "auto" ); $( "#popupVideo" ).on({ popupbeforeposition: function() { // call our custom function scale() to get the width and height var size = scale( 497, 298, 15, 1 ), w = size.width, h = size.height; $( "#popupVideo iframe" ) .attr( "width", w ) .attr( "height", h ); }, popupafterclose: function() { $( "#popupVideo iframe" ) .attr( "width", 0 ) .attr( "height", 0 ); } }); });