Revision #7 has been created by Yang He on Jun 30, 2012, 6:44:49 AM with the memo:
Removed broken Chinese version link
« previous (#6) next (#8) »
CSS, JS and image URL shortcut methods
This is much cleaner and shorter then prefixing the URLs manually. Also, if you ever wish to move the directory of some sort of asset, all you need to do is modify the corresponding method in Html.
You may note that in the above example, `Html` does not *have* to extend `CHtml`. Neither do you have to name the class `Html`. It's all personal preference.