Unstoppable Domains — Expired Auctions

Pls. help me w/ this script that turns wheel ups & downs to scroll left/right..

Spaceship Spaceship
Watch

sanspolanco

New Member
Impact
0
hey guys, anyone care to take a look at this code and tell me what im doing wrong? i downloaded a script that is supposed to make any mouse wheel movement up/down go left to right.

Stephen Polanco @ LightBild Studios
there's my website as of right now without side scrolling from the mouse wheel. you can see why it will help me to figure this out.

please help!
there's a test page i set up so that you guys can see how i am trying to plug the code in and maybe figure out what im doing wrong. i keep getting syntax errors on line 14 and its telling me that my class is undefined.

thanks!!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
0
•••
Your code is wrong

Code:
<script type="text/javascript">
	window.onload = function() {
		var paras = document.getElementById('content').getElementsByTagName('p');
		if(paras.length) {
			paras[0].className = paras[0].className + ' intro';
		}
	};
	<script type="text/javascript">
		
		/* class begins */
		var ScrollSide = new Class({

It should be

Code:
<script type="text/javascript">
	window.onload = function() {
		var paras = document.getElementById('content').getElementsByTagName('p');
		if(paras.length) {
			paras[0].className = paras[0].className + ' intro';
		}
	};
</script>
	<script type="text/javascript">
		
		/* class begins */
		var ScrollSide = new Class({


OR

Code:
<script type="text/javascript">
	window.onload = function() {
		var paras = document.getElementById('content').getElementsByTagName('p');
		if(paras.length) {
			paras[0].className = paras[0].className + ' intro';
		}
	};
	
		/* class begins */
		var ScrollSide = new Class({

Regards
 
0
•••
so i just plugged that code in, but no luck...

is there more to the code you provided? i tried plugging it in and i had no success.
again, i really appreciate the help.
 
0
•••
Appraise.net

We're social

Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back