jquery.ripples icon indicating copy to clipboard operation
jquery.ripples copied to clipboard

Correct syntax for changing images

Open Fever905 opened this issue 3 years ago • 1 comments

I'm trying to change the images and nothing seems to be happening. Is this the correct syntax? Is there something else i need to do?

$('body', 'main').ripples('set', 'imageURL', 'url ("./../back/forest.jpg")');

Tried with/without quotes, brackets, url before the brackets.. do i need to do anything else to update the image?

F/905

Fever905 avatar Aug 19 '21 15:08 Fever905

It's imageUrl, not imageURL, so try $('body', 'main').ripples('set', 'imageUrl', './../back/forest.jpg'); 😬

sirxemic avatar Aug 19 '21 22:08 sirxemic