﻿$(document).ready(function () {
    $.getSky(function () {
        $('#myWeather').julyingWather({ sky: getSky, imgPath: 'scripts/images/' });
    });
    $("#enlarge>ul>li").hover(function () {
        $(this).removeClass("small").addClass("big");
    }, function () { $(this).removeClass("big").addClass("small"); });
    $("#enlarge>ul>li>a>img").hover(function () { this.src = this.src.replace('small', 'big'); }, function () { this.src = this.src.replace('big', 'small') });
    //               $("#enlarge>li>a").hover(function () {
    //                   alert(1);
    //                   $(this).find("img").attr("src",
    //                        $(this).attr("src").replace("small", "big")
    //                   );
    //               },

    //                function () {
    //                    alert(2);
    //                    $(this).find("img").attr("src",
    //                        $(this).attr("src").replace("big", "small")
    //                   );
    //                });

  //  $.post("IsLocal.ashx", function (data) { if (data == "Ok") { $(".part2 span").append("| <a href=\"index.aspx\"><strong>单位入口</strong></a>"); } /*else { alert(data); }*/ });
});
