开发者可以使用标准的表单标签,但是Facebook以隐含输入的方式加入了更多的参数。
Developers can use standard HTML forms, but Facebook adds more parameters in the form of hidden inputs.
该列就是团队区域的名字,参数将其作为标签使用。
This column is the name of the team area, to be used as the label for the parameter.
当然,使用标签最大的缺点是,我们不得不给每个参数都安排一个标签,参数多的话实在令人乏味。
Of course, the biggest drawback to using the tag is that we have to lay out each and every parameter in a separate tag, and that will get somewhat tedious over time.
可以修改参数的标签,使用户更容易理解。
You can change the label of the parameter to make it more user friendly.
我们在封装标签的NoteBook窗口小部件中使用pageconfigure函数来完成这一任务,传入的第一个参数为被引用的标签的符号名。
We do this using the pageconfigure function on the enclosing NoteBook widget, passing the symbolic name of the referenced TAB as the first argument.
最多可组合四个属性标签。如果其参数中带有同一个属性的不同值,则使用其中最右边一个参数的值。
Combination of up to four property tags. If the arguments describe different values for the same property the value of the rightmost argument is used.
以上的模板标签例子使用简单的参数,用引号和逗号将各自隔开。
The above template tag example USES simple parameters separated from each other with quote marks and commas.
我们可以只使用CSS改变标签结果的外观,来让问题简单化。让我们更深入一些,同时改变标签参数的内容吧。
Keeping things simple, we could just change the look of the tag results using CSS. Let's go farther and also change the content within the tag's parameters.
我们可以只使用CSS改变标签结果的外观,来让问题简单化。让我们更深入一些,同时改变标签参数的内容吧。
Keeping things simple, we could just change the look of the tag results using CSS. Let's go farther and also change the content within the tag's parameters.
应用推荐