1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Bangalore
    Posts
    95
    Vote Rating
    1
    Rameshlamani is on a distinguished road

      0  

    Default How to focus/highlight inside toolbar elements in sencha touch2

    How to focus/highlight inside toolbar elements in sencha touch2


    I have done application using sencha touch2 . as per requirement i need to focus/highlight inside the toolbar elements, when mouse is over(point to) on particular elements.can any tell me how to achieve this one.

    Here is my code:
    Code:
    initialize:function () {     this.callParent(arguments);     var Button1 = {         xtype:"button",         id: 'suvilasBtn',                     html: '<img  height="30" width="40", src="resources/sass/images/icons/about.png" />',                                         scope:this     };     var Button2 = {         xtype: "button",         id: 'projectBtn',         html: '<img  height="30" width="40", src="resources/sass/images/icons/projects.png" />',         handler: this.onProjectsButtonTap,         scope: this     };     var bottomToolbar = {         xtype:"toolbar",         docked:"bottom",         scrollable: false,                               defaults: {             iconMask: true,             ui: 'plain'         },         layout: {             pack : 'center',             align: 'center'         },         items:[             Button1,             Button2         ]     };     this.add([ bottomToolbar ]); }

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    549
    Vote Rating
    18
    estesbubba will become famous soon enough

      0  

    Default


    This is a mobile touch framework and there is no concept of hover/mouse over. A touch device doesn't know where your finger is until you tap. If you need this functionality in Chrome then you need to use CSS.

  3. #3
    Sencha User
    Join Date
    May 2012
    Location
    Bangalore
    Posts
    95
    Vote Rating
    1
    Rameshlamani is on a distinguished road

      0  

    Default


    Thank you for information

Thread Participants: 1

Tags for this Thread