Guest User

Untitled

a guest
Apr 4th, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Horizontal bar graph with CSS3 and jQuery</title>
  6. <link href="css/default.css" rel="stylesheet" type="text/css" />
  7. <script src="js/jquery.js" type="text/javascript"></script>
  8. <script src="js/init.js" type="text/javascript"></script>
  9.  
  10.  
  11.  
  12. <script src="slider_scripts/cal_impact_on_clinic.js"></script>
  13.  
  14.  
  15.  
  16. <style>
  17. #sliderValue140h{ position:absolute;
  18. margin:0px 0px 0px 330px;
  19. font-family: Myriad Pro,Normal,strong;
  20. font-size: 16px;
  21. border:none;
  22. background-color:transparent;
  23. color:#000;
  24. }
  25.  
  26. #sliderValue150h{ position:absolute;
  27. margin:0px 0px 0px 330px;
  28. font-family: Myriad Pro,Normal,strong;
  29. font-size: 16px;
  30. border:none;
  31. background-color:transparent;
  32. color:#000;
  33. }
  34.  
  35. #sliderValue160h{ position:absolute;
  36. margin:0px 0px 0px 330px;
  37. font-family: Myriad Pro,Normal,strong;
  38. font-size: 16px;
  39. border:none;
  40. background-color:transparent;
  41. color:#000;
  42. }
  43. </style>
  44.  
  45.  
  46. <script language="JavaScript" src="slider_scripts/slider.js"></script>
  47. </head>
  48.  
  49. <body>
  50. <form action="#" method="get" name="demoForm" id="slider">
  51.  
  52. <div id="sliderimpact2_slide2" ontouchmove="calc(),put_zero();">
  53.  
  54. <input name="sliderValue" type="Text" id="sliderValue140h" onChange="A_SLIDERS[5].f_setValue(this.value)" value="5" size="3" readonly>
  55.  
  56. <script language="JavaScript">
  57.  
  58. var A_TPLh140h = {
  59.  
  60. 'b_vertical' : false,
  61.  
  62. 'b_watch': true,
  63.  
  64. 'n_controlWidth': 356,
  65.  
  66. 'n_controlHeight': 29,
  67.  
  68. 'n_sliderWidth': 32,
  69.  
  70. 'n_sliderHeight': 33,
  71.  
  72. 'n_pathLeft' : -5,
  73.  
  74. 'n_pathTop' : -8,
  75.  
  76. 'n_pathLength' :340,
  77.  
  78. 's_imgControl': 'images/slide5slider.png',
  79.  
  80. 's_imgSlider': 'images/Slider Circle 2.png',
  81.  
  82. 'n_zIndex': 1
  83.  
  84. }
  85.  
  86.  
  87.  
  88. var A_INITh140h = {
  89.  
  90. 's_form' : 0,
  91.  
  92. 's_name': 'sliderValue140h',
  93.  
  94. 'n_minValue' : 0,
  95.  
  96. 'n_maxValue' : 100,
  97.  
  98. 'n_value' : 0,
  99.  
  100. 'n_step' : 5,
  101.  
  102. }
  103.  
  104. new slider(A_INITh140h, A_TPLh140h);
  105.  
  106. </script>
  107.  
  108. </div>
  109. <br />
  110. <br />
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. <div id="sliderimpact2_slide2" ontouchmove="calc(),put_zero();">
  122.  
  123. <input name="sliderValue" type="Text" id="sliderValue150h" onChange="A_SLIDERS[5].f_setValue(this.value)" value="5" size="3" readonly>
  124.  
  125. <script language="JavaScript">
  126.  
  127. var A_TPLh150h = {
  128.  
  129. 'b_vertical' : false,
  130.  
  131. 'b_watch': true,
  132.  
  133. 'n_controlWidth': 356,
  134.  
  135. 'n_controlHeight': 29,
  136.  
  137. 'n_sliderWidth': 32,
  138.  
  139. 'n_sliderHeight': 33,
  140.  
  141. 'n_pathLeft' : -5,
  142.  
  143. 'n_pathTop' : -8,
  144.  
  145. 'n_pathLength' :340,
  146.  
  147. 's_imgControl': 'images/slide5slider.png',
  148.  
  149. 's_imgSlider': 'images/Slider Circle 2.png',
  150.  
  151. 'n_zIndex': 1
  152.  
  153. }
  154.  
  155.  
  156.  
  157. var A_INITh150h = {
  158.  
  159. 's_form' : 0,
  160.  
  161. 's_name': 'sliderValue150h',
  162.  
  163. 'n_minValue' : 0,
  164.  
  165. 'n_maxValue' : 100,
  166.  
  167. 'n_value' : 0,
  168.  
  169. 'n_step' : 5,
  170.  
  171. }
  172.  
  173. new slider(A_INITh150h, A_TPLh150h);
  174.  
  175. </script>
  176.  
  177. </div>
  178. <br />
  179. <br />
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191. <div id="sliderimpact2_slide2" ontouchmove="calc(),put_zero();">
  192.  
  193. <input name="sliderValue" type="Text" id="sliderValue160h" onChange="A_SLIDERS[5].f_setValue(this.value)" value="5" size="3" readonly>
  194.  
  195. <script language="JavaScript">
  196.  
  197. var A_TPLh160h = {
  198.  
  199. 'b_vertical' : false,
  200.  
  201. 'b_watch': true,
  202.  
  203. 'n_controlWidth': 356,
  204.  
  205. 'n_controlHeight': 29,
  206.  
  207. 'n_sliderWidth': 32,
  208.  
  209. 'n_sliderHeight': 33,
  210.  
  211. 'n_pathLeft' : -5,
  212.  
  213. 'n_pathTop' : -8,
  214.  
  215. 'n_pathLength' :340,
  216.  
  217. 's_imgControl': 'images/slide5slider.png',
  218.  
  219. 's_imgSlider': 'images/Slider Circle 2.png',
  220.  
  221. 'n_zIndex': 1
  222.  
  223. }
  224.  
  225.  
  226.  
  227. var A_INITh160h = {
  228.  
  229. 's_form' : 0,
  230.  
  231. 's_name': 'sliderValue160h',
  232.  
  233. 'n_minValue' : 0,
  234.  
  235. 'n_maxValue' : 100,
  236.  
  237. 'n_value' : 0,
  238.  
  239. 'n_step' : 5,
  240.  
  241. }
  242.  
  243. new slider(A_INITh160h, A_TPLh160h);
  244.  
  245. </script>
  246.  
  247. </div>
  248. <br />
  249. <br />
  250. <br />
  251. <br />
  252. <br />
  253. <br />
  254. <br />
  255. <br />
  256. <br />
  257. <br />
  258. <br />
  259. <br />
  260. <br />
  261. <br />
  262. <br />
  263. <br />
  264. <br />
  265. <br />
  266. <br />
  267. <br />
  268. <br />
  269.  
  270. <img src="images/Show Impact.png" onclick="slidercalsevere();">
  271.  
  272.  
  273.  
  274.  
  275.  
  276. <div class="wrap">
  277.  
  278. <div class="bar">
  279. <div class="percent">
  280. <span style="width: 100%;"></span>
  281. </div>
  282. </div>
  283.  
  284. <div class="text">
  285. <input type="text" class="input" value="0" id="sliderValue170h"/>
  286.  
  287. </div>
  288.  
  289. </div>
  290.  
  291.  
  292. </form>
  293. </body>
  294. </html>
Advertisement
Add Comment
Please, Sign In to add comment