Title: Trigger with Javascript
Last modified: August 31, 2016

---

# Trigger with Javascript

 *  Resolved [gtabor](https://wordpress.org/support/users/gtabor/)
 * (@gtabor)
 * [10 years ago](https://wordpress.org/support/topic/trigger-with-javascript/)
 * Hey, I’m trying to make a simple portfolio grid where you click on the album 
   art, and the player on the top of the page changes to play the selected song.
 * Would it be possible that I could remove the default buttons and make my own 
   play button with a JavaScript function?
 * Thank you!
    Giovanni
 * [https://wordpress.org/plugins/wavesurfer-wp/](https://wordpress.org/plugins/wavesurfer-wp/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [10 years ago](https://wordpress.org/support/topic/trigger-with-javascript/#post-7388880)
 * Sure ! But you will have to mod the plugin for that.
 * Take a look at the wavesurfer-wp.js inside the js folder for javascript initialization.
 * You can then mod the whole plugin, or create your own.
 * Good luck !

Viewing 1 replies (of 1 total)

The topic ‘Trigger with Javascript’ is closed to new replies.

 * ![](https://ps.w.org/wavesurfer-wp/assets/icon-128x128.png?rev=1295137)
 * [WaveSurfer-WP](https://wordpress.org/plugins/wavesurfer-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wavesurfer-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wavesurfer-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/wavesurfer-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wavesurfer-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wavesurfer-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [X-Raym](https://wordpress.org/support/users/x-raym/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/trigger-with-javascript/#post-7388880)
 * Status: resolved