Atitit 转移特效attilax总结
总结一般从按钮,转移到大点的方框上回比较好看点。。
<!--jq ui-->
<style type="text/css">
.ui-effects-transfer { border: 2px dotted gray; }
</style>
<link rel="stylesheet" type="text/css" href="../com.atilax.frmwk/jquery-ui-1.11.4.custom/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="../com.atilax.frmwk/jquery-ui-1.11.4.custom/jquery-ui.theme.css">
<script src="../com.atilax.frmwk/jquery-ui-1.11.4.custom/jquery-ui.js"></script>
<script>
function btn()
{
// Run the effect
var selectedEffect="highlight";var options={};
var callback=function(){};
$( "#button" ).effect( "transfer", { to: "#objid", className: "ui-effects-transfer" }, 500, callback );
$( "#button" ).effect( selectedEffect, options, 500, callback );
console.log("--log effed");
}
</script>