CKW_242 Posted April 3, 2023 Share Posted April 3, 2023 Site: https://elevatesportsventures.com/csandbox I applied a code on site to maek hero carousel autoscroll but I think it may have affected the button placement. The button is now very low on the carousel. Is there an alternative way for me to have the auto scroll without it affecting the button placemet? Here is the code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $( ( ) => { /* auto click user items list arrow right Version : 0.1d0 SS Version : 7.1 Dependancies : jQuery Note : this effect is not active in SS Preview to test it use private browsing < https://bit.ly/3f6lhq2 >. By : Thomas Creedon < http://www.tomsWeb.consulting/ > */ const clickIntervalSeconds = 6; const dataSectionIds = [ /* to limit the effect to certain page sections, enter data section ids for each page section. the format of each line is a data section id following is an example line. copy the example line below and paste after the example line. remove '// ' at beginning of pasted line. repeat for as many data sections ids as needed */ // '[enter data section id here between single quotes]', ]; // do not change anything below, there be the borg here if ( window.frameElement !== null ) return; // bail if in Preview let selector = [ Link to comment
CKW_242 Posted April 3, 2023 Author Share Posted April 3, 2023 Nevermind I figured out what I did wrong! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment