- 
	
	
		
			
			
				You do realize by 'gay' I mean a man who has sex with other men?
			
			
			
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Using JavaScript To Auto Scroll Text
				
				
						
							
							
						
						
							
						
				
					
						
							There may come a time when you would like to have some text on a page that is simply just to big to fit on a single page. Of course, you could always create a new document for this text but, what if you could make the text actually scroll through the surfers browser? 
The following JavaScript will do just that. 
Place the following section of JavaScript coding between your <head> and </head> tags: 
<SCRIPT LANGUAGE="JavaScript"> 
<!-- 
function scrollit() { 
for (I=1; I<=1200; I++) window.scroll(1,I); 
} 
// --> 
</SCRIPT> 
Along with the following JavaScript coding someone in the Body of your page: 
<FORM> 
<INPUT type=button value="scroll" onClick="scrollit()"> 
</FORM> 
Have a play around with the numbers in the first section of the JavaScript to speed up and slow down the rate of scrolling until you find a speed that is easy on the eye. 
Article written by Lee. 
http://www.sourcecoding.com
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
		
		
		
	
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
		
		
			
				
				Posting Permissions
			
			
				
	
		- You may not post new threads
 
		- You may not post replies
 
		- You may not post attachments
 
		- You may not edit your posts
 
		-  
 
	
	
	Forum Rules
 
			 
		 
	 
 
  
 
 
Bookmarks