Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct syntax for changing images #78

Open
Fever905 opened this issue Aug 19, 2021 · 1 comment
Open

Correct syntax for changing images #78

Fever905 opened this issue Aug 19, 2021 · 1 comment

Comments

@Fever905
Copy link

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

@sirxemic
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants