js var Drag = (function () { var $this; function drag() { this.ini.apply(this, arguments); } drag.prototype = { ini:function (inside, outside) { $this = this ... Read More
posted @ 2012-06-12 20:25 break_happy Views(358) Comments(0) Diggs(0)
foreach可以访问关联数组,section只能访问索引数组。smarty foreach相关属性详解{foreach from=$myarray key="mykey" item="myitem"}{foreach $contact as $key => $value} {$key}: {$value} {/foreach}{foreach $myPeople as $value} <li>{$value@key}: {$value}</li>{/foreach}name{foreach $arry as $key=&g Read More
posted @ 2012-06-12 11:30 break_happy Views(2075) Comments(0) Diggs(0)