jquery.ripples
jquery.ripples copied to clipboard
Correct syntax for changing images
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
It's imageUrl
, not imageURL
, so try $('body', 'main').ripples('set', 'imageUrl', './../back/forest.jpg');
😬