Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Help with Javascript?

22 Nov 2010   #1
TheGoogler

Windows 7 Ultimate x64
 
 
Help with Javascript?

Hi guys,

I'm working on a site for a school project, and I got a scrolling sidebar using some Javascript I borrowed from somewhere. The thing is, it scrolls horizontally as well as vertically. I have no idea how to code Javascript and was wondering if any of the whizzes on here could help?

Javascript File
CSS File

Thanks in advance,
TheGoogler
My System SpecsSystem Spec
22 Nov 2010   #2
Everlong

 

I had a quick look at the JS file. You just need to delete everything with a reference to X which would be for side scrolling, so like you won't need calculateCornerX function, for example, or in the computeShifts function, you don't need the block of code about shiftX. You can comment out, which would be better than deleting in case you make a mistake, by using // before a line, or wrap /* */ around blocks of code for it to be ignored.
My System SpecsSystem Spec
28 Nov 2010   #3
TheGoogler

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Everlong View Post
I had a quick look at the JS file. You just need to delete everything with a reference to X which would be for side scrolling, so like you won't need calculateCornerX function, for example, or in the computeShifts function, you don't need the block of code about shiftX. You can comment out, which would be better than deleting in case you make a mistake, by using // before a line, or wrap /* */ around blocks of code for it to be ignored.
Ok, thanks. I guess it's better for me to do it myself anyway, always learning

TheGoogler
My System SpecsSystem Spec
.

Reply

Thread Tools


Similar help and support threads
Thread Forum
Javascript virus?
As i accidently ran a javascript what was encrypted... I heard that javascript can have full access to your computer?.. I'm pretty freaked out atm.. I don't know how to react. Can it be a virus?
System Security
IE9 - Problem with javascript
Hello, I have IE9 on Win7 x64 PRO SP1. I have a problem with javascript on a lot of websites - it doesn't work on normal browse, but when I refresh page (CTRL+F5) everything is ok. I checked this in developter tools, and there are many communicates like this one: SCRIPT: Permission...
Browsers & Mail
JavaScript help...
So I'm working on adding functions to my battery gadget, and one function I'm trying to add will bring the gadget to the front (make it appear above all other windows) once the battery gets down below 21% (I'll wind up adding a function too that will make it coincide with the user's setting for low...
Chillout Room
javascript
somebody can help me to find out good web for javascript tutorial or some reference on it.?? i'm tried to find out but didn't got a good one. your attention be my pleasure. thanks.
Chillout Room
JavaScript
Hello everyone. I have a question to the authors of this phorum.I really like the script that this site uses for image autoresizing.Can you please give me at least the name of this script cause i have been looking for something similar for some time now and still havent found anything. Thanks
Chillout Room


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App