Apologise if I sound such a noob.
I have a script which I'd like to add. However, I'm not sure whether ST2 has jquery installed already. I followed this video: http://www.youtube.com/watch?v=Tjz7zVp_U8o which basically told me to get the JQ package from a github page then add it to my package folder.
Now – if that's right; how do I add it to an HTML document?
- Code: Select all
// The social div
$homeDiv = $('.home');
//Get scroll position of window
var windowScroll = $(this).scrollTop();
'opacity' : 1 - windowScroll / 570,
'background-position-y' : -windowScroll / 10
Do I need to add something in between my <head>?
Thanks in advance,