首页 > 问答列表 > 中行长城环球通**白金卡v**a好吗_长城环球通**v**a

中行长城环球通**白金卡v**a好吗_长城环球通**v**a

聴説

推荐回答:

scrollable提供的一系列获取scrollable对象的方法具体使用方式如下: 复制代码 代码如下:var scrollable=$("div.scrollable").scrollable(); //alert(scrollable.getconf().prev);//获取配置对象中的prev属性 scrollable.getconf().speed=200;//设置配置对象的speed属性 //alert(scrollable.getindex());//获取当前滚动项的索引 //alert(scrollable.getitems().length);//获取当前滚动项的数量 //alert(scrollable.getitemwrap().html());//获取包含滚动项的节点(class=scrollable),并将所有滚动项显示出来 //alert(scrollable.getpageamount());//获取当前滚动栏分页数 //alert(scrollable.getpageindex());//获取当前所在分页 //alert(scrollable.getroot().html());//获取滚动项的上一级节点(id=thumbs) //alert(scrollable.getsize()); //alert(scrollable.getv**ibleitems().length);//获取当前可见滚动项数量 scrollable.next();//如果有下一个滚动项,则跳转到下一个滚动项 scrollable.prev(3000,function(){return true});//跳转到前一滚动项 //var seekto= scrollable.click(0).seekto(2,1000,function(){ //alert(th**.getindex()); //}); //scrollable.move(2); //scrollable.prevpage();//跳转到前一页 //scrollable.nextpage();//跳转到下一页 //scrollable.setpage(1);//跳转到下一页 //scrollable.begin();//跳转到第一个滚动项 //scrollable.end();//跳转到最后一个滚动项 scrollable.click(3);//使第四个滚动项处于选中状态 scrollable.onbeforeseek(function(){ alert("you click the "+th**.getindex()+"st scrollable item!"); }); $("#remove").click(function(){ scrollable.getitems().filter(":last").remove();//删除最后一个滚动项 scrollable.reload().prev();//自动更新相关配置信息,并跳转到被删除滚动项的前一项 });以下是scrollable对象的方法说明描述: 方法名称 返回值 说明 getconf() object 返回scrollable的配置对象,并且可通过设置该对象的相关属性值来修改该配置对象的属性。 getindex() number 获取当前滚动项的索引号,0代表第一个元素,1代表第二个元素,以此类推。此外,需注意的是,如果获取到多个滚动项,那么将会只返回第一个滚动项的索引号。 getitems() jquery 返回所有的滚动项,结果以jquery对象的方式返回。 getitemwrap() jquery 获取滚动项的父节点,结果以jquery对象的方式返回。 getpageamount() number 获取当前滚动栏的分页数。 getpageindex() number 返回当前分页索引号。比如说,如果分页设置为5个滚动项/页,并且当前滚动项位置为7的话,那么将会返回1(第二页) getroot() jquery 获取滚动项的上一级节点。 getsize() number 返回滚动项的数量。该方法等同于getconf().size getv**ibleitems() jquery 获取一个由当前可见滚动项组成列表,该列表为一个jquery对象,可见滚动项的数量由配置对象的size属性定义。       reload() api scrollable支持动态添加和删除滚动项的功能。在动态添加或删除滚动项以后,调用此方法来自动更新分页导航以及滚动项移动的相关信息。 prev() api 跳转到该滚动项的前一项(如果该滚动项不是第一个滚动项) next() api 跳转到该滚动项的下一项(如果该滚动项不是最后一个滚动项) seekto(index) api 跳转到指定索引处的滚动项。 move(offset) api 将处于当前状态(激活)的滚动项位置由当前滚动项向前/后移动offset。offset为正,则滚动项向右/下移动,否则,向左/上移动。比如:move(2),则处于当前状态的滚动项的索引由i滚动项转移至i+2滚动项。 prevpage() api 跳转到前一页(如果该页不是第一页)。 nextpage() api 跳转到后一页(如果该页不是最后一页)。 setpage(index) api 跳转到第index页。比如,index=2,那么会从当前页跳转到第3页。 movepage(offset) api 用于将显示页的位置由当前页切换到该页/后offset页,该方法其他解释类似于(offset)。 begin() api 跳转到第一个滚动项,相当于seekto(0)。 end() api 跳转到最后一个滚动项。 click(index) api 使第index个滚动项处于选中(激活)状态。       onbeforeseek(fn) api 参见配置对象的onbeforeseek相关说明 onseek(fn) api 参见配置对象的onseek相关说明注意:上面方法表中prev()方法以下的方法除了表中携带的参数外,还包含两个隐含参数:speed和callback。其中speed参数是用于控制滚动项的动画效果持续时间的,而callback为其回调方法。具体实现可参见scrollable的prev()方法使用示例。 最后,给出本scrollable系列的完整示例代码: 复制代码 代码如下:<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <script src="http://***.org/1.0.2/jquery.tools.min.js"></script> <script src="http://static.flowplayer.org/js/jquery.mousewheel.js" ></script> <link rel="stylesheet" type="text/css" href="http://static.flowplayer.org/tools/css/scrollable-n**ig.css" /> <style><!-- div.scrollable { position:relative; overflow:hidden; width: 646px; height:300px; } #thumbs { position:absolute; width:20000em; clear:both; border:1px solid #222; } a.prev, a.next { margin-top:118px; } #thumbs div { float:left; width:214px; height:300px; background:#333 url(/upload/20090906120115441.png) repeat-x 0 146px; color:#fff; border-left:1px solid #333; cursor:pointer; } #thumbs div.hover { background-color:#444; } #thumbs div.active { background-color:#066; cursor:default; } #thumbs h3, #thumbs p, #thumbs span { margin:1**x; font-family:"bitstream vera sans"; font-size:1**x; color:#fff; } #thumbs h3 em { font-style:normal; color:yellow; } --></style><style>div.scrollable { position:relative; overflow:hidden; width: 646px; height:300px; } #thumbs { position:absolute; width:20000em; clear:both; border:1px solid #222; } a.prev, a.next { margin-top:118px; } #thumbs div { float:left; width:214px; height:300px; background:#333 url(/upload/20090906120115441.png) repeat-x 0 146px; color:#fff; border-left:1px solid #333; cursor:pointer; } #thumbs div.hover { background-color:#444; } #thumbs div.active { background-color:#066; cursor:default; } #thumbs h3, #thumbs p, #thumbs span { margin:1**x; font-family:"bitstream vera sans"; font-size:1**x; color:#fff; } #thumbs h3 em { font-style:normal; color:yellow; }</style> <!-- n**igator --> <div class="n**i"></div> <!-- prev link --> <a class="prev"></a> <!-- root element for scrollable --> <div class="scrollable"> <div id="thumbs"> <div> <img src="http://files.**51.net/upload/20090906120116994.jpg" /> <h3><em>1. </em>an example title</h3> <p> lorem ipsum dolor sit amet, consectetur adip**cing elit. proin et fel** eget tellus pharetra port**. praesent dui arcu, egestas qu**, adip**cing a. </p> <span class="blue">60 sec</span> </div> <div> <img src="http://files.**51.net/upload/20090906120117587.jpg" /> <h3><em>2. </em>an example title</h3> <p> lorem ipsum dolor sit amet, consectetur adip**cing elit. proin et fel** eget tellus pharetra port**. praesent dui arcu, egestas qu**, adip**cing a. </p> <span class="blue">80 sec</span> </div> <div> <img src="http://files.**51.net/upload/20090906120117884.jpg" /> <h3><em>3. </em>an example title</h3> <p> lorem ipsum dolor sit amet, consectetur adip**cing elit. proin et fel** eget tellus pharetra port**. praesent dui arcu, egestas qu**, adip**cing a. </p> <span class="blue">100 sec</span> </div> <div> <img src="http://files.**51.net/upload/20090906120117490.jpg" /> <h3><em>4. </em>an example title</h3> <p> lorem ipsum dolor sit amet, consectetur adip**cing elit. proin et fel** eget tellus pharetra port**. praesent dui arcu, egestas qu**, adip**cing a. </p> <span class="blue">120 sec</span> </div> <div> <img src="http://files.**51.net/upload/20090906120118968.jpg" /> <h3><em>5. </em>an example title</h3> <p> lorem ipsum dolor sit amet, consectetur adip**cing elit. proin et fel** eget tellus pharetra port**. praesent dui arcu, egestas qu**, adip**cing a. </p> <span class="blue">140 sec</span> </div> </div> </div> <!-- next link --> <a class="next"></a> <!-- let rest of the page float normally --> <br clear="all" /> <div> <input type="button" value="remove" id="remove"/> </div> <script type="text/j**ascript"><!-- $(function() { $("div.scrollable").scrollable({ size: 3, vertical:false, //clickable:false, loop:true,//设置是否自动跳转(根据间隔时间) //interval: 1000,//设置间歇时间间隔 //speed:2000, items:

