From: gs86.lee Date: Wed, 16 Jan 2013 10:39:26 +0000 (+0900) Subject: updated TizenWinset X-Git-Tag: 2.2_release~6^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f0adec23fcdb22527c81102c665aa219c0b993c;p=samples%2Fweb%2FTizenWinset.git updated TizenWinset Change-Id: Ib2032ec1ac7934eb5369c288a804f021028afc79 --- 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 @@ -
    +