各种不同演示的图片滚动

各种不同演示的图片滚动

包括是否可以循环,设置默认显示位置等不同情形

各种不同演示的图片滚动

 

JavaScript Code
  1. <script>  
  2.     function example(id) {  
  3.       document.write(  
  4.         '<div class="example" id="' + id + '">' +  
  5.           '<div>' +  
  6.             '<ul>' +  
  7.               '<li><img src="images/1.jpg" width="160" height="160"></li>' +  
  8.               '<li><img src="images/2.jpg" width="160" height="160"></li>' +  
  9.               '<li><img src="images/3.jpg" width="160" height="160"></li>' +  
  10.               '<li><img src="images/4.jpg" width="160" height="160"></li>' +  
  11.               '<li><img src="images/5.jpg" width="160" height="160"></li>' +  
  12.               '<li><img src="images/6.jpg" width="160" height="160"></li>' +  
  13.               '<li><img src="images/7.jpg" width="160" height="160"></li>' +  
  14.               '<li><img src="images/8.jpg" width="160" height="160"></li>' +  
  15.               '<li><img src="images/9.jpg" width="160" height="160"></li>' +  
  16.               '<li><img src="images/10.jpg" width="160" height="160"></li>' +  
  17.               '<li><img src="images/11.jpg" width="160" height="160"></li>' +  
  18.               '<li><img src="images/12.jpg" width="160" height="160"></li>' +  
  19.               '<li><img src="images/13.jpg" width="160" height="160"></li>' +  
  20.               '<li><img src="images/14.jpg" width="160" height="160"></li>' +  
  21.             '</ul>' +  
  22.           '</div>' +  
  23.         '</div>'  
  24.       );  
  25.     }  
  26.   </script>  

 

XML/HTML Code
  1.   <h3>Defaults</h3>  
  2.   
  3.   <div class="demo">  
  4.     <p><code class="prettyprint">$('#default').microfiche();</code></p>  
  5.     <script>example('default')</script>  
  6.     <script>$('#default').microfiche()</script>  
  7.   </div>  
  8.   
  9.   <h3>Options</h3>  
  10.   
  11.   <div class="demo">  
  12.     <p><code class="prettyprint">$('#cyclic').microfiche({ cyclic: true });</code></p>  
  13.     <script>example('cyclic')</script>  
  14.     <script>$('#cyclic').microfiche({ cyclic: true })</script>  
  15.   </div>  
  16.   
  17.   <div class="demo">  
  18.     <p><code class="prettyprint">$('#buttons').microfiche({ buttons: false });</code></p>  
  19.     <script>example('buttons')</script>  
  20.     <script>$('#buttons').microfiche({ buttons: false })</script>  
  21.   </div>  
  22.   
  23.   <div class="demo">  
  24.     <p><code class="prettyprint">$('#bullets').microfiche({ bullets: false });</code></p>  
  25.     <script>example('bullets')</script>  
  26.     <script>$('#bullets').microfiche({ bullets: false })</script>  
  27.   </div>  
  28.   
  29.   <div class="demo">  
  30.     <p><code class="prettyprint">$('#keyboard').microfiche({ keyboard: true });</code></p>  
  31.     <script>example('keyboard')</script>  
  32.     <script>$('#keyboard').microfiche({ keyboard: true })</script>  
  33.   </div>  
  34.   
  35.   <div class="demo">  
  36.     <p><code class="prettyprint">$('#click').microfiche({ clickToAdvance: true });</code></p>  
  37.     <script>example('click')</script>  
  38.     <script>$('#click').microfiche({ clickToAdvance: true })</script>  
  39.   </div>  
  40.   
  41.   <h3>Commands</h3>  
  42.   <p>Commands are passed to the microfiche method as options, and may be passed at any point.<br>  
  43.   In this example, the <code class="prettyprint">slideByPages(1)</code> command is performed immediately  
  44.   after Microfiche has finished setting up.</p>  
  45.   
  46.   <div class="demo">  
  47.     <p><code class="prettyprint">$('#commands').microfiche({ slideByPages: 1 });</code></p>  
  48.     <script>example('commands')</script>  
  49.     <script>$('#commands').microfiche({ slideByPages: 1 })</script>  
  50.     <p>  
  51.       <button onClick="$('#commands').microfiche({ slideByPages: -1 }); return false;">Run →</button> <code class="prettyprint">$('#commands').microfiche({ slideByPages: -1 })</code><br>  
  52.       <button onClick="$('#commands').microfiche({ slideByPages: 1 }); return false;">Run →</button> <code class="prettyprint">$('#commands').microfiche({ slideByPages: 1 })</code><br>  
  53.       <button onClick="$('#commands').microfiche({ slideToPoint: 0 }); return false;">Run →</button> <code class="prettyprint">$('#commands').microfiche({ slideToPoint: 0 })</code><br>  
  54.       <button onClick="$('#commands').microfiche({ jumpToPoint: 0 }); return false;">Run →</button> <code class="prettyprint">$('#commands').microfiche({ jumpToPoint: 0 })</code><br>  
  55.       <button onClick="$('#commands').microfiche({ jumpToPage: 2 }); return false;">Run →</button> <code class="prettyprint">$('#commands').microfiche({ jumpToPage: 2 })</code>  
  56.     </p>  
  57.   </div>  
  58.   
  59.   <h3>Events</h3>  
  60.   <p>Microfiche emits the following events:</p>  
  61.   <ul>  
  62.     <li><code class="prettyprint">'microfiche:willMove'</code></li>  
  63.     <li><code class="prettyprint">'microfiche:didMove'</code></li>  
  64.   </ul>  
  65.   <p>You can listen for them in the usual way:</p>  
  66.   
  67.   <div class="demo">  
  68.     <p><pre class="prettyprint">  
  69. $('#events').microfiche().on('microfiche:willMove microfiche:didMove', function(event) {  
  70.   $('#events-console').html(event.type);  
  71. });  
  72. </pre></p>  
  73.     <script>example('events')</script>  
  74.     <script>  
  75.       $('#events').microfiche().on('microfiche:willMove microfiche:didMove', function(event) {  
  76.         $('#events-console').html(event.type);  
  77.       });  
  78.     </script>  
  79.     <p><strong>Event received:</strong> <code id="events-console">-</code></p>  
  80.   </div>  
  81.   
  82.   <h3>Talking to Microfiche Directly</h3>  
  83.   
  84.   <p>Microfiche has some useful methods that return values, and so cannot  
  85.   be used through the aforementioned jQuery style syntax. The microfiche  
  86.   object itself is available via jQuery’ <code>data</code> method.</p>  
  87.   
  88.   <p><code class="prettyprint">$('.my-element').data('microfiche');</code></p>  
  89.   
  90.   <h3>Methods</h3>  
  91.   
  92. <div class="demo">  
  93.   <p><pre class="prettyprint">  
  94. var m = $('#methods').microfiche().data('microfiche');  
  95. m.currentPageIndex() // returns 0-index of the current page  
  96. m.totalPageCount() // returns the number of pages as an integer  
  97. m.min() // returns the minimum (left-most) position  
  98. m.max() // returns the maximum (right-most) position  
  99.   </pre></p>  
  100.   <script>example('methods')</script>  
  101.   <script>  
  102.     var m = $('#methods').microfiche().data('microfiche');  
  103.     document.write('<pre class="prettyprint">' +  
  104.       'currentPageIndex: ' + m.currentPageIndex() + '<br>' +  
  105.       '  totalPageCount: ' + m.totalPageCount() + '<br>' +  
  106.       '             min: ' + m.min() + '<br>' +  
  107.       '             max: ' + m.max() +  
  108.     '</pre>');  
  109.   </script>  
  110. </div>  
  111.   
  112.   <h3>Autoplay</h3>  
  113.   
  114.   <p>To have Microfiche pause rotation when the user hovers over the  
  115.   carousel, set <code>autopause</code> to <code>true</code>.</p>  
  116.   
  117.   <div class="demo">  
  118.     <p><pre class="prettyprint">  
  119. $('#autoplay').microfiche({  
  120.   cyclic: true,  
  121.   autoplay: 3,  
  122.   autopause: true  
  123. });  
  124.     </pre></p>  
  125.     <script>example('autoplay')</script>  
  126.     <script>  
  127.       $('#autoplay').microfiche({ cyclic: true, autoplay: 3, autopause: true });  
  128.     </script>  
  129.   </div>  
  130.   
  131.   <script>prettyPrint()</script>  

 


