Solved

jquery mobile Range slider

Posted on 2014-01-05
6
443 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

15 Experts available now in Live!

Get 1:1 Help Now