September 11, 2014 at 10:18 am
#2413
Ernest Marcinko
Keymaster
Hi!
Very nice implementation of the search, I like your site design!
I think, in your case it would be better to trigger a resize method, when the user clicks on the search icon on the left side of the screen. The new code should look something like:
jQuery(document).ready(function($){ var scope = $; if (typeof aspjQuery != 'undefined') scope = aspjQuery; jQuery('#nks-tab-1').on('click', function(){ scope(window).resize(); }); });
I havent tested this snippet, I can only hope it works.
- This reply was modified 10 years ago by Ernest Marcinko. Reason: code fix