Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Horizontal scrolling in tag view
#6
Your best bet is to visit the Git repo for moode and learn the locations of code files. There is a www/css subdirectory.
https://github.com/moode-player/moode

The WebUI layout and style is generally defined in html and css files but its updated dynamically by javascript files (www/js)

The swipe handler is in www/js/scripts-panels.js
Code:
       // Load swipe handler for top columns in library (mobile)
       if (UI.mobile && SESSION.json['library_show_genres'] == 'Yes') {
           $(function() {
               $("#top-columns").swipe({
                   swipeLeft:function(event, direction, distance, duration, fingerCount) {
                       $('#top-columns').animate({left: '-50%'}, 100);
                   }
                 });
               $("#top-columns").swipe({
                   swipeRight:function(event, direction, distance, duration, fingerCount) {
                       $('#top-columns').animate({left: '0%'}, 100);
                   }
               });
           });
       }

Beware though, the main Javascript files playerlib, scripts-panels, scripts-configs and scripts-library have never been refactored due to lack of project bandwidth and so they are not the easiest to follow :-0
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Horizontal scrolling in tag view - by MJR42 - 11-14-2024, 05:05 AM
RE: Horizontal scrolling in tag view - by MJR42 - 11-14-2024, 10:42 PM
RE: Horizontal scrolling in tag view - by MJR42 - 11-15-2024, 07:46 PM
RE: Horizontal scrolling in tag view - by Tim Curtis - 11-15-2024, 09:00 PM
RE: Horizontal scrolling in tag view - by MJR42 - 11-15-2024, 11:17 PM
RE: Horizontal scrolling in tag view - by MJR42 - 11-16-2024, 01:25 AM
RE: Horizontal scrolling in tag view - by MJR42 - 11-16-2024, 07:31 PM
RE: Horizontal scrolling in tag view - by MJR42 - 11-16-2024, 11:48 PM
RE: Horizontal scrolling in tag view - by MJR42 - 11-17-2024, 05:15 PM
RE: Horizontal scrolling in tag view - by MJR42 - 11-19-2024, 12:09 AM
RE: Horizontal scrolling in tag view - by MJR42 - 12-03-2024, 03:01 AM
RE: Horizontal scrolling in tag view - by Nutul - 12-03-2024, 05:03 PM
RE: Horizontal scrolling in tag view - by MJR42 - Yesterday, 12:35 AM

Forum Jump: