• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Delete Fade In/Fade Out animation in the NewsFeed Module

Scheduled Pinned Locked Moved Custom CSS
11 Posts 2 Posters 389 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    victorjim @sdetweil
    last edited by Aug 27, 2024, 12:51 PM

    @sdetweil
    I changed the animationSpeed: value to 0, and it still does the Fade In/Fade Out animation.
    Nothing has changed. What I would like is to remove the animation and leave the text fixed.
    Thanks.

    S 1 Reply Last reply Aug 27, 2024, 12:57 PM Reply Quote 0
    • S Offline
      sdetweil @victorjim
      last edited by Aug 27, 2024, 12:57 PM

      @victorjim said in Delete Fade In/Fade Out animation in the NewsFeed Module:

      I changed the animationSpeed: value to 0, and it still does the Fade In/Fade Out animation.

      did you MOVE the animationSpeed:0, INSIDE the config:{} section of the module definition??

      otherwise the module will not see that setting

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      V 1 Reply Last reply Aug 27, 2024, 1:08 PM Reply Quote 0
      • V Offline
        victorjim @sdetweil
        last edited by Aug 27, 2024, 1:08 PM

        @sdetweil

        I don’t understand well, I have changed the variable animationSpeed: 0 in the config.js file inside the /MagicMirror/config/ folder

        Like this code:

        modules: [
        		
        		{
        			module: "newsfeed",
        			position: "top_bar",
        			reloadInterval: 60000,
        			animationSpeed: 0,  //  In this position
        			config: {
        				feeds: [
        				{
        					title: "Portada Periodico de Aragon",
        					url: "https://www.elperiodicodearagon.com/rss/section/23500"
        				}
        				],
        				showSourceTitle: true,
        				showPublishDate: true,
        				showDescription: true,
        				broadcastNewsFeeds: true,
        				broadcastNewsUpdates: true
        			}
        		},
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by sdetweil Aug 27, 2024, 1:26 PM Aug 27, 2024, 1:25 PM

          @sdetweil said in Delete Fade In/Fade Out animation in the NewsFeed Module:

          in a prior post I said

          those two properties are for the module, not MagicMirror, so they should be inside the config:{ section, here is the doc for module parameters for MagicMirror,

          so

          		{
          			module: "newsfeed",
          			position: "top_bar",
          // move These TWO parameters
          			reloadInterval: 60000,   
          			animationSpeed: 0,
          // INSIDE the config:{ section 
          
          			config: {
          				feeds: [
          				{
          					title: "Portada Periodico de Aragon",
          					url: "https://www.elperiodicodearagon.com/rss/section/23500"
          				}
          				],
          				showSourceTitle: true,
          				showPublishDate: true,
          				showDescription: true,
          				broadcastNewsFeeds: true,
          				broadcastNewsUpdates: true,
          // like this 
          		        	reloadInterval: 60000,   
          			        animationSpeed: 0
          			}
          		},
          

          module: …to config: { belong to MagicMirror, NOT the module
          config: {… } belong to the module

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          V 1 Reply Last reply Aug 27, 2024, 1:29 PM Reply Quote 0
          • V Offline
            victorjim @sdetweil
            last edited by Aug 27, 2024, 1:29 PM

            @sdetweil

            Ok
            Now I understand.
            The 2 variables must be set in the configuration of each news.
            Now it is corrected and works.
            Thank you very much.

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            2 / 2
            • First post
              11/11
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy