我正在尝试访问缩略图图片网址并在我的列表框架模板中显示,以便点击它时。它将改变大图像src url。 我正在使用ebay提供的标签,但没有任何显示。但是代码是正确的。请指导我,看看我附带的HTML代码。
<div class="w3-half">
<img src="<main:imageurl />" id="bigpic" style="width: 470px; height: 470px; margin-right: 10px;">
</div>
<div class="w3-half" style="color: black; float: left; padding-left: 40px;">
<h2><main:name /></h2>
<div id="line"></div>
<div id="line"></div>
<div id="line"></div>
<br />
<table id="tab">
<tr id="tab_tr">
<td id="tab_td">DESCRIPTION:</td>
<td id="tab_td"><main:description /></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">COLOR:</td>
<td id="tab_td"><mycustom:Color/></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">MATERIAL:</td>
<td id="tab_td"><mycustom:Material/></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">STYLE:</td>
<td id="tab_td"><mycustom:Style/></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">SIZE</td>
<td id="tab_td"><main:productwidth /></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">CLOSURE</td>
<td id="tab_td"><main:closure /></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">DESIGN ON BACK</td>
<td id="tab_td"><mycustom:Design/></td>
</tr>
<tr id="tab_tr">
<td id="tab_td">TEAM</td>
<td id="tab_td"><mycustom:Team/></td>
</tr>
</table>
<br />
<img src="<main:thumbimageurl />" style="width: 60px;" alt="Thumb One" id="thumb1" class="thumbimg" onclick="document.getElementById('bigpic').src='<main:thumbimageurl />' ">
<img src="<main:thumbimageurl />" style="width: 60px;" alt="Thumb One" id="thumb1" class="thumbimg" onclick="document.getElementById('bigpic').src='<main:thumbimageurl />'">
<img src="<main:thumbimageurl />" style="width: 60px;" alt="Thumb One" id="thumb1" class="thumbimg" onclick="document.getElementById('bigpic').src='<main:thumbimageurl />'">
<img src="<main:thumbimageurl />" style="width: 60px;" alt="Thumb One" id="thumb1" class="thumbimg" onclick="document.getElementById('bigpic').src='<main:thumbimageurl />'">
</div></div>