|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/test/imgshow/ |
Upload File : |
/*!------------------------------------------------*
* Monochrome (www.monocr.com)
* Creater: Kim, Ki-hong (raindrop@monocr.com)
*-------------------------------------------------*/
;(function($){
var $el = {
GNB: $('#gnb'),
CONTAINER: $('#container'),
USER: $('#user'),
LANG: $('#lang'),
TOP: $('#top'),
LOGIN: $('#login'),
SIDE: $('#side')
};
var $ml = [
$('#news1'),
$('#news2'),
$('#news3'),
$('#news4')
];
/* init */
$.init($el);
$el['LANG'].initLang();
$el['GNB'].initGnb();
$el['USER'].initUser();
$el['TOP'].initTopButton();
$el['SIDE'].initSidebar();
$el['LOGIN'].initLoginBox();
$(window).scroll(function(){
$el['TOP'].initTopButton('scroll');
}).resize(function(){
$el['TOP'].initTopButton('resize');
$el['SIDE'].initSidebar('resize');
});
$('form',$el['USER']).bind('submit',function(){
$el['USER'].animate({top:-100},function(){
$el['USER'].html('<p><strong>源湲고솉</strong>(<span>true</span>)�� �섏쁺�⑸땲��! ^-^ <input type="button" name="logout" value="Logout" class="btn-logout" /></p>').animate({top:59},500,'easeOutBack',function(){ $(this).removeAttr('style') });
});
return false;
});
/* Social */
$.getSocialNetworkMessage();
/*$ml[0].animate({opacity:1},1300,function(){
$ml[3].css({opacity:1}).animate({left:510,top:0},300,function(){
$ml[1].css({left:510,top:0,opacity:1});
$ml[2].css({left:510,top:0,opacity:1}).delay(80).animate({top:310},220);
$ml[3].delay(80).animate({top:620},450);
});
});*/
//$('#container > #side').appendTo('body');
$.fn.maps = function(){
this.each(function(){
var $t = this;
var map;
function initialize() {
var defaultLatlng = new google.maps.LatLng(37.503425,127.034465);
var myOptions = {
zoom: 16,
center: defaultLatlng,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map($t, myOptions);
var marker = new google.maps.Marker({position: defaultLatlng, map: map});
}
google.maps.event.addDomListener(window, 'load', initialize);
});
return this;
};
$(document).ready(function(){
$('#board .img-slider').imgSlider({
height: 530
});
});
})(jQuery);