Home  >  Article  >  Backend Development  >  javascript - PHP array traversal problem, js problem, mainly when clicking on the product thumbnail, the click event will be large,

javascript - PHP array traversal problem, js problem, mainly when clicking on the product thumbnail, the click event will be large,

WBOY
WBOYOriginal
2016-08-23 09:17:47894browse

PHP array traversal problem, js problem, mainly click on the product thumbnail, the click event will be enlarged,
javascript - PHP array traversal problem, js problem, mainly when clicking on the product thumbnail, the click event will be large,
Now click on the first picture and the following pictures are all the first enlarged pictures
The code is as follows
{ foreach from=$goods_list item=goods}

<code>        <tr>
            <td style="width: 10%;font-size: 16px;border-bottom:1px solid #ccc;"><a name='fff' href='javascript:void(0);' onclick='picBig();'><img style="width:50px;height: 50px;" src="{$goods.original_img}"/></a></td></code>