slider moving problem

This is a discussion on "slider moving problem" within the JavaScript Forum section. This forum, and the thread "slider moving problem are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 13th, 2007, 06:54
New Member
Join Date: Sep 2007
Location: chennai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
slider moving problem

Hi All:
I encounter a problem in dealing with slider bar moving in javascripts.

The case is that I have created slider bar with ,I have four functionalities in slider bar functions


Please see the image

(+)----------------|--------------(-)



1)when I click the (+) button the slider is moving (+) direction , when I click (-) button the slider is moving (-) direction .This process was working fine.


2)But when I click the mid bar slider right position the slider will go to (-) position and then when I click the mid bar slider left position , the slider will go to (+) position. This is concept. But when I click the mid bar both direction’s the slider is going (-) direction only.
Code: Select all
  function ZoomOutIn()
        {                    
          var currnetZoomValue = GetElement('sliderValue');
          if ( currnetZoomValue.value < previousZoomLvlValue )
          {                             
              ZoomOutMinus();
              alert("zoomOutminus");
          }
          else if (currnetZoomValue.value > previousZoomLvlValue )
          {                                   
              ZoomInPlus();
              alert("zoomIn");           
          }      
          else
          {
              alert("Equal");
          }                          
     }      

The above coding was problem .

Really need help from yrs...
Cheers and Thanks much !!
Arhun

Last edited by karinne; Sep 13th, 2007 at 12:24. Reason: Please use the vBcode [ code ] when inserting code in your post.
Reply With Quote

  #2 (permalink)  
Old Sep 14th, 2007, 15:38
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: slider moving problem

Do you have th full code you could post or a link to the site where it is?

I'm having a bit of trouble working out where the variables are getting their values from currnetvalue and previousZoomLvlValue etc.

Cheers,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
implementing a Double Slider pesho318i JavaScript Forum 5 Nov 20th, 2007 12:47
Problem with moving Rienk0r Web Page Design 4 Oct 11th, 2007 09:12
Navbar Slider Rick Flash & Multimedia Forum 5 Sep 20th, 2007 22:45
Slider/Progress Bar JCote1985 Flash & Multimedia Forum 1 Aug 2nd, 2007 21:22
Image Slider Artry Flash & Multimedia Forum 2 Jul 23rd, 2007 08:39


All times are GMT. The time now is 05:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43