Solved

jquery mobile Range slider

Posted on 2014-01-05
6
442 Views
Last Modified: 2014-02-13
Hi,

$("#cameraSlider").slider({
  value: 2,
  min: 1,
  max: 3,
  step: 1,
  slide: function(event, ui) {
    cameramen = ui.value;
    return calcTotal();
  }
});

I want to attach the above code with jquery mobile slider , could you please say me how to proceed.
0
Comment
Question by:praveen1981
  • 3
  • 3
6 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39758574
Far too little detail to even guess what you want
0
 

Author Comment

by:praveen1981
ID: 39758640
Hi

I just want to say that,

I have jquery Ui slider, now i want to use that in jquery mobile

is that possible, if so, please say me how to proceed
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 39758660
You mean

http://touchpunch.furf.com/

Just add it after the UI script tags

<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/ui/1.8.21/jquery-ui.min.js"></script>

<!-- Include Touch Punch after jQuery UI and before its first use.

Please note that if you are using jQuery UI's components, Touch Punch must be included after jquery.ui.mouse.js, as Touch Punch modifies its behavior. -->

<script src="jquery.ui.touch-punch.min.js"></script>

<!-- Just use jQuery UI as expected and watch it work at the touch of a finger. -->

<script>
$("#cameraSlider").slider({
  value: 2,
  min: 1,
  max: 3,
  step: 1,
  slide: function(event, ui) {
    cameramen = ui.value;
    return calcTotal();
  }
});
</script>

Open in new window

0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:praveen1981
ID: 39796143
Hi

from which site i do get this jquery.ui.touch-punch.min.js file.

<script src="jquery.ui.touch-punch.min.js"></script>
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39796169
What do you mean? There is a download button on the site I gave you
0
 

Author Closing Comment

by:praveen1981
ID: 39855747
many thanks.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now