Hello. I am working on my personal website and am learning javascript (started yesterday) -
My computer is a Mac and I couldn't find on the Internet how to utilize javascript on Adobe Dreamweaver CS4. Specifically, I am trying to use a photo slideshow called Galleria. On PCs, they say to drop the .js file into one of Dreamweaver's folders.
These are the steps:
Galleria 1.2 is currently in beta. You try it yourself in it's simpler form by following these simple steps:
- Download Galleria (Nightly build)
- Unpack etc.
Include jquery and Galleria:
< script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">< /script>
< script src="galleria/src/galleria.js">< /script>
Load a theme:
< script>Galleria.loadTheme('galleria/themes/galleria.classic.js');< /script>
Add images:
< div class="images">< img src="me.jpg">< img src="you.jpg">
Fire upp Galleria:
< script>$('.images').galleria();< /script>
Is step 3 calling jQuery and Galleria for me so I don't need to put the .js file somewhere? Or do I need to upload the .js file to my website and then change this line to suit -
< script src="galleria/src/galleria.js">
Can someone enlighten me please?
Thanks.