Javascript Slider Bar (uses AJAX)

Just put an example of a DOM Javascript Slider Bar, I used the source orignal written by …[lost link]…
I added a few extra functions and made it update automatically via AJAX (via Sajax) of course! Not been able to find a a decent use for it yet, but I dont want to lose it so here it is. Hope someone may find a use for it.
Example.

23 Responses to “Javascript Slider Bar (uses AJAX)”

  1. Juan Says:

    Thats kol. Um.. maybe a Music/Video player?
    For Volume controls? or maybe evn the player tracker…
    Dono but that looks kol..

  2. Chris Evans Says:

    Great Code. I am using it as a selector in a sort of hot or not application.

  3. Saravanan Says:

    Can i use the slider as Scrollbar for an table

  4. Dave Says:

    Sweet! Exactly what I was looking for. I have a mapping app that I can use it for zooming in with. You rock, thanks alot!

  5. Chidambaram Says:

    Gud link very much useful

  6. Frank Says:

    Can anyone tell me where the x_sajax_update javascript function is stored? I don’t seem to see it. thanks.

  7. Azhakesan Says:

    Good web link.
    Thank you Cyberdummy-Web Developer

  8. Julien WILK Says:

    Funny stuff this sajax slider!

    I modified a little the code to fit my needs and now it’s just perfect.

    I have to make my users “grad” their collection of laserdiscs from 1/10 to 10/10. Default grading is a simple picture. When over’ing this picture, I bring the slider to frond (hidding the picture) and let users set a new grading from 1 to 10. When drag is released I both update the current grading picture to the new value and send a mysql update in background thanks to Sajax.

    It allowed me save a very heavy (and user-unfriendly) combo-box from 1 to 10 for each title in collection. Looks a lot better and is self-explanatory at the first look.

    Just took me while to realize that the align=center in the table/tr/td construction was giving odd results!

    Thanks again!
    Julien

  9. Simon Says:

    The example doen’t work in safari 2.0.3. However it does work in MAC FireFox.

  10. z Says:

    well that’s not really ‘ajax’ (which is a meaningless buzzword) but its a good example of DHTML. I might suggest adding the event handlers into a reusable function, rather than copy-pasting the code (yeah i know its only a demo, but still :-) )

  11. Nicholas Singh Says:

    Hi, great example! I’m thinking of modifying the javascript to make a similar control… Sort of a vertical “range” slider with two tabs. And also a “static drag” inthe middle the allows the user to drag the range up/down. Just wanted to ask if you have any tips on how to go about doing this?

  12. Rene Says:

    thank you.!!! this is a great code!! :)

  13. Rob Fernandes Says:

    Great DHTML project. Too pressed for time to do it from scratch myself but searched for ages on Google for exactly this - knew what I wanted but keywords like ‘DHTML’ and ‘Slider’ or ’slide bar’ simply turn up page after page of menus which slide down the page. Wasn’t until I used -menu to remove the word menu from the search that this popped up. Great piece of work, THANKYOU!

  14. Deep Shrestha Says:

    Yes. This is such a good site to learn more about ajax.
    Please i want to get full source code about drag and drop.

  15. Kunal Says:

    We have made changes to this code and its working great with safari :-)

  16. joby p p Says:

    Hi, great example! I’m thinking of modifying the javascript to make a similar control… Sort of a vertical “range” slider with two tabs. And also a “static drag” inthe middle the allows the user to drag the range up/down. Just wanted to ask if you have any tips on how to go about doing this? can you give me a two knob slider

  17. pico Says:

    Nice script, im using part of it in a php/ajax mpd client im building, this will help to make the web based mpd client feel more like a stand-alone application ;)

  18. Jan Says:

    Hi - nice piece of code - but for my case it doesn’t work in IE6. When you click on the slider and move the mouse to slide you can’t let it off and every time you move the mouse towards the screen the slider is still in action. Would be nice to fix it…

    Regards from Germany
    Jan

  19. Young Says:

    How to reset to initial location by javascript? I like to return to previous location by button.

  20. Mark Says:

    Shoot - how do you get this to work with Safari?

  21. SEO Expert Says:

    This is such a great script that solved all my problems in trying to create a cross-browser solution. How I wished I had known about this much earlier! Thanks Thanks Thanks!!

  22. Rob Wilson Says:

    Fantastic Script, just getting an error when i double click the slide control and not proficient enough in js to sort it. Hats off for a nice looking, easy to implement slider

  23. Chang Boroot Says:

    Hi,
    It would have been nice to just use this slider without the Ajax. I want to just use it inside form.

    If anyone know such example, please post the URL here.
    Thanks

Leave a Reply

-->