Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: issue with sticky content

Mousa pro asked 7 years ago


Hi guys,

I bought MDB with jquery

how I can change the background color while I scrolling down only. and return to original color again when I back to top, with sticky content

I viewed this tutorial: https://mdbootstrap.com/previews/docs/latest/html/sticky-content/sticky-content.html  but I can't get the resolve


Bartłomiej Malanowski staff commented 7 years ago

Did you mean something like this? https://jsfiddle.net/mattonit/gwpqjou3/

Mousa pro commented 7 years ago

Thanks, Dear Bartłomiej, but this is not I mean exactly, I did some work on personal project this link: http://masa.technology/maknoon/ I want to control on the main nav-bar when I scrolling down like change background, Control on inside elements "ul/li/a ..", Also I want to use some CSS3 Transitions I used here sticky content

Mousa pro commented 7 years ago

I resolved my issue, I knew how I can add a class to sticky after scroll, I did this, then I controlled on everything.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags