ЧТОБЫ ЧАТ ВЫДВИГАЛСЯ С ЛЕВОГО КРАЯ ЭКРАНА, ПРИ НАЖАТИИ НА КНОПКУ... ВОТ САМ ЧАТ
Пробуйте Поставить в Начало HTML низ
<!--Начало чата--> <div id="P1" class="m1" style=" left:0; z-index:1000; bottom:0px; margin-left:-784px; position:fixed; "> <div id=go3 style=" width:811px; height:486px; background: url(http://uploads.ru/i/M/H/h/MHhEF.gif) right top; "><div class="mycontent radiys shadow" style=" color:#F3AC3A; border:#FBAF5F 1px solid; z-index:100; padding:12px 15px; width:734px; height:484px; margin-top:20px; margin-left: 11px; position:absolute; "> <!-- БЛОК КОНТЕНТА--> <style> .radiys { border-radius:9px; -webkit-border-radius:9px; -khtml-border-radius:9px; -moz-border-radius:9px; -o-border-radius:9px; } .shadow { box-shadow: 0px 5px 18px #000; -webkit-box-shadow:0px 5px 18px #000; -khtml-box-shadow:0px 5px 18px #000; -moz-box-shadow:0px 5px 18px #000; } .mycontent p a{ font-size:14px; color:#EA903F; display:block; text-shadow:#000 1px 1px 1px; } </style> <script type="text/javascript" src="http://RUBLIK.chatovod.ru/widget.js?height=450" charset="UTF-8"></script> </div><!--//End/БЛОК КОНТЕНТА--> <div></div></div> <script> $("#go3").click(function(){ $("#P1.m1").animate({ marginLeft:"-7px"},550,"swing",function(){ $("#P1").toggleClass("m1"); $("#P1").toggleClass("m2"); return false;}); $("#P1.m2").animate({ marginLeft:"-784px"},550,"swing",function(){ $("#P1").toggleClass("m2"); $("#P1").toggleClass("m1"); return false;}); }); $(document).ready(function() { $("#go3 .mycontent p a").each(function(){ if($(this).attr("href")==""){ l=$($(this).attr("alt")).attr("href"); if(l==undefined){$(this).replaceWith("");return;} else{$(this).attr("href",l)} } }); }); </script><!--Конец чата-->
Отредактировано Deff (Пн, 26 Мар 2012 14:52:52)