<i id='rSpEc'><tr id='rSpEc'><dt id='rSpEc'><q id='rSpEc'><span id='rSpEc'><b id='rSpEc'><form id='rSpEc'><ins id='rSpEc'></ins><ul id='rSpEc'></ul><sub id='rSpEc'></sub></form><legend id='rSpEc'></legend><bdo id='rSpEc'><pre id='rSpEc'><center id='rSpEc'></center></pre></bdo></b><th id='rSpEc'></th></span></q></dt></tr></i><div id='rSpEc'><tfoot id='rSpEc'></tfoot><dl id='rSpEc'><fieldset id='rSpEc'></fieldset></dl></div>
      1. <small id='rSpEc'></small><noframes id='rSpEc'>

        <legend id='rSpEc'><style id='rSpEc'><dir id='rSpEc'><q id='rSpEc'></q></dir></style></legend>
      2. <tfoot id='rSpEc'></tfoot>
        • <bdo id='rSpEc'></bdo><ul id='rSpEc'></ul>

        我在哪里可以找到 Javascript/jQuery 中的时间范围小部件?

        Where can I find a time range widget in Javascript/jQuery?(我在哪里可以找到 Javascript/jQuery 中的时间范围小部件?)
        <legend id='9o0a2'><style id='9o0a2'><dir id='9o0a2'><q id='9o0a2'></q></dir></style></legend>
            <tbody id='9o0a2'></tbody>

                <small id='9o0a2'></small><noframes id='9o0a2'>

              • <i id='9o0a2'><tr id='9o0a2'><dt id='9o0a2'><q id='9o0a2'><span id='9o0a2'><b id='9o0a2'><form id='9o0a2'><ins id='9o0a2'></ins><ul id='9o0a2'></ul><sub id='9o0a2'></sub></form><legend id='9o0a2'></legend><bdo id='9o0a2'><pre id='9o0a2'><center id='9o0a2'></center></pre></bdo></b><th id='9o0a2'></th></span></q></dt></tr></i><div id='9o0a2'><tfoot id='9o0a2'></tfoot><dl id='9o0a2'><fieldset id='9o0a2'></fieldset></dl></div>

                <tfoot id='9o0a2'></tfoot>

                • <bdo id='9o0a2'></bdo><ul id='9o0a2'></ul>
                  本文介绍了我在哪里可以找到 Javascript/jQuery 中的时间范围小部件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 Javascript/CSS/jQuery 中寻找某种 TimeRange 小部件.我不是在寻找广泛可用的时间/日期选择器.

                  I'm looking for some sort of TimeRange widget in Javascript/CSS/jQuery. I'm not looking for a time/date picker, which are widely available.

                  我需要一个网站,以允许企业通过单击并将鼠标悬停在营业时间上来选择营业时间.

                  I need it for a website to allow businesses to select their openinghours by clicking and hovering over the hours they're open.

                  +-----------------------------+
                  | 0h 0h15m 0h30m    ... 23:45 |
                  +-----------------------------+
                  

                  有人见过这么好看的可自定义时间范围选择器小部件吗?

                  Anybody has seen such a nice looking customizable timerange selector widget?

                  干杯

                  推荐答案

                  我会寻找一个滑块小部件..然后将您需要的时间设置为间隔.

                  I'd look for a slider widget.. then set the times you need as the intervals.

                  jQuery UI 有一个:jQuery UI Slider.

                  The jQuery UI has one: jQuery UI Slider.

                  更新:基于以下关于(单滑块与双滑块)的评论...

                  Update: based on the comment below about (single vs. double slider)...

                  1.) 已经有一篇文章(刚刚找到)关于使用此处的 jQuery UI 滑块制作 2 处理滑块.

                  1.) Theres a post already (just found) about making a 2 handled slider using the jQuery UI slider here.

                  或者,如果您有 2 个滑块……一个用于打开时间,一个用于关闭时间……每个都分为 15 分钟的片段,但每个片段只有半天,这会起作用吗?

                  Or if you have 2 sliders... one for opening time and one for closing... where each is broken down into 15min segments, but only for half a day each, would this work?

                  例如(忽略 ASCII 图形的丑陋)

                  e.g. (ignore the ASCII-graphic uglyness)

                   Open Time (AM): 12   1    2    3    4    5    6    7    8 |  9    10   11   12
                                                                             ^ 8:15am
                  
                  Close Time (PM): 12   1    2    3    4    5    6  |  7    8    9    10   11   12
                                                                    ^6:30pm
                  

                  此外,如果这是针对典型"业务的...您可能会从晚上 11 点 <-> 早上 5 点开始从滑块中切入.

                  Furthermore, if this is for "typical" businesses... you could likely chop from 11pm <-> 5am from the sliders.

                  或者,

                  我不是 scriptaculous 的忠实粉丝,但他们似乎有一个 双滑块:

                  I'm not a big fan of scriptaculous, but they seem to have a double slider:

                  这篇关于我在哪里可以找到 Javascript/jQuery 中的时间范围小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Pause youtube video, youtube api(暂停 youtube 视频,youtube api)
                  Youtube iframe api not triggering onYouTubeIframeAPIReady(Youtube iframe api 未触发 onYouTubeIframeAPIReady)
                  How can I stop a video with Javascript in Youtube?(如何在 Youtube 中停止使用 Javascript 的视频?)
                  How to call Greasemonkey#39;s GM_ functions from code that must run in the target page scope?(如何从必须在目标页面范围内运行的代码中调用 Greasemonkey 的 GM_ 函数?)
                  How do you mute an embedded Youtube player?(如何使嵌入式 Youtube 播放器静音?)
                  How to get number of video views with YouTube API?(如何使用 YouTube API 获取视频观看次数?)

                  1. <small id='QBLuX'></small><noframes id='QBLuX'>

                      <i id='QBLuX'><tr id='QBLuX'><dt id='QBLuX'><q id='QBLuX'><span id='QBLuX'><b id='QBLuX'><form id='QBLuX'><ins id='QBLuX'></ins><ul id='QBLuX'></ul><sub id='QBLuX'></sub></form><legend id='QBLuX'></legend><bdo id='QBLuX'><pre id='QBLuX'><center id='QBLuX'></center></pre></bdo></b><th id='QBLuX'></th></span></q></dt></tr></i><div id='QBLuX'><tfoot id='QBLuX'></tfoot><dl id='QBLuX'><fieldset id='QBLuX'></fieldset></dl></div>

                        <bdo id='QBLuX'></bdo><ul id='QBLuX'></ul>
                        <legend id='QBLuX'><style id='QBLuX'><dir id='QBLuX'><q id='QBLuX'></q></dir></style></legend>
                          <tbody id='QBLuX'></tbody>

                            <tfoot id='QBLuX'></tfoot>