Re: Popup : probably stupid question
| From: | Andreas Kossmeier | Date: | Sun, 14 Oct 2001 08:14:33 +0000 |
| Subject: | Re: Popup : probably stupid question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1695@lists.php.net to get a copy of this message | ||
Luc Saint-Elie wrote:
> I forgot...
> If I do :
>
> <a href="" {popup sticky=false caption="$sorties[sorties].intitule"
> delay=400 capcolor="#ffffff" fgcolor="#ffffff" bgcolor="#000000"
> text="$sorties[sorties].description"} onclick="return
> false;">{$sorties[sorties].intitule}</a>
_please_ read the docs. you've been working with smarty for a so long
time, and you still do not understand the syntax ;)
http://www.phpinsider.com/php/code/Smarty/docs/c579.htm#AEN633
: Attributes to functions are much like HTML attributes. Static values
: don't have to be enclosed in quotes, but it is recommended for literal
: strings. If not quoted, you may use a syntax that Smarty may confuse
: with another function, such as a boolean value. Variables may also be
: used, and should not be in quotes.
the magic sentence ist the last one: "Variables may also be used, and
should not be in quotes."
andreas
--
andreas kossmeier
bergfex.at - http://www.bergfex.at