[ic] IC Tags and CSS IDs
Kevin Walsh
kevin at cursor.biz
Thu Aug 17 14:15:05 EDT 2006
danb at berganconsulting.com wrote:
> Is there a way to get CSS IDs to "pass through" interchange tags?
>
> I'm using the <label> tag, so I would like to do the following:
> <p><label for="b_country">[error name=b_country
> std_label="[L]Country[/L]" required=1]</label>
> [display type=country_select name=b_country value="[value country]"
> class="sel" id="b_country"]
> </p>
>
> The "class" is output by the display tag, but the id is not.
>
> I also tried the same thing with the [shipping] tag:
> [shipping widget=select class=sel id=shipping_method]
>
> Again, the class is present in the output, but the id is not.
>
> Am I doing something incorrectly, or is this not possible?
>
Try the "extra" parameter in your [display] call:
[display
type=country_select
name=b_country
value="[value country]"
class=sel
extra=|id="b_country"|
]
Also in your [shipping] call:
[shipping
widget=select
class=sel
extra=|id="shipping_method"|
]
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list