相关问题
    • 2024-09-21 14:20:39
    • 提问者: 未知
    通俗的说,前者是普卡,后者是vip卡基本功能相同就是额度审批上,vip卡更严格,给的额度更高消费返积分上,白金卡总有活动1元积2分
    • 2024-09-21 01:51:45
    • 提问者: 未知
    年费什么的都不所谓的,因为**的年费都可以靠消费给免掉的,一般是使用5次免次年年费,话说,你真的是3600吗?一般环球通**金卡也就80,最多100年费的,难道你是白金卡?...
    • 2024-09-21 01:51:45
    • 提问者: 未知
    长城环球通emv**资费标准:1、年费:普卡100元每年每卡,金卡/钛金卡360元每年每卡;2、滞纳金:按照最低还款额未还部分的5%收取;3、取现费:国内取现,本行本地免费;...
    • 2024-09-21 01:51:45
    • 提问者: 未知
    **银行世界卡为万事达卡组织合作发行的**,长城环球通系列卡拥有多家卡组织不同等级的**产品,**模式与年费金额不完全一致,建议您致电**进一步查询。
    • 2024-09-21 01:51:45
    • 提问者: 未知
    长城环球通系列**申请容易吗?今天小编就为您介绍一下长城环球通系列**申请条件。长城环球通**是**银行全新推出的一款**产品,该卡秉承**银行一贯为...
    • 2024-09-21 01:51:45
    • 提问者: 未知
    **银根据您在**交的财力证明及综合资况确定符合办卡条件及信度,最终还请以实际的审批结果为准。
    • 2024-09-21 01:51:45
    • 提问者: 未知
    **银行**年费收取标准:(1)中银/长城环球通系列产品:个人卡:普卡:最高人民币100元/卡;主题卡:最高人民币280元/卡;金卡/钛金卡:最高人民币300元/卡;(2)白金卡:最高人民币800...
    • 2024-09-21 01:51:45
    • 提问者: 未知
    **银行长城环球通** 长城环球通**是**银行全国发行,为客户全新推出的一款**产品,秉承**银行一贯为客户...**银行长城环球通**,环球精彩 一卡尽享!...
    • 2024-09-21 01:51:45
    • 提问者: 未知
    白金卡,主要是2个方面看的,第一是额度,超过5万的,第二是附属优惠,如:机场贵宾通道,一年免费体检等等
    • 2024-09-21 01:51:45
    • 提问者: 未知
    你好,**银行长城环球通白金**额度最低5万元, 白金卡额度是5万-20万元。中行的也有些**严格上来说,是属于准贷记卡,有些额度是0的都有。

广告合作商务QQ: 6391-670-971

2023年最新贷款计算器,采用2023年最新房贷基准利率,房贷利率表,提供贷款、商业贷款、公积金买房、个人按揭月供购房等银行房贷利率计算公式在线使用,2023年最好用的房贷计算器,房贷利息计算专家。