Reply To: Tiny input box

#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 4 years ago by  Ernest Marcinko. Reason: code fix
Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)