I have recently Created a sliding module for Joomla, and I have a JavaScript file with the following parameters :
scrollbar: true,
snapToChildren: true,
desktopClickDrag: true,
scrollbarMargin: '5px 40px 0 40px',
scrollbarBorderRadius: 0,
scrollbarHeight: '2px',
I just want to know how to make these values dynamic so that they can pull in the values from PHP, so that it can be adjusted in the back-end parameters in joomla.
Any Help appreciated.
Thanks 🙂
Try that in your php file :
and so on for every value you want to update dynamically.