Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2007, 05:07 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default PLEASE HELP SECOND TIME POSTING THIS ADVERT

I dont know why when I use the function wheel () the scrollbar moves to a certain point and then jumps. can you send me any ideas and help.


function wheel()
{


 //calculate the altitude of the schuifbalk

 // bereken de hoogte van de schuifbalk

 rulerH = scrollH - (dragH); //change

 //number of page steps by dragStep variable
 // Aantal pagina stappen


 dragStep = scrollH /(contentH / rulerH); // change to - Synhronise the content height with the ruller height with the and *3 step size durring scroll


 nWaarde = nWaarde + event.wheelDelta;

 if( oldWaarde < nWaarde)
 {
     nWaarde = oldWaarde; //change to new nwaarde

        dragT = dragT - dragStep/10;

      contentT = contentT + dragStep;


    if (contentT > 0 )

    {
     contentT = 0;
     dragT = rulerT - 2;
    }
        moveTo();

 }







Similar Threads
Thread Thread Starter Forum Replies Last Post
synchronizing pocket pc time with desktop time bobbyrayudu83 C# 1 April 2nd, 2011 04:28 AM
Time Shift time in minus time out lechalas Beginning VB 6 1 August 11th, 2008 01:56 PM
time zone & day light time rajn ASP.NET 1.0 and 1.1 Professional 0 August 7th, 2007 05:02 PM
Using xs:time to generate time in desired format krayan001 XSLT 0 June 27th, 2005 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.