~jstys-z/helioviewer.org/timeline

« back to all changes in this revision

Viewing changes to lib/jquery/jquery.ui-1.6rc2/demos/functional/templates/ui.slider.html

  • Committer: V. Keith Hughitt
  • Date: 2009-03-26 19:20:57 UTC
  • Revision ID: hughitt1@kore-20090326192057-u0x8rf8sf5lmmnwh
nightly build 03-26-2009: Using alpha-channel JPEG 2000 dataset

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<script type="text/javascript">
2
 
 
3
 
        var model = {
4
 
                
5
 
                renderAt: '#containerDemo',
6
 
 
7
 
                title: 'Slider Demos',
8
 
                
9
 
                demos: [
10
 
 
11
 
                        {
12
 
                                title: 'Simple slider',
13
 
                                desc: 'With few lines of code you could build a slider. You can try more options on the fly!',
14
 
                                html: '<div id="slider3"><div class="ui-slider-handle"></div></div>',
15
 
                                destroy: '$("#slider3").sortable("destroy");',
16
 
                                options: [
17
 
                                        {
18
 
                                                desc: 'Make a simple slider',
19
 
                                                source: '$("#slider3").slider();'
20
 
                                        }
21
 
                                ]
22
 
                        },
23
 
                        
24
 
                        {
25
 
                                title: 'Multiple slides',
26
 
                                desc: 'You can also have multiples slides.',
27
 
                                html: '<div id="slider1" class="ui-slider-2"><div class="ui-slider-handle"></div><div class="ui-slider-handle" style="left:100px"></div></div>',
28
 
                                destroy: '$("#slider1").slider("destroy");',
29
 
                                options: [
30
 
                                        { desc: 'Multiple slides', source:      '$("#slider1").slider();'       }
31
 
                                        //, { desc: 'Multiple slides with range', source:       '$("#slider1").slider({ range: true });'        }
32
 
                                ]
33
 
                        }
34
 
 
35
 
                ]
36
 
        };
37
 
 
38
 
        $(function(){
39
 
 
40
 
                uiRenderDemo(model);
41
 
 
42
 
        });
43
 
 
44
 
</script>
 
 
b'\\ No newline at end of file'