JavaScript网页特效实例大全

源代码在线查看: 10-10.htm

软件大小: 1723 K
上传用户: wql507
关键词: JavaScript
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				function move(x, y) {
				if (document.all) {
				object1.style.pixelLeft += x;
				object1.style.pixelTop  += y;}
				};
				
				function position() {
				document.object1.left += -132;
				document.object1.top  += 0;
				document.object1.visibility = "show"
				};
				
				function makeStatic() {
				if (document.all) {object1.style.pixelTop=document.body.scrollTop+20}
				
				}
				
				
				
				.hl {
					BACKGROUND-COLOR: highlight; COLOR: white; CURSOR: hand
				}
				
				
				
				
				
				
				
				
				
				
				    
								bgcolor="black" name="object1" top="20" visibility="hide">            
				            
				if (document.all)            
				document.write('')            
				            
				            
								onmouseout="move(-132, 0)" onmouseover=move(132,0) width=150>            
				              
				              
				    菜 单            
				                
				                  
				if (document.all)            
				document.write('显示菜单')            
				                  
				                
				              
				          
				        
				makeStatic();            
				            
				     
				            
				var sitems=new Array();            
				var sitemlinks=new Array();            
				            
				            
				sitems[0]="TOM";            
				sitems[1]="搜狐";        
				sitems[2]="网易";   
				
				            
				sitemlinks[0]="http://www.tom.com";            
				sitemlinks[1]="http://www.sohu.com/";                     
				sitemlinks[2]="http://www.yeah.net/";                     
				
				
				for (i=0;i				       
				if (document.all) {document.write(''+sitems[i]+'')}            
				          
				            
				function hl(n) {            
				n.className='hl'}
				            
				function n(h) {            
				h.className='n'}            
				
				            
				    
				
				
				
				
				
				
							

相关资源