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

Uncaught ReferenceError: responsiveSlides is not defined #405

Open
efemenoserime opened this issue Dec 7, 2019 · 1 comment
Open

Uncaught ReferenceError: responsiveSlides is not defined #405

efemenoserime opened this issue Dec 7, 2019 · 1 comment

Comments

@efemenoserime
Copy link

I've been following the instructions in the docs to implement the responsive
slider. My head looks something like that:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<script
	src="/js/responsiveslides.js"
	type="text/javascript"
></script>
<script>
	$(function() {
		var rslides = document.getElementsByClassName('rslides')[0];

		rslides.responsiveSlides();
</script>

But when I check the developer tools it says:

Uncaught ReferenceError: responsiveSlides is not defined

Does anybody has an idea what is causing that or what I'm doing wrong?

Thanks in advance

@m-a-y-a-n-k
Copy link

Put this on Document Load or inside ( just before the end ) of body tag

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