| Server IP : 5.129.245.98 / Your IP : 216.73.217.98 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/rehub-theme/js/ |
Upload File : |
//Proper align Full
var rh_resizealign = function(){
if(jQuery('.alignfulloutside .alignfull').length > 0){
jQuery('.alignfulloutside .alignfull').each(function() {
let rtltrue = (jQuery('body').hasClass('rtl')) ? true : false;
let parent = jQuery(this).parent();
let ancenstor = jQuery(window);
let w = ancenstor.width();
if(rtltrue){
let bl = - (jQuery(window).width() - (parent.offset().left + parent.outerWidth()));
if ( bl > 0 ) { right = 0; }
jQuery(this).css({'width': w,'margin-right': bl });
}else{
let bl = - ( parent.offset().left );
if ( bl > 0 ) { left = 0; }
jQuery(this).css({'width': w,'margin-left': bl });
}
});
}
};
rh_resizealign();
jQuery(window).on("resize", function(){
rh_resizealign();
});