Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8602985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:13:04+00:00 2026-06-12T02:13:04+00:00

I need to swap the css for my Mobile application done in Sencha Touch.

  • 0

I need to swap the css for my Mobile application done in Sencha Touch.

At the moment I=m not obtaining any result.
Could you tell me how to do it?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:13:05+00:00Added an answer on June 12, 2026 at 2:13 am

    I solved the issue using this code…

    var accessibilityButton = {
                    xtype: 'button',
                    ui: 'custom-btn-confirm',
                    maxWidth: '360px',
                    centered: true,
                    flex: 1,
                    scope: this,
                    style: 'color: #ffffff',
                    text: 'Active Accesibility',
                    ui: 'custom-btn-confirm',         
    
                    handler: function changeStyle() {
                        // Swap the CSS for Accessibility
                        var i, a, url, btn;
                        for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
                            if(a.getAttribute("rel").indexOf("style") != -1) {
                                url = a.href;
                                btn = document.getElementById("ext-element-114");
    
                                if(url.lastIndexOf('app.css') !== -1) {
                                    a.href = 'resources/css/app-accesibility.css';
                                    btn.textContent = "AAAA";
                                }
                                else {
                                    a.href = 'resources/css/app.css';
                                    btn.textContent = "BBBB";
                                }
                            } 
    
                        }
    
                    }
    
                };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My web application target to major Smartphones and I need to change the CSS
I need to swap the visual order of 2 elements using CSS HTML order:
I need jquery, or css only if possible,to swap background of class to make
I dont know why this will not work, i need to swap the two
I have a need to swap between different DB instances of the same design.
I need to make javascript code to swap images with option change. Here is
I need to swap out the out-of-the-box rich text editor with the Telerik editor
I need to swap first n elements from two non repeating sequences(arrays), where n
Basically, I need to swap a JSP form with a Flash form should the
I need to swap the endianness of some values and just wondered if there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.