JQuery Mobile Collapsible header color -



JQuery Mobile Collapsible header color -

i need when 2 textboxes having text.. create collapsible header color green.. know how first part.. how alter collapsible header color don't know...

http://jquerymobile.com/test/docs/content/content-themes.html

here written can customize custom css... tried didn't help.. here code of creation

var colldiv = '<div class="added" data-role="collapsible" data-collapsed="true"><h3 style="background: rgba(204,244,204,0.9);" id="results-header">' + hoursfrom + ":" + minsfrom + " - " + hoursto + ":" + minsto + '</h3>' + textprojectname + textprojectdata + '</div>'; $('.spantimetable').append(colldiv);

docs:

http://jquerymobile.com/demos/1.0b1/docs/content/content-themes.html

theming collapsible blocks

to set color of collapsible header, add together data-theme attribute collapsible container. icon , body not themable through info attributes, can styled straight custom css.

<div data-role="collapsible" data-collapsed="true" data-theme="a">

try this:

var colldiv = '<div class="added" data-role="collapsible" data-collapsed="true" data-theme="f"><h3 style="background: rgba(204,244,204,0.9);" id="results-header">' + hoursfrom + ":" + minsfrom + " - " + hoursto + ":" + minsto + '</h3>' + textprojectname + textprojectdata + '</div>'; $('.spantimetable').append(colldiv);

update:

a new themeroller tool launched jquery mobile 1.0 release in 2011. in meantime, it's simple manually edit base of operations swatches in default theme and/or add together additional swatches editing theme css file: re-create block of swatch styles, rename classes new swatch letter name, , tweak colors.

jquery colors header jquery-mobile

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -