- HTML code
<a href="Register.aspx"><img src="images/reg_icon_jxs.jpg" border="0" /></a><a href="Register.aspx"><img src="images/reg_icon_sjs.jpg" border="0" /></a><a href="Register.aspx"><img src="images/reg_icon_gcs.jpg" border="0" /></a><a href="Register.aspx"><img src="images/reg_icon_yz.jpg" border="0" /></a>
- HTML code
<li><a id="reg_type_1" href="javascript:void(0);" onclick="tab('reg_type_','reg_form_','hover',4,1);SetInputId(1)">经销商用户</a></li> <li><a id="reg_type_2" href="javascript:void(0);" onclick="tab('reg_type_','reg_form_','hover',4,2);SetInputId(2)">设计师用户</a></li> <li><a id="reg_type_3" href="javascript:void(0);" onclick="tab('reg_type_','reg_form_','hover',4,3);SetInputId(3)">工程商用户</a></li> <li><a id="reg_type_4" href="javascript:void(0);" onclick="tab('reg_type_','reg_form_','hover',4,4);SetInputId(4)">业主用户</a></li>
如何根据A标签跳入相应的选项卡
------解决方案--------------------------------------------------------
使用jqueryui可以比较方便的实现
http://jqueryui.com/demos/tabs/