一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

jQuery ScrollBar Plugin滚动条插件例子

时间:2014-04-12 编辑:简简单单 来源:一聚教程网

 现在简单总结一下,所需要的内容

第一步:引入必要的js,(jquery.rollbar.min.js ,jquery.js)

第二步:加入滚动层

 代码如下 复制代码

phantus' major work is the Arithmetica, of which only a portion has survived.[8] Fermat's conjecture of his Last Theorem was inspired while reading a new edition of the Arithmetica,[9] which was translated into Latin and published in 1621 by Claude Bachet.[10]
 


 


 Diophantine equations have been studied for thousands of years. For example, the solutions to the quadratic Diophantine equation x2 + y2 = z2 are given by the Pythagorean triples, originally solved by the Babylonians (c. 1800 BC).[11] Solutions to linear Diophantine equations, such as 26x + 65y = 13, may be found using the Euclidean algorithm (c. 5th century BC).[12] Many Diophantine equations have a form similar to the equation of Fermat's Last Theorem from the point of view of algebra, in that they have no cross terms mixing two letters, without sharing its particular properties. For example, it is known that there are inf
 


 


 


 In number theory, Fermat's Last Theorem states that no three positive integers a, b, and c can satisfy the equation an + bn = cn for any integer value of n greater than two.
 


 


 This theorem was first conjectured by Pierre de Fermat in 1637, famously in the margin of a copy of Arithmetica where he claimed he had a proof that was too large to fit in the margin. No successful proof was published until 1995 despite the efforts of countless mathematicians during the 358 intervening years. The unsolved problem stimulated the development of algebraic number theory in the 19th century and the proof of the modularity theorem in the 20th. It is among the most famous theorems in the history of mathematics and prior to its 1995 proof was in the Guinness Book of World Records for "most difficult math problems".
    Contents
 


 


 1 Fermat's conjecture (History)
    2 Mathematical context
    2.1 Pythagorean triples
    2.2 Diophantine equations
    3 Fermat's conjecture
    4 Proofs for sp www.111com.net ecific exponents
    5 Sophie Germain
    6 Ernst Kummer and the theory of ideals
    7 Mordell conjecture     8 Rational exponents


    9 Computational studies
 



第三步:启动特效

 代码如下 复制代码



这样就可以简单的实现滚动条

但是如果遇到中间的内容是图片,而且需要按照比例缩放

例如:中间的图片尺寸为800X480 或者480X800 ,但是显示出来,宽度最大600或者高度最大600,所以就需要等比例缩放

首先创建滚动层,不过先隐藏,后面用js显示出来,看起来有一个过渡效果。

 代码如下 复制代码


js 部分

 

 代码如下 复制代码

热门栏目