This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Tiny input box

#2413
Ernest MarcinkoErnest 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 MarcinkoErnest Marcinko. Reason: code fix