本功能比较简单,就是一个大幕,左右滚动播放图片。
关键点在于如何实现平滑的滚动,包括动画效果,3d效果等。
img {
position: absolute;
top:200;
left:400px;
/* border: 1px solid #333;*/
padding: 2px 5px 2px 5px;
-webkit-transition:ease all 0.7s;
...
分类:
其他好文 时间:
2014-08-29 11:03:27
阅读次数:
196
水题,直接筛一下就好。不过需要注意输出。
自己学校的渣OJ 的数据范围才叫大:All integers will be less than 10,000,000 and greater than 0.
跑了1.7ms。时限2ms。
POJ这道题数据范围是:All integers will be less than 10,000 and greater than 0.
直接所有...
分类:
其他好文 时间:
2014-08-29 11:02:37
阅读次数:
166
python列表排序简单记一下python中List的sort方法(或者sorted内建函数)的用法。关键字:python列表排序 python字典排序 sortedList的元素可以是各种东西,字符串,字典,自己定义的类等。sorted函数用法如下:Python代码sorted(data,cmp=...
分类:
编程语言 时间:
2014-08-29 10:37:57
阅读次数:
240
scipy在misc的pilutil.py中def fromimage(im, flatten=0)函数中,# workaround for crash in PIL, see #1613.im.convert('L')上面是之前的代码,当图片模式是二值模式时,此处会出错,因为im.convert(...
分类:
编程语言 时间:
2014-08-29 10:33:57
阅读次数:
204
Dear all,i have one production order which is technicaly completed. But i want to do material issue as material reservation is pending for that order....
分类:
其他好文 时间:
2014-08-29 09:26:27
阅读次数:
184
最近打算用 Python 来开发网站的一些其它功能,先来搭建 Python 的运行环境吧。安装 PythonPython 的目前有两个版本,Python 2.7.5 和 Python 3.3.2。Python 3.x 与 2.x 不仅仅是版本的新旧的区别那么简单,Python3.x 是一个全新的东西...
分类:
编程语言 时间:
2014-08-29 09:23:57
阅读次数:
244
1.一个简单的无参函数
#!/usr/bin/evnpython
#filename:function1.py
defsayHello():
print‘HelloWorld!‘
sayHello()
2.函数传参
#!/usr/bin/evnpyhon
#Filename:fun_param.py
defprintMax(a,b):
ifa>b:
printa,‘ismaxinum‘
else:
printb,‘ismaxinum‘
printMax(3,4)
x=5..
分类:
编程语言 时间:
2014-08-29 03:05:47
阅读次数:
283
1.for循环
#!/usr/bin/evnpython
#Filename:for.py
foriinrange(1,5):
printi
else:
print‘Theforloopisover‘
2.break语句
#!/usr/bin/evnpython
#filename:break.py
whileTrue:
s=raw_input(‘Entersomething:‘)
ifs==‘quit‘:
break
print‘Lengthofthestringis‘,len(s)
prin..
分类:
编程语言 时间:
2014-08-29 03:05:27
阅读次数:
230
依靠272的助攻374打进一球总比分锁定了欧冠zha...
分类:
其他好文 时间:
2014-08-29 02:52:56
阅读次数:
224
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-08-29 02:35:13
阅读次数:
203