September 30, 2016 at 2:23 pm
#10309
Ernest Marcinko
Keymaster
That’s actually a pretty clever solution. The side effect of moving a DOM node is that the events attached to it (resize namely) will no longer fire. However you can quickly fix that with this script:
[html]jQuery(function($) {
$(window).on(‘scroll resize’, function(){
$(‘#ajaxsearchprores1_1’).css(‘left’, $(‘#ajaxsearchpro1_1’).offset().left);
});
});[/html]