61,115
社区成员
发帖
与我相关
我的任务
分享
<div id="product-details" class="product-collateral">
<script type="text/javascript">
function showTab(tabHeadId,tabContentId)
{
var tabDiv = document.getElementById("product-details-contents");
var taContents = tabDiv.childNodes;
for(i=0; i<taContents.length; i++) {
if(taContents[i].id!=null && taContents[i].className == 'collateral-box') {
taContents[i].style.display = 'none';
}
}
document.getElementById(tabContentId).style.display = '';
//alert(document.getElementById(tabContentId).style.display);
var tabHeads = document.getElementById('product-details-tabs').getElementsByTagName('span');
for(i=0; i<tabHeads.length; i++) {
tabHeads[i].className='tab';
}
document.getElementById(tabHeadId).className='curtab';
document.getElementById(tabHeadId).blur();
}
</script>
<div id="product-details-tabs" class="tabs">
<span id="description-tab" class="curtab" onclick="javascript:showTab('description-tab', 'description');">Description</span>
<span id="specification-tab" class="tab" onclick="javascript:showTab('specification-tab', 'specification');">Specification</span>
<span id="warranty-tab" class="tab" onclick="javascript:showTab('warranty-tab', 'warranty');">Warranty</span>
<span id="review-tab" class="tab" onclick="javascript:showTab('review-tab', 'review');">Reviews</span>
</div>
<div id="product-details-contents" class="collateral-boxes">
<div id="description" class="collateral-box" style="display:block">
test message here!
<div class="product-specs">
Re-defining the perception of advanced mobile phones… the HTC Touch Diamond™ signals a giant leap forward in combining hi-tech prowess with intuitive usability and exhilarating design.<br />
<br />
Featuring a sharp 2.8-inch touch screen housed within a stunning formation of brushed metal and flawless faceted edges, the HTC Touch Diamond is as beautiful to behold as it is to use.<br />
</div>
</div>
<div id="specification" class="collateral-box" style="display:none">
<div class="collateral-box attribute-specs">
<table cellspacing="0" class="data-table" id="product-attribute-specs-table">
<tr>
<td class="label">Model</td>
<td class="data">HTC Touch Diamond</td>
</tr>
<tr>
<td class="label">In Depth</td>
<td class="data">Re-defining the perception of advanced mobile phones… the HTC Touch Diamond™ signals a giant leap forward in combining hi-tech prowess with intuitive usability and exhilarating design.
</td>
</tr>
<tr>
<td class="label">Band</td>
<td class="data">GSM 850, GSM 900, GSM 1800, GSM 1900, HSDPA 2100</td>
</tr>
<tr>
<td class="label">Dimensions</td>
<td class="data">102 mm (L) X 51 mm (W) X 11.35 mm (T)</td>
</tr>
<tr>
<td class="label">Feature</td>
<td class="data">Alarm, Antenna Internal</td>
</tr>
</table>
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
</div>
</div>
<div id="warranty" class="collateral-box" style="display:none">
No warrant information currently available.
</div>
<div id="review" class="collateral-box" style="display:none">
No customer reviews posted yet.
</div>
</div>
</div>