jQuery Selectors for Template

If you are a Developer, maybe this can help you to customize your script

jQuery Selectors Class:

  • $(“..btn-clear-playlist”): Clear Playlist
  • $(“..btn-music-folder.”): Load my music folder
  • $(“..btn-add-music-folder”): Open modal for save current playlist into a new folder
  • $(“.btn-activity-page”): Load activity page
  • $(“..btn-login”): Show login modal dialog
  • $(“..btn-register”): Show register modal dialog
  • $(“..btn-share-dialog”): SHow dialog for share item
    • data-artist: Artist Name
    • data-track: Track Name
    • data-cover: Cover
  • $(“.btn-top-artist”):¬†Load top artist page
  • $(“.btn-stations”): Load station page
  • $(“.btn-artist-info”): Load artist info
    • data-artist: Artist Name
  • $(“.btn-search-box”): Load search box page
  • $(“..btn-start-radio”): Start radio
    • data-artist: Artist Name
    • data-track: Track Name
    • data-cover: Cover
  • $(“.btn-playlist-artist”): Load playlist from artist
    • data-artist: Artist Name
  • $(“.btn-play-playlist”): Load Playlist from database
    • data-id: ID Playlist
  • $(“.btn-profile”): Load page profile from user
    • data-user: Nickname user
  • $(“.btn-add-playlist”): Add track to playlist
    • data-artist: Artist Name
    • data-track: Track Name
    • data-cover: Cover
  • $(“.btn-lyric-info”): Load lyric from track
    • data-artist: Artist Name
    • data-track: Track Name

Example Usage:

<button class='SECTOR' data-track='' data-artist='' data-cover''></button>

jQuery Events

Trigger: load_video

$(document).on( "load_video", function(event,artist,track,cover,videoID){
 // Fired when load new video
 });

Trigger: next_song

$(document).on( "next_song", function(event,artist,track,cover){
 // Fired when load new song
 });

About The Author

Most Helpful User