July 23, 201115 yr Hello everyone, I just want to ask a quick question, I probably already know the answer but I just want my thoughts confirmed by those more experienced! I came across this gallery that I want to use on my portfolio website: http://coffeescripter.com/code/ad-gallery/ To add it to my site, do I just copy the css code into my current style sheet, the html into my own html and add the .js code onto my html file? There is a file called jquery.ad-gallery.pack.js too, do I add that to my html code too or should I be leaving them external? I know I'm probably being dumb but I just want to make sure I am doing the right thing instead of making a mess of my current code. THANKS!!
July 23, 201115 yr I would leave as much external as possible. I usually keep as much of my jquery stuff out of my own as possible. That way if I change my mind its easy. Also it can make for a really long stylesheet which is harder to navigate if you add other things afterward. Basically add and incorporate the HTML bit (using you own images etc. of course) and attach the rest externally. Looking at the source of the demo page is usually helpful.
Create an account or sign in to comment