我用一个元子构造一个组织结构图,每个图表成员都有一个子。 我想改变载有纽芬兰语和同样纽芬兰语的四国语。
例如,在我下面的法典中,如果选择了7770001荷兰语,那么我就想将周围的DIV rocItemTemplate改为不同的颜色,但还有具有同样价值的儿童的其他干.。 谁能帮助?
<div id="RadOrgChart1" class="RadOrgChart RadOrgChart_Default">
<!-- 2012.1.301.40 --><div class="rocViewPort" style="visibility: hidden; width: 800px; ">
<ul class="rocNodeList rocRootNodeList" style="width: 780px; visibility: visible; ">
<li class="rocNode rocRootNode" style="width: 770px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" name="ctl43$LinkButtonNode" value="02079891000" id="ctl43_LinkButtonNode" class="middle">
</div>
</div><ul class="rocNodeList rocLevel1" style="width: 770px; ">
<li class="rocNode rocFirst rocLast rocOnly" style="width: 770px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" name="ctl47$LinkButtonNode" value="77770001" id="ctl47_LinkButtonNode" class="middle">
</div>
</div><ul class="rocNodeList rocLevel2" style="width: 770px; ">
<li class="rocNode rocFirst" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" value="01494561123" name="ctl51$LinkButtonNode" id="ctl51_LinkButtonNode" class="middle">
</div>
</div><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span>
</div></li><li class="rocNode" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" name="ctl54$LinkButtonNode" value="77770001" id="ctl54_LinkButtonNode" class="middle">
</div>
</div><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span>
</div></li><li class="rocNode" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" name="ctl57$LinkButtonNode" value="77770002" id="ctl57_LinkButtonNode" class="middle">
</div>
</div><ul class="rocNodeList rocLevel3" style="width: 120px; ">
<li class="rocNode rocFirst rocLast rocOnly" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" name="ctl61$LinkButtonNode" value="0061422226212" id="ctl61_LinkButtonNode" class="middle">
</div>
</div><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span>
</div></li>
</ul><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span><span class="rocLineDown"><!-- --></span>
</div></li><li class="rocNode rocLast" style="width: 380px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" name="ctl64$LinkButtonNode" value="77770003" id="ctl64_LinkButtonNode" class="middle">
</div>
</div><ul class="rocNodeList rocLevel3" style="width: 380px; ">
<li class="rocNode rocFirst" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" value="0061431540656" name="ctl68$LinkButtonNode" id="ctl68_LinkButtonNode" class="middle">
</div>
</div><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span>
</div></li><li class="rocNode" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" value="0061883836198" name="ctl71$LinkButtonNode" id="ctl71_LinkButtonNode" class="middle">
</div>
</div><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span>
</div></li><li class="rocNode rocLast" style="width: 120px; "><div class="rocItem rocNoOwnImage">
<div class="rocItemTemplate">
<input type="submit" value="0061883836255" name="ctl74$LinkButtonNode" id="ctl74_LinkButtonNode" class="middle">
</div>
</div><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span>
</div></li>
</ul><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span><span class="rocLineDown"><!-- --></span>
</div></li>
</ul><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span><span class="rocLineDown"><!-- --></span>
</div></li>
</ul><div class="rocNodeLines">
<span class="rocLineHorizontal"><!-- --></span><span class="rocLineUp"><!-- --></span><span class="rocLineDown"><!-- --></span>
</div></li>
</ul>
</div><input id="RadOrgChart1_ClientState" name="RadOrgChart1_ClientState" type="hidden">
Edit:
我还要说,当 but子被点击而没有点击次数的所有其他人时,必须改为另一类。