下面的HTML是皮肤代码的片断。
可以从缺省的主题和皮肤节点分离您的自定义代码;然后方便地更新缺省的主题和皮肤代码,并且不影响您的自定义代码。
You can separate your customization code from the default themes and skins code; then, you can update the default themes and skins code easily, without affecting your customizations.
可以为不同的外观修改和创建皮肤,而无需更改代码。
You can modify and create skins for different looks without changing the code.
要为站点重新设计皮肤,很多时候既费时又费力—尤其是当站点的代码已经相当一段时间没有被碰过的时候。
To re-skin the site, however, is just too expensive and confusing most of the time-especially if the site's code has sat untouched for a while.
可以用适合于您皮肤的内容代替上述代码中方括号中的内容。
Replace everything in square brackets with something suitable for your skin.
清单3的代码示例演示了如何向Spark皮肤添加fxg语法。
The code sample in Listing 3 demonstrates the addition of FXG syntax to the Spark skin.
MediaWiki利用了PHP的混合代码功能以及HTMLmarkup来让您能够通过皮肤的使用控制您wiki的观感。
MediaWiki takes advantage of PHP's ability to mix code and HTML markup to give you control over the look and feel of your wiki through the use of skins.
为了确定要编辑的皮肤类型,需要在Web浏览器中查看页面并显示源代码。
To determine which skin type to edit, view the page in a Web browser and display the source code.
清单4中的代码演示了如何将FXG皮肤用作自定义组件。这种方法是首选的实现方法,因为Flex编译器能够优化 FXG代码。
The example shown in Listing 4 demonstrates how you might use an FXG skin as a custom component: This is the preferred method of implementation because the Flex compiler optimizes the FXG code.
清单4中的代码演示了如何将FXG皮肤用作自定义组件。这种方法是首选的实现方法,因为Flex编译器能够优化 FXG代码。
The example shown in Listing 4 demonstrates how you might use an FXG skin as a custom component: This is the preferred method of implementation because the Flex compiler optimizes the FXG code.
应用推荐