Title: Custom jQuery Afterload Function
Last modified: August 31, 2016

---

# Custom jQuery Afterload Function

 *  Resolved [sharpe89](https://wordpress.org/support/users/sharpe89/)
 * (@sharpe89)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-jquery-afterload-function/)
 * Hi there
 * Many thanks for a great plugin. It’s working so well on my client’s website.
 * I have one request that might be very easy to implement but I just need someone
   with a bit of JS experience.
 * I have this function for a custom scrollbar to be used for the list of salons
   [http://www.insanitytan.com/salon-locator/](http://www.insanitytan.com/salon-locator/):
 *     ```
       $(window).load(function(){
       $("#wpsl-stores").mCustomScrollbar({
       scrollInertia:400,
       theme:"dark-thick",
       });
       });
       ```
   
 * I’m assuming there is a function within WP Store Locator to allow me to call 
   this function after results have loaded. However i can’t seem to figure it out.
 * Your help is much appreciated.
 * Thanks!
    Stephen
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [sharpe89](https://wordpress.org/support/users/sharpe89/)
 * (@sharpe89)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-jquery-afterload-function/#post-6912127)
 * No worries.
 * I fixed my own problem. No Stylesheet was included for the customscrollbar to
   show it’s styling. 😛

Viewing 1 replies (of 1 total)

The topic ‘Custom jQuery Afterload Function’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [sharpe89](https://wordpress.org/support/users/sharpe89/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/custom-jquery-afterload-function/#post-6912127)
 * Status: resolved