Edit yjscroll class
Hi,
I would like to personalize ijscroll class but I do not find the css file to edit. I searched in many files but i did not find it. My goal is to insert a value like data-before. Any suggestion? Thanks Are you sure your are posting in product assigned forum?: Yes What is your CMS version?: Joomla 3.x MySQL Version: 5.x PHP version: 5.x Link to installation: local Have you edited any files? If yes tell us which ones.: Yes Is this personal or client website?: Personal |
Hello michy80.
Here you can check the cod about the yjscroll. https://yjsimplegrid.com/add-ons/smooth-scroll.html There you can see how to add data-before or after. |
Hi Arefund,
thanks for your replay. So, I have to insert the "data-before" parameter in each html page in which I use yjscroll? Is there no method to apply one "data-before" (es. data-before= 100) parameter for all pages in which I use yjscroll? Thank you |
Right now there is no option to set one data-before for each page, but if you are using the same grid with same html it should work on all pages.
|
Thank you for your answer.
Another question, always about yscroll & data-before: i have a menu item that refers to an anchor (#login) that is present in each page of my site. Is there a way to set "data-before" parameter also for a menu item? I tried by inspecting page with Chrome and it works fine, but i do not know how to apply the rule in Joomla or YJSG Framework. Any suggestion? Thanks |
You can try to use js to add the data-before attribute to the menu link.
http://api.jquery.com/attr/ |
| All times are GMT -4. The time now is 04:58 PM. |
Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.