原文地址: http://www.freejs.net/article_jquerytupiantexiao_175.html
内容概要:本文系统研究了构网型变流器的正负序阻抗解耦特性及其在弱电网环境下的稳定性表现,重点依托Matlab/Simulink仿真平台,构建了详细的阻抗数学模型,设计了解耦控制策略,并采用小信号扫频法进行频域辨识与稳定性验证。研究深入探讨了构网型变流器与传统跟网型逆变器在正负序阻抗特性上的本质差异,结合虚拟同步发电机(VSG)等先进控制技术,分析其在抑制宽频带振荡、削弱锁相环动态耦合等方面的优越性。文中不仅提供了完整的仿真模型与MATLAB代码实现,还整合了光伏、风电、储能、微电网等多类新能源系统的阻抗建模与稳定性分析资源,形成了一套面向新型电力系统稳定性的综合性技术资料体系,具有较强的科研复现与工程参考价值。; 适合人群:面向具备电力电子、电力系统自动化、新能源并网等专业背景的研究生、高校教师及工程技术人员,特别适用于从事阻抗建模、小干扰稳定性分析、宽频振荡机理研究以及撰写高水平学术论文的科研工作者。; 使用场景及目标:①掌握构网型变流器正负序阻抗建模与扫频辨识的仿真方法;②深入理解VSG等构网型控制在弱电网中提升稳定性的内在机理;③复现顶刊论文中的阻抗分析流程与稳定性判据应用;④利用提供的成熟模型与代码加速科研进程,支撑课题研究与学术成果产出。; 阅读建议:建议结合文中提供的Simulink模型与MATLAB代码,按照“理论建模—仿真搭建—扫频激励—频响提取—Nyquist判据分析”的完整流程进行实践操作,重点关注扫频信号的注入方式、频率范围设置及阻抗曲线的物理意义解读,并参考博士论文复现案例深化对复杂动态耦合问题的理解。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值