On Wed, Sep 22, 2010 at 2:00 PM, Rafael Carrasco
<[email protected]>wrote:
> Thanks Tobias and Jeremy, but it still doesn't work. Apparently, the line:
>
>
> wrapperDiv.style = config.macros.progressbar.containerDivStyle;
>
> generates an error: "*setting a property that has only a getter*"
>
Ouch, of course. Rather than having all the CSS properties in a string, how
about using jQuery's css() method to assign them?
eg
config.macros.progressbar.defaultContainerDivStyle =
{"width": "200px", "border": "1px solid #0044bb", "margin": "2px
0.5em 2px 0.5em",
"padding": "1px", "background": "white", "position": "static",
"float": "none", "display": "inline-block"};
....
progressbar.css(config.macros.progressbar.defaultContainerDivStyle);
Cheers
Jeremy.
display: inline-block;";
> Also, I don't need to "echo" the wrapperDiv?
>
> Cheers
>
>
> --
> *Rafael da Silva Carrasco*
> *Mestrando em Ciência da Computação*
> *Universidade Federal de Viçosa*
>
> Facebook <http://www.facebook.com/mestrecarrasco>
> LinkedIn<http://br.linkedin.com/in/rafaelcarrascoufv>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tiddlywiki%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
>
--
Jeremy Ruston
mailto:[email protected]
http://www.tiddlywiki.com
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.