Excuse me, how can I jump from the character list on the left to the one on the right? What exactly should be put in href="". I'm a novice, I just learned the framework, and I don't understand it very well.
replyCan you see the next reply, the picture on the right inside.
<a href="" target="right">{$vv.auth_name}</a>I don’t know how to put the link inside, can you understand it?
reply<script language="JavaScript">
function expand(el) {
childobj = document.getElementById("child" + el);
if (childobj.style.display == 'none'){
childobj.style.display = 'block';
}else {
childobj.style.display ='none';
}
return;
}
</script>
<body>
<div>
<foreach name="auth_infoA" item="v">
<table>
<tr>
<td>
<a onclick="expand('{$v.auth_id}')" href="javascript:void(0);">{$v.auth_name}</a>
</td>
</tr>
</table>
<table id="child{$v.auth_id}" style="display: none">
<foreach name="auth_infoB" item="vv">
<if condition=" $vv.auth_pid heq $v.auth_id ">
<tr>
<td>
<a href=" " target="right">{$vv.auth_name}</a>
</td>
</tr>
</if>
</foreach>
</table>
</foreach>
</div>
</body>
I used tp3.2.3 to do it. This is the front-end code. I want to jump to right, but I don’t know how to write it. Can you simulate it for me? I just learned it and there are still too many I don't understand, please help me if you can. Thank you
<a href="" target="right">{$vv.auth_name}</a>I don’t know how to put the link inside, so you can understand
I don’t quite understand what you want to ask? Please upload the code and have a look