From 7f0adec23fcdb22527c81102c665aa219c0b993c Mon Sep 17 00:00:00 2001 From: "gs86.lee" Date: Wed, 16 Jan 2013 19:39:26 +0900 Subject: [PATCH] updated TizenWinset Change-Id: Ib2032ec1ac7934eb5369c288a804f021028afc79 --- config.xml | 14 +- index.html | 23 +- main.js | 17 + .../custom-globalize-culture.html | 2 +- tips/generate-elements-dynamically.html | 6 +- widgets/button/button.html | 3 +- widgets/ctxpopup.html | 4 +- widgets/ctxpopup.js | 7 - widgets/datefield.html | 12 + widgets/gallery.html | 13 +- widgets/list/list-dialogue.html | 390 ++-- widgets/list/list-divider_check.html | 20 +- widgets/list/list-normal_anchor.html | 29 +- widgets/list/list-normal_no_anchor.html | 26 +- widgets/list/list.html | 3 - widgets/list/lists-autodividers.html | 46 +- widgets/list/virtuallist-db-demo.js | 2114 ++++++++++---------- widgets/list/virtuallist-normal_3_2_7.html | 11 +- widgets/naviframe/naviframe_title_text_1_btn.html | 2 +- widgets/naviframe/naviframe_title_text_2_btn.html | 2 +- .../naviframe_title_text_multiline_src.html | 4 +- .../naviframe_title_text_multiline_src_2_btn.html | 4 +- widgets/naviframe/naviframe_title_text_src.html | 2 +- widgets/pagelayout/backbutton-control.html | 3 +- .../backbutton/back-button-to-header.html | 7 +- .../pagelayout/backbutton/backbutton-normal.html | 5 +- .../dynamically-attatch-backbutton-to-footer.html | 7 +- .../dynamically-attatch-backbutton-to-header.html | 7 +- widgets/pagelayout/backbutton/no-back-button.html | 2 +- widgets/pagelayout/backbutton/no-footer.html | 2 +- widgets/pagelayout/barcontrol.html | 4 +- widgets/popupwindow/popup.html | 16 + widgets/searchbar/searchbar.js | 4 +- widgets/searchbar/searchbar_button.html | 4 +- widgets/switch/toggleswitch.html | 28 +- widgets/tabbar/tabbar.html | 66 +- widgets/tabbar/tabbar_footer.html | 46 +- widgets/tabbar/tabbar_footer_icon.html | 46 +- widgets/tabbar/tabbar_footer_more.html | 68 +- widgets/tabbar/tabbar_footer_segment.html | 42 +- widgets/tabbar/tabbar_footer_segment_more.html | 62 +- widgets/tabbar/tabbar_icon.html | 46 +- widgets/tabbar/tabbar_icon_text.html | 46 +- widgets/tabbar/tabbar_scrolling.html | 74 +- widgets/tabbar/tabbar_text.html | 46 +- widgets/tabbar/tabbar_title_icon.html | 48 +- widgets/tabbar/tabbar_title_text.html | 48 +- widgets/tokentextarea-demo.js | 127 +- 48 files changed, 1750 insertions(+), 1858 deletions(-) diff --git a/config.xml b/config.xml index 8327055..9c665f2 100755 --- a/config.xml +++ b/config.xml @@ -1,10 +1,10 @@ - - - - - - TizenWinset - + + + + + + TizenWinset + diff --git a/index.html b/index.html index 095b419..3f153dd 100644 --- a/index.html +++ b/index.html @@ -50,19 +50,18 @@
  • Controls
  • Button
  • Check
  • -
  • ToggleSwitch
  • +
  • Flip Toggle Switch
  • Radio
  • Searchbar
  • Entry
  • Time picker
  • Progressbar
  • Slider
  • -
  • Gallery
  • Segment Control
  • Group Control(new segment)
  • Token Text Area
  • -
  • PageLayout
  • +
  • Page Layout
  • Naviframe
  • Header/Footer(fixed/non-fixed) Control
  • Back Button Control
  • @@ -83,23 +82,27 @@
  • Autodividers
  • Fastscroll
  • -
  • Additional Popup
  • +
  • Popup
  • Popup
  • -
  • CxtPopup
  • +
  • Context Popup
  • -
  • Notification (ticker)
  • +
  • Notification
  • TickerNoti
  • TickerNoti Interval
  • Small Popup
  • Small Popup Interval
  • -
  • Grid view
  • +
  • Gallery
  • +
  • Gallery
  • + +
  • Virtual Grid
  • Virtual Grid
  • Virtual Grid - Rotation
  • Virtual Grid - List
  • Virtual Grid - X
  • Virtual Grid - Size
  • -
  • Multimedia view
  • + +
  • Multimedia View
  • Multimedia view
  • Programming Tips
  • @@ -230,8 +233,8 @@
    -
    -
    +
    +

    Address Book

    diff --git a/main.js b/main.js index 9967425..2a50a59 100644 --- a/main.js +++ b/main.js @@ -82,6 +82,23 @@ $( document ).bind("pagecreate", function () { $('#notification').notification('icon', './test/icon01.png'); }); + $('#gallery-demo').bind('pageshow', function () { + $('#gallery').gallery('add', './test/01.jpg'); + $('#gallery').gallery('add', './test/02.jpg'); + $('#gallery').gallery('add', './test/03.jpg'); + $('#gallery').gallery('add', './test/04.jpg'); + $('#gallery').gallery('add', './test/05.jpg'); + $('#gallery').gallery('add', './test/06.jpg'); + $('#gallery').gallery('add', './test/07.jpg'); + $('#gallery').gallery('add', './test/08.jpg'); + $('#gallery').gallery('add', './test/09.jpg'); + $('#gallery').gallery('refresh', 3); + }); + + $('#gallery-demo').bind('pagebeforehide', function () { + $('#gallery').gallery('empty'); + }); + $('#gallery-add').bind('vmouseup', function ( e ) { $('#gallery').gallery('add', './test/10.jpg'); $('#gallery').gallery('add', './test/11.jpg'); diff --git a/tips/custom-globalize-culture/custom-globalize-culture.html b/tips/custom-globalize-culture/custom-globalize-culture.html index 1395b26..cbabacc 100644 --- a/tips/custom-globalize-culture/custom-globalize-culture.html +++ b/tips/custom-globalize-culture/custom-globalize-culture.html @@ -4,7 +4,7 @@

    Loading custom globalize culture file

    -

    A predefined Globalize culture file is loaded by the loader in Tizen Web UI Framework, according to the current language. If you want to load additional culture file, you can create each culture files, and let to choose one of them to load it by using $.tizen.util.loadCustomGlobalizeCulture() API.

    +

    A predefined Globalize culture file is loaded by the loader in Tizen Web UI Framework, according to the current language. If you want to load additional culture file, you can create each culture files, and let to choose one of them to load it by using $.tizen.util.loadCustomGlobalizeCulture() API.


    diff --git a/tips/generate-elements-dynamically.html b/tips/generate-elements-dynamically.html index c092ef6..9f9d95c 100644 --- a/tips/generate-elements-dynamically.html +++ b/tips/generate-elements-dynamically.html @@ -9,7 +9,7 @@
    Example #1 Trigger Create
    Trigger Create after append element on HTML.
    -

    $( "#checkboxItems" ).append( newhtml) ;
    $( "#checkboxItems" ).trigger( "create" );
    @@ -32,7 +32,7 @@ Call buttonMarkup() or trigger "create" to the parent of button.

    -

    /* Append new button */
    var buttonTemplate = "<div data-role='button' data-inline='true' " + "data-icon='call' data-style='circle' " + "data-theme='s' class='newbutton'></div>";
    @@ -58,7 +58,7 @@ To add new <LI> element on JQM listview, insert items and call "refresh" to the listview.

    -

    var listTemplate = "<li>Appended New Item</li>";
    $( listTemplate ).appendTo( "#listview" );
    diff --git a/widgets/button/button.html b/widgets/button/button.html index bdbd5c7..eb5034c 100644 --- a/widgets/button/button.html +++ b/widgets/button/button.html @@ -17,11 +17,12 @@

      -
    • Basic - Text buttons, (icon+text) buttons
    • +
    • Basic buttons
    • List item 1
      Text Button TesT
    • List item 2
      Call Icon
    • List item 3
      Longer Call Icon
    • List item 4
      Icon Text
    • +
    • List item 3
      data-style, circle
    • Only icon buttons for Tizen
    • data-icon = "call"
    • data-icon = "rename"
    • diff --git a/widgets/ctxpopup.html b/widgets/ctxpopup.html index a624fbe..6e784e4 100644 --- a/widgets/ctxpopup.html +++ b/widgets/ctxpopup.html @@ -9,8 +9,8 @@
      diff --git a/widgets/ctxpopup.js b/widgets/ctxpopup.js index 2109a71..50aa329 100644 --- a/widgets/ctxpopup.js +++ b/widgets/ctxpopup.js @@ -1,17 +1,10 @@ $("#pop_js").live("vclick", function ( e ) { - if ( $(e.target).is(".ui-btn-ctxpopup-close") ) { - $(this).popup("close"); - } if ( $(e.target).is("#ctxpopup_update") ) { $("#btn_js").text("Peekaboo!"); $("#btn_js").buttonMarkup("refresh"); } }); -var closeTest = function() -{ - alert('test'); -} var popupTest = function() { $("#pop_text_only").popup("open"); diff --git a/widgets/datefield.html b/widgets/datefield.html index 8874b23..c6edec1 100644 --- a/widgets/datefield.html +++ b/widgets/datefield.html @@ -29,6 +29,18 @@
    +
  • Datetime Picker - (select a date first)
  • +
  • +
    + +
    +
  • +
  • Data Format(MMMM) - (select a date first)
  • +
  • +
    + +
    +
  • diff --git a/widgets/gallery.html b/widgets/gallery.html index d42e444..481d10e 100644 --- a/widgets/gallery.html +++ b/widgets/gallery.html @@ -1,19 +1,10 @@ -
    +