Loading ...
Sorry, an error occurred while loading the content.

Static Slider

Expand Messages
  • sk_acura
    Hi All, I wanted to have a Static Slider in my app. This Slider will be set an Initial Value and User cannot modify it s value.. I am planning to have the
    Message 1 of 1 , May 7, 2007
    • 0 Attachment
      Hi All,

      I wanted to have a Static Slider in my app. This Slider will be set
      an Initial Value and User cannot modify it's value..

      I am planning to have the normal Slider with no Handlers attached to
      it..

      Also when i added a simple Slider i only see the SliderHeader no
      background and the initial Value is also not set..

      [CODE]
      <html>
      <head>
      <link rel="stylesheet" type="text/css"
      href="yui/examples/slider/css/screen.css" ></link>
      <!-- Dependencies -->
      <script src = "yui/build/yahoo-dom-event/yahoo-dom-event.js" ></script>
      <script src = "yui/build/dragdrop/dragdrop-min.js" ></script>

      <!-- Slider source file -->
      <script src = "yui/build/slider/slider-min.js" ></script>

      <script language="javascript">
      var sliderFileCount;
      var sliderFileSize;

      // function sliderInit() {
      alert("Here");
      sliderFileCount =
      YAHOO.widget.Slider.getHorizSlider("sliderFileCountBg",
      "sliderFileCountThumb", 0, 200,10);
      sliderFileCount.animate = false;

      sliderFileSize =
      YAHOO.widget.Slider.getHorizSlider("sliderFileSizeBg",
      "sliderFileSizeThumb", 0, 200,100);
      sliderFileSize.animate = false;

      // }
      </script>
      </head>
      <body>
      <h2>Transfer Package Summary Report</h2>
      <br/>
      <form name="tranferPackageForm" method="post"
      action="recognize_formats_report.html" >
      <table border="0" colspan="0">
      <tr align="center">
      <td align="center">
      Confirmation Number
      </td>
      <td align="center">
      By File Count
      </td>
      <td align="center">
      By File Size
      </td>

      </tr>
      <tr>
      <td>
      Recognized
      </td>
      <td align="center">
      <div id="sliderFileCountBg">
      <div id="sliderFileCountThumb"><img
      src="yui/examples/slider/img/horizSlider.png"/></div>
      </div>
      </td>
      <td align="center">
      <div id="sliderFileSizeBg" >
      <div id="sliderFileSizeThumb"><img
      src="yui/examples/slider/img/horizSlider.png"/></div>
      </div>
      </td>

      </tr>
      </table>
      </form>
      </body>
      </html>
      [/CODE}

      I have placed the yui in my Web Root ..

      Thanks
      Sateesh
    Your message has been successfully submitted and would be delivered to recipients shortly.