Skip to content

Instantly share code, notes, and snippets.

@Znow
Created May 2, 2011 11:50
Show Gist options
  • Select an option

  • Save Znow/951495 to your computer and use it in GitHub Desktop.

Select an option

Save Znow/951495 to your computer and use it in GitHub Desktop.
(function ($) {
$(function () {
$('nav ul li a').mouseover(function () {
$(this).siblings('li ul').addClass('hover');
$(this).parent().hover(
function () {},
function () {
$(this).children('ul').removeClass('hover');
})
},
function () {
});
$(".slider").jCarouselLite({
auto: 1,
speed: 1800,
visible: 4,
btnNext: ".arrow_right",
btnPrev: ".arrow_left"
});
$(".news_ticker").jCarouselLite({
vertical: true,
auto: 500,
speed: 1800,
visible: 6
});
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment