Results 1 to 5 of 5

Thread: browser compatibility

  1. #1
    Ext User
    Join Date
    Nov 2008
    Posts
    22

    Default browser compatibility

    i am using viewport for showing tabs in north panel area. Its showing but in mozilla and not in Internet Explorer. Its giving error in this line. Pls tell me is there any prblm in this Js :

    viewport.layout.north.panel.getBottomToolbar().insertButton(''+id+'',[{text:''+name+'',id:''+id+'',handler:onButtonClick,icon:''+img+'',cls:'x-btn-text-icon',tooltip:''+desc+'',border:true}]);

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    "giving error". Hmm. My crystal ball has failed me.

    I have to assume that what you mysteriously show us is some kind of string concatenation for some reason building Javascript source code???

    Because otherwise, how could a string "+id+" be a valid first param to insertButton?

  3. #3
    Ext User
    Join Date
    Nov 2008
    Posts
    22

    Default

    i am new to ext pls help me

  4. #4
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    "please help me" is not offering any more useful information for anyone to help you.

    Please read this article completely: http://extjs.com/learn/Ext_Forum_Help

  5. #5
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    If you are not using Firefox with Firebug to develop, then you are not doing your job properly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •