/* * SimpleModal Basic Modal Dialog * http://simplemodal.com * * Copyright (c) 2013 Eric Martin - http://ericmmartin.com * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php */ jQuery(function ($) { // Load dialog on page load //$('#basic-modal-content').modal(); // Load dialog on click $('#basic-modal .basic').click(function (e) { $('#basic-modal-content').modal(); return false; }); }); ;(function($){ $.fn.d_latest=function(options){ var opt={ speed:300, //À̵¿¼Óµµ autoRollingTime:5000 //ÀÚµ¿·Ñ¸µ½Ã°£(¹Ð¸®ÃÊ) }; $.extend(opt,options); return this.each(function(){ var $this=$(this); var $mask=$this.find('.mask'); var $li=$mask.find('tr'); var len=$li.length; var speed=opt.speed; var autoRollingTime=opt.autoRollingTime; var arr=[]; var mOver=false; $this.bind('mouseenter',function(){ mOver=true; }).bind('mouseleave',function(){ mOver=false; }) for(var i=0;i