Reply To: Tiny input box

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

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