jQWidgets Forums

Tagged: 

This topic contains 5 replies, has 4 voices, and was last updated by  Peter Stoev 12 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Theme change Posts
  • Theme change #8784

    liviucatrina
    Member

    Hello,

    How can I change the theme at runtime? What is the easiest way?

    Theme change #8787

    Peter Stoev
    Keymaster

    Hi liviucatrina,

    Load the Theme’s file (ex: jqx.energyblue.css). Set the widget’s theme property.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Theme change #9167

    carlo
    Participant

    Hi Peter,

    I would like to set a ‘default’ theme at the beginning of $(document).ready() instead of specifying the theme for each single widget.

    Like jqxSetDefaultTheme(‘blueenergy’);

    Best Regards,
    Karlheinz

    Theme change #9229

    Peter Stoev
    Keymaster

    Hi Karlheinz,

    There’s currently no such functionality in our product.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Theme change #20922

    mliga
    Member

    Really? (asking just to be sure i got it right)
    Looking to add user selectable theme support to an app, does that mean that i have to go after each widget and add a theme option?
    I know for sure all widget will use the same theme, so i think i can change it globally before widget are created (i don’t need to change this at runtime, will reload page).

    Theme change #20926

    Peter Stoev
    Keymaster

    Hi,

    At present, to change a theme, use the widget’s theme property. Also make sure that the Theme’s CSS file is already loaded on your page.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.