I'm trying to use jquery on my weebly, site why it's not working ?
I went in weembly to the Design tab then clicked on : Edit Html/Css
Then i uploaded the files of the jquery advanced news ticker. Downloaded from this link:
Then in my weebly i went to the Build tab and dragged Embed Code to the right.
Then inside there i added this code:
- <ul class="newsticker">
- <li>Etiam imperdiet volutpat libero eu tristique.</li>
- <li>Curabitur porttitor ante eget hendrerit adipiscing.</li>
- <li>Praesent ornare nisl lorem, ut condimentum lectus gravida ut.</li>
- <li>Nunc ultrices tortor eu massa placerat posuere.</li>
- </ul>
- <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
- <script src="files/theme/jquery.newsTicker.js"></script>
- <script>
- $('.newsticker').newsTicker();
- </script>
All this didn't work. I should see the text scrolling up but nothing happen.
What am i missing here ?