facebook

Using CSS

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #339868 Reply

    Rathinavel
    Member

    Hi all,

    I had several pages and multi-pages. I had many controls.

    Now I thought of changing the colors of the navigation bar, panel, and buttons i had used.

    The problem is I had to go to each and every page and change the properties for every control I had used.

    Is there any way to change the css properties of the controls dynamically.

    It would be very good for me to understand if you attach an example/ a project along with this thread.

    Warm Regards,
    Vel.

    #339875 Reply

    Brandon
    Member

    you can use the css property for most of them:
    $(‘#m1-formname-elementname’).css(‘property’,’value’);

    #339892 Reply

    Rathinavel
    Member

    Hi CincyPLanet,

    yes I tried with that, but

    I’m able to apply the CSS Properties for the panels alone

    NOT for the Other Controls 🙁

    here is the Project file i had tried. Please have a look in that.

    Warm Regards,
    Vel

    Attachments:
    You must be logged in to view attached files.
    #339911 Reply

    Brandon
    Member

    Try this.
    Create a new form. Save it as cssTest
    Place a button on the form and do not change the name.
    On the buttons on Click action change to run javascript.
    In the place to put javascript place this line:

    $('#m1-cssTest-push1').css('opacity','0.5');

    Run the form.
    When you click the button it should turn semi-transparent.

    Let me know if this does, or does not work for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Using CSS

You must be logged in to post in the forum log in