当前位置: 移动技术网 > IT编程>开发语言>Jquery > jQuery UI.Layout 参数

jQuery UI.Layout 参数

2018年09月24日  | 移动技术网IT编程  | 我要评论
applydefaultstyles: true,//应用默认样式  
    scrolltobookmarkonload:false,//页加载时滚动到标签  
    showoverflowonhover:false,//鼠标移过显示被隐藏的,只在禁用滚动条时用。  
    north__closable:false,//可以被关闭  
    north__resizable:false,//可以改变大小  
    north__size:50,//pane的大小  
    spacing_open:8,//边框的间隙  
    spacing_closed:60,//关闭时边框的间隙  
    resizertip:"可调整大小",//鼠标移到边框时,提示语  
    //resizercursor:"resize-p" 鼠标移上的指针样式  
    resizerdragopacity:0.9,//调整大小边框移动时的透明度  
    maskiframesonresize:"#ifa",//在改变大小的时候,标记iframe(未通过测试)  
    slidertip:"显示/隐藏侧边栏",//在某个pane隐藏后,当鼠标移到边框上显示的提示语。  
    slidercursor:"pointer",//在某个pane隐藏后,当鼠标移到边框上时的指针样式。  
    slidetrigger_open:"dblclick",//在某个pane隐藏后,鼠标触发其显示的事件。(click", "dblclick", "mouseover)  
    slidetrigger_close:"click",//在某个pane隐藏后,鼠标触发其关闭的事件。("click", "mouseout")  
    togglertip_open:"关闭",//pane打开时,当鼠标移动到边框上按钮上,显示的提示语  
    togglertip_closed:"打开",//pane关闭时,当鼠标移动到边框上按钮上,显示的提示语  
    togglerlength_open:100,//pane打开时,边框按钮的长度  
    togglerlength_closed:200,//pane关闭时,边框按钮的长度  
    hidetoggleronslide:true,//在边框上隐藏打开/关闭按钮(测试未通过)  
    toggleralign_open:"left",//pane打开时,边框按钮显示的位置  
    toggleralign_closed:"right",//pane关闭时,边框按钮显示的位置  
    togglercontent_open:"<div style='background:red'>aaa</div>",//pane打开时,边框按钮中需要显示的内容可以是符号"<"等。需要加入默认css样式.ui-layout-toggler .content   
    togglercontent_closed:"<img/>",//pane关闭时,同上。  
    enablecursorhotkey:true,//启用快捷键ctrl或shift + 上下左右。  
    customhotkeymodifier:"shift",//自定义快捷键控制键("ctrl", "shift", "ctrl+shift"),不能使用alt  
    south__customhotkey:"shift+0",//自定义快捷键(测试未通过)  
    fxname:"drop",//打开关闭的动画效果  
    fxspeed:"slow",//动画速度  
    //fxsettings: { duration: 500, easing: "bounceinout" }//自定义动画设置(未通过测试)  
    //initclosed:true,//初始时,所有pane关闭  
    //inithidden:true //初始时,所有pane隐藏  
    onresize :ons,//调整大小时调用的函数  
    onshow_start:start,  
    onshow_end:end  

    其他回调函数 
     
    显示时调用 
    onshow = "" 
    onshow_start = ""  
    onshow_end = ""  
    隐藏时调用 
    onhide = ""  
    onhide_start = ""  
    onhide_end = ""  
    打开时调用 
    onopen = ""  
    onopen_start = ""  
    onopen_end = ""  
    关闭时调用 
    onclose = ""  
    onclose_start = ""  
    onclose_end = ""  
    改变大小时调用 
    onresize = ""  
    onresize_start = ""  
    onresize_end = ""  

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网