$(function() { $('ul.nav a').bind('click',function(event){ var $anchor = $(this); $('html, body').stop().animate({ scrollTop: $($anchor.attr('href')).offset().top-80 }, 1500,'easeInOutExpo'); /* if you don't want to use the easing effects: $('html, body').stop().animate({ scrollTop: $($anchor.attr('href')).offset().top }, 1000); */ event.preventDefault(); }); $('#tabs').tabs('#tabsText > li', {effect: 'slide', fadeOutSpeed: 100}); $('.cities').click(function(){ $(".cities").removeClass("selected"); if($(this).attr("rel")!="online") $(this).parent().parent().find("h6:eq(1)").find("a").addClass("selected"); $(this).addClass("selected"); $("."+$(this).attr("rel")).addClass("selected"); $(".city_list").hide(); $("#"+$(this).attr("rel")).show(); return false; }); $('#tabs a').click(function(){ if (!$(this).parent().hasClass("active")){ $('#tabs li').removeClass("active"); $(this).parent().addClass("active"); } }); /* var clusterStyles = [ { opt_textColor: 'white', url: '/img/group.png', height: 50, width: 42 }, { opt_textColor: 'white', url: '/img/group.png', height: 50, width: 42 }, { opt_textColor: 'white', url: '/img/group.png', height: 50, width: 42 } ]; */
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/libs/ISql.php:45 Stack trace: #0 /var/www/html/libs/pilotlibsini.php(27): ISql::construct() #1 /var/www/html/js/nutbutter_g2sf3g.php(64): __autoload('ISql') #2 {main} thrown in /var/www/html/libs/ISql.php on line 45