I have this in the <head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
And this for some fadein/fadeout of text taken from my question
<script>
var $ticker = $('#ticker'); // save the static element
$ticker.children(':not(:first-child)').hide();
function tick(){
$ticker.children(':first-child').fadeOut(1000, function () {
$(this).appendTo($ticker);
$ticker.children().first().fadeIn(1000);
});
}
setInterval(tick, 6000);
</script>
And than I use this slimbox
My question(s)!
Why do I need to refer to that online link for jquery 1.6.4 on google code? Can I download the jquery.js file and the latest one (i think version 1.8.1) and than refer to it as
<script src="scripts/jquery.min.js"></script>
The slimbox says in the Setup to "1. Include the script in the header of your page, after the inclusion of the jQuery library:" but I am not doing that but still my lightbox works. Is it because I am already reffering to it once and don't need to do it again?
<script type="text/javascript" src="js/jquery.js"></script>
Should I be using to the latest jQuery and If I do so, will both (the ticker & the slimbox) work?
As per my question, I should not use two jquery versions.