原生态纯js带文字标题的全屏图片放大展示代码



154 615 206



特效描述:原生态纯js 带文字标题 全屏图片放大展示,带文字标题的全屏图片放大展示

代码结构

1. HTML代码

<div id="screen">
	<div id="box"">
		<img src="newborn.jpg" title="explain" alt="They explained a little about what they were doing.">
		<img src="majesty.jpg" title="strain" alt="I hoped I wouldn′t crack under the strain.">
		<img src="whitemagic.jpg" title="retain" alt="Clearly they were ready to do almost anything to retain their position.">
		<img src="gazebo2k3.jpg" title="mundane" alt="I observed the face of power at its most mundane.">
		<img src="pyre.jpg" title="inhumane" alt="But they couldn′t hide the very worst of their inhumane undertakings from the people.">
		<img src="singularity.jpg" title="disdain" alt="They showed their utter, complete disdain for justice.">
		<img src="spellcraft.jpg" title="never again" alt="Never more. Never again.">
		<span id="txt"></span>
		<span id="tit"></span>
		<span id="lnk">
			<a href="http://www.dhteumeuleu.com">www.dhteumeuleu.com</a>
			<a></a>
			<a></a>
			<a></a>
			<a></a>
			<a></a>
			<a></a>
		</span>
	</div>
</div>
<!-- crossbrowser images_loading_bar - Gerard Ferrandez - www.dhteumeuleu.com - Feb 2005 -->
<span id="LB0" style="position:absolute;left:50%;top:50%;"><span style="position:absolute;font-family:arial;font-size:10px;color:#FFFFFF;left:-50px;top:-18px">Loading...</span>
<span style="position:absolute;left:-50px;top:-5px;font-size:1px;width:100px;height:10px;background:#333"><span id="LB1" style="position:absolute;left:0px;top:0px;font-size:1px;width:0px;height:10px;background:#FFFFFF"></span></span></span>
<script>m00=document.getElementById("box").getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
<!-- end of images_loading_bar code -->



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 flash焦点图 flash幻灯片 flashbanner flash图片轮播 全屏焦点图 滑动星星打分 放大缩小 变大变小 放大 缩小 变大 变小 缩放 全屏切换 宽屏全屏 宽屏 全屏 页面全屏 页面宽屏 缩放切换 焦点图 幻灯片 轮播图 bar焦点图 其他 图片全屏 带标题的焦点图 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 带缩略图的幻灯片 图片滑动 图片滑块 鼠标滑过 鼠标悬停 跟随鼠标移动

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到