html - How to put JavaScript from tutorial into my website? -


i'm new javascript , i'm trying slideshow working in website. i'm following tutorial: http://www.queness.com/post/1450/jquery-photo-slide-show-with-slick-caption-tutorial-revisited

unfortunately doesn't go beginners level of detail how installed. know should html , css i'm not sure should putting javascript. go in separate file or something? how work?

also i'm trying within cakephp if there's specific cakey thing can that'd awesome!

copy javascript on referenced page. save new file slide.js or that.

edit html document include reference jquery libraby, , new javascript file you've created:

 <head>      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>      <script type="text/javascript" src="http://mysite.com/slide.js" /> 

Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -