Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    May 2008
    Posts
    30
    Vote Rating
    0
    devext is on a distinguished road

      0  

    Default How to dynamically change the css style of the title?

    How to dynamically change the css style of the title?


    Hi friends,


    How can I change the css style of the title 'PRO SERIES 1' with 'beforeexpand' ?
    Thanks !

    HTML Code:
    proltd1.on('beforeexpand', ????????? );
    Accordion menu :

    HTML Code:
    new Ext.Panel({
      renderTo:'menu-partie1',
      autoHeight: true,
      ctCls: 'menu-rubrique-principale-header',
      baseCls: 'content-accordion',
      layout: 'accordion',
        defaults: {
        bodyStyle: 'padding:0.2em'
      },
      layoutConfig: {
        titleCollapse: true,
        animate: true,
        fill: false
      },
      items:[
      proltd1 = new Ext.Panel({
          id:'proltd1',
          title: 'PRO SERIES 1',
          cls: 'menu-rubrique-principale',
          hideCollapseTool:true,
          collapsed:true,
          contentEl:'proltd0'
    
      }),
      proltd2 = new Ext.Panel({
          id:'proltd2',
          title: 'PRO SERIES 2',
          cls: 'menu-rubrique-principale',
          hideCollapseTool:true,
          collapsed:true,
          contentEl:'classic-series'
      })
      
     ]
    });

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    3
    tryanDLS is on a distinguished road

      0  

    Default


    I would think you could inspect the rendered HTML in firebug to learn what CSS class is applied to the title element. You could add a CSS override to change it, over you could get a reference to that Element and call setStyle or addClass.

Thread Participants: 1