Re: [SMARTY] html_options-Syntax
Peggy Schatz <[email protected]> Mon, 09 Oct 2006 15:23:30 +0200
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
> read about backticks:
> http://smarty.php.net/manual/en/language.syntax.quotes.php
>
>
I had read that after I found related topics on the forum before.
Obviously I didn't set the backticks correctly. Thanks for getting me to
try once more...
The following does the job:
{html_options name=$drop.fscm_1.name values=$fscm_1 output=$fscm_1
class="bg_`$drop.fscm_1.color`" style=width:`$drop.fscm_1.width`
onchange=$drop.fscm_1.js}
Ciao, Peggy
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php