Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Tiny input box › Reply To: Tiny input box
September 11, 2014 at 10:18 am
#2413
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 9 years, 7 months ago by Ernest Marcinko. Reason: code fix
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)