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

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

WBOY
WBOYOriginal
2016-08-23 09:02:28831browse

PHP array traversal problem, js problem, mainly click on the product thumbnail, the click event will be enlarged,
PHP array traversal problem, js problem, mainly when clicking on 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>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn