jQuery.noConflict()(function($){
$(document).ready(
function() {
$("html").niceScroll({scrollspeed:60});
}
);
});
jQuery.noConflict()(function($){
$("img").show().lazyload();
});
jQuery.noConflict()(function($){
$(window).load(function() {
$('#latest-slider').flexslider({
animation: "slide",
animationLoop: false,
itemWidth: 560,
itemMargin: 30
});
});
});
jQuery.noConflict()(function($){
$(window).scroll(function(){
if ($(this).scrollTop() > 100) {
$('#scrollup').fadeIn();
} else {
$('#scrollup').fadeOut();
}
});
$('#scrollup').click(function(){
$("html, body").animate({ scrollTop: 0 }, 600);
return false;
});
});
jQuery.noConflict()(function($){
$(document).ready(
$('.find-button').on('hover', function(event) {
/* Act on the event */
$('#s').show().animate({
'opacity': '1',
'right': '33px'
}, 800)
})
// $('.find-button').mouseover(function(event) {
// /* Act on the event */
// $('#s').hide().animate({
// 'opacity': '0',
// 'right': '-400%'
// }, 1500)
// });
);
});
jQuery.noConflict()(function($){
// Create the dropdown base
$("").appendTo("#menu-main-menu");
// Create default option "Go to..."
$("", {
"selected": "selected",
"value" : "",
"text" : "Please choose page"
}).appendTo("#menu-main-menu select");
//new dropdown menu
$("#menu-main-menu li a").each(function() {
var el = $(this);
var perfix = '';
switch(el.parents().length){
case(11):
perfix = '';
break;
case(13):
perfix = '-- ';
break;
default:
perfix = '';
break;
}
$("", {
"value" : el.attr("href"),
"text" : perfix + el.text()
}).appendTo("#menu-main-menu select");
$("#menu-main-menu select").change(function() {
window.location = $(this).find("option:selected").val();
});
});});