Your Time:
Our Time:
← Back to discussions

✓ custom js function per page

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket
Resolved
Posted in: MusicPlay

This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by Fem.

  • 2016-09-09 at 3:44 am
    Support Expired
    #16466
    alain100
    Participant
    • Topics: 1
    • Replies: 0
    • Total posts: 1
    • Post count: 0

    I installed the Master Slider and I was told by there technical support to add this script.

    “Please try to load the following js code to each load of pages that contains Master Slider (e.g. contents.php)”

    <script>jQuery.each(MSReady, function(index, fn) { fn(jQuery)});</script>

    My Master Slider is on the homepage. Where can I put this script so that the slider load when I go back to homepage after navigation to another page. Some theme with Visual Composer let you put custom js in a page, for exemple.

    Any idea where I could put this code so it dos not reload the hole page

    Thanks

    2016-09-09 at 3:14 pm
    #16469
    Fem
    Keymaster
    • Topics: 2
    • Replies: 8473
    • Total posts: 8475
    • Post count: 6003

    It’s a third party plugin. We won’t recommend to use that plugin in the theme as the theme doesn’t support this functionality.
    Note: Using the theme ajaxified option will not give compatibility for some plugins. we would recommend to use non ajaxified option to make work with third party plugins. You can enable or disable the ajaxified option from theme options panel.

    If you want to use the above code, you can put that in ajaxify.js file.

    2016-10-17 at 4:35 pm
    #17159
    Fem
    Keymaster
    • Topics: 2
    • Replies: 8473
    • Total posts: 8475
    • Post count: 6003

    We are setting this topic to be resolved. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.