You must understand, that if you need a quick “Ready2Go”-CODE, then you always can hire an EXPERT (professional developer/coder) to let you generate the code you are searching for. Every SERVICE has it’s price in the world.
I will do an exception this time, to not let you get totaly frustrated. ONLY this time!
$w.onReady(()=>{console.log("My page is ready!");
$w("#dynamicDataset").onReady(()=>{console.log("My Dataset is ready!");
let itemObj = $w("#dynamicDataset").getCurrentItem(); console.log("RESULTS: ", itemObj);
$w("#vectorImage3").onClick(()=>{console.log("Previous-Button clicked!");
$w("dynamicDataset").next()
.then((item)=> {console.log(item);
// $w("Document").background.src="place_here_the_url_link_of_your_background_pic";})
.catch((err)=> {console.log(err);});
});
$w("#vectorImage2").onClick(()=>{console.log("Next-Button clicked!")
$w("dynamicDataset").previous()
.then((item)=> {console.log(item);
// $w("Document").background.src="place_here_the_url_link_of_your_background_pic";})
.catch((err)=> {console.log(err);});
});
});
});
Show me a screenshot of all the given RESULTS in your CONSOLE, after a click onto one of your buttons.