Всем привет. Помогите, если можно.
Я скрыл чат от гостей, а как скрыть форму ответа? много чего пробовал, но не вышло
.
Код:
<!-- BEGIN CBOX - www.cbox.ws - v001 --> <div id="cboxdiv" style="text-align: center; line-height: 0"> <div><iframe frameborder="0" width="800" height="300" src="http://www4.cbox.ws/box/?boxid=3874041&boxtag=qbyvv5&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#000000 1px solid;" id="cboxmain"></iframe></div> <div><iframe frameborder="0" width="800" height="75" src="http://www4.cbox.ws/box/?boxid=3874041&boxtag=qbyvv5&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#000000 1px solid;border-top:0px" id="cboxform"></iframe></div> </div> <script type="text/javascript"> if(GroupID == 3 ){ document.getElementById("cboxmain").style.display='none' } </script> <!-- END CBOX -->