|
Форум сайта » WEB-мастеру » Вопросы по uCoz » Исправте пожалуйста скипт (Исправте пожалуйста скипт) |
Исправте пожалуйста скипт |
Дата: Четверг, 04.08.2011, 15:41 | Сообщение # 1
[Table]Вот,это код вида материалов каталога файлов.С ним что то не так,смотрите скрин,все файлы почему то опущены вниз,ну шаблон кривой получился.[/Table]
[Table]Ну и если не сложно,сделайте что бы изображения файлов показывались.[/Table] [Table]Исправте пожалуйста.[/Table] Code <div id="upnews"><table style="width: 100%; border-collapse: collapse;"><tbody> <tr> <div id="myGrid" style="display:none;"><div style="position:fixed;width:100%;text-align:center;padding-top:250px;"><img alt="" src="http://s22.ucoz.net/img/ma/m/i3.gif" border="0" width="220" height="19"></div></div><script type="text/javascript">function spages(p){if (1){document.location.href='http'+'://rucoz.com/news/'+p; return;}try{document.getElementById('myGrid').style.cssText = 'position:absolute; z-index:8; top:0;left:0; display:block; background: url(\'http://s22.ucoz.net/img/fr/g.gif\'); text-align:center; width:'+document.body.scrollWidth+'px; height:'+document.body.scrollHeight+'px;';}catch(e){}_uPostForm('',{url:'http://rucoz.com/index/0-0-0-'+p+'-'+Math.floor(Math.random()*1e8)});}</script><div id="allEntries"><div id="entryID965"><table style="width: 100%; border-collapse: collapse;"><tbody> <tr><td class="block_0"></td><td class="block_01"></td><td class="block_02"></td></tr> <tr><td class="block_03" colspan="1"></td> <td class="block_04" colspan="1"> <table style="width: 100%; border-collapse: collapse"><tbody> <tr> <td class="block_05" rowspan="1"></td> <td class="block_06"> <a href="$ENTRY_URL$" class="block_06">$TITLE$</a> </td> <td class="block_07" rowspan="1"></td> </tr> <tr><td class="block_08" rowspan="1" colspan="3"> <table style="width: 100%;"> <tbody> <tr> <td style="width: 10%;"><a href="$DOCPAGE_URL$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$DOCPAGE_URL$" align="left" class="imgnews" alt="" width="184" height="86"></a></td> <td style="width: 100%;"><ul class="uz"> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Статистика: <a class="m" href="$ENTRY_URL$">Просмотров $READS$</a> / <a class="m" href="$ENTRY_URL$#comments">Комментариев $COMMENTS_NUM$</a></span></li> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Дата: <a class="m" title="22:47:27" href="$ENTRY_URL$">$DATE$</a></span></li> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Категория: <a class="m" title="Категория" href="$CATEGORY_URL$">$CATEGORY_NAME$</a></span></li> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Опубликовал: <a class="m" href="" target="_blank">$USERNAME$</a></span></li> </ul> </td> </tr> </tbody></table> </td></tr> </tbody></table></td> <td class="block_09" colspan="1"> </td></tr><tr> <td class="block_10" colspan="1"></td> <td class="block_11" colspan="1"> <table width="100%" border="0"> <tr> <td width="50%" align="left"><style type="text/css">.u-star-rating{list-style:none;margin:0px;padding:0px;width:85px;height:17px;position:relative;background: url('http://rucoz.com/templates_ucoz/rating.png') top left repeat-x;}.u-star-rating li{padding:0px;margin:0px;float:left;}.u-star-rating li a{display:block;width:17px;height: 17px;line-height:17px;text-decoration:none;text-indent:-9000px;z-index:20;position:absolute;padding: 0px;overflow:hidden;}.u-star-rating li a:hover{background: url('http://rucoz.com/templates_ucoz/rating.png') left center;z-index:2;left:0px;border:none;}.u-star-rating a.u-one-star{left:0px;}.u-star-rating a.u-one-star:hover{width:17px;}.u-star-rating a.u-two-stars{left:17px;}.u-star-rating a.u-two-stars:hover{width:34px;}.u-star-rating a.u-three-stars{left:34px;}.u-star-rating a.u-three-stars:hover{width:51px;}.u-star-rating a.u-four-stars{left:51px;}.u-star-rating a.u-four-stars:hover{width:68px;}.u-star-rating a.u-five-stars{left:68px;}.u-star-rating a.u-five-stars:hover{width:85px;}.u-star-rating li.u-current-rating{top:0 !important; left:0 !important;margin:0 !important;padding:0 !important;outline:none;background: url('http://rucoz.com/templates_ucoz/rating.png') left bottom;position: absolute;height:17px !important;line-height:17px !important;display:block;text-indent:-9000px;z-index:1;}</style><script type="text/javascript">var usrarids={};function ustarrating(id,mark){if (!usrarids[id]){usrarids[id]=1;$(".u-star-li-"+id).hide();_uPostForm('',{type:'POST',url:'/index/',data:{'a':'65','id':id,'mark':mark,'mod':'index','ajax':'2'}});}}</script><ul id="uStarRating965" class="u-star-rating" title="Рейтинг: 5.0/1"> <li class="u-current-rating" id="uCurStarRating965" style="width:100%;"></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',1);return false;" class="u-one-star">1</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',2);return false;" class="u-two-stars">2</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',3);return false;" class="u-three-stars">3</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',4);return false;" class="u-four-stars">4</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',5);return false;" class="u-five-stars">5</a></li></ul></td> <td width="50%" align="right"><a href="$ENTRY_URL$"><img src="/templates_ucoz/podro.png" alt="" title="Подробнее"></a></td> </tr> </table> <td class="block_12" colspan="1"></td> </tr></tbody></table> <table width="100%" border="0"> <tr> </tr> </table> </td> Прикрепления: 4110166.jpg (129.2 Kb) Сообщение отредактировал: Lim0n4ik[13] - Четверг, 04.08.2011, 15:45 [Table]хДишь)))[/Table] |
Code <div id="upnews"><table style="width: 100%; border-collapse: collapse;"><tbody> <tr> <div id="myGrid" style="display:none;"><div style="position:fixed;width:100%;text-align:center;padding-top:250px;"><img alt="" src="http://s22.ucoz.net/img/ma/m/i3.gif" border="0" width="220" height="19"></div></div><script type="text/javascript">function spages(p){if (1){document.location.href='http'+'://rucoz.com/news/'+p; return;}try{document.getElementById('myGrid').style.cssText = 'position:absolute; z-index:8; top:0;left:0; display:block; background: url(\'http://s22.ucoz.net/img/fr/g.gif\'); text-align:center; width:'+document.body.scrollWidth+'px; height:'+document.body.scrollHeight+'px;';}catch(e){}_uPostForm('',{url:'http://rucoz.com/index/0-0-0-'+p+'-'+Math.floor(Math.random()*1e8)});}</script><div id="allEntries"><div id="entryID965"><table style="width: 100%; border-collapse: collapse;"><tbody> <tr><td class="block_0"></td><td class="block_01"></td><td class="block_02"></td></tr> <tr><td class="block_03" colspan="1"></td> <td class="block_04" colspan="1"> <table style="width: 100%; border-collapse: collapse"><tbody> <tr> <td class="block_05" rowspan="1"></td> <td class="block_06"> <a href="$ENTRY_URL$" class="block_06">$TITLE$</a> </td> <td class="block_07" rowspan="1"></td> </tr> <tr><td class="block_08" rowspan="1" colspan="3"> <table style="width: 100%;"> <tbody> <tr> <td style="width: 10%;"><a href="$IMG_URL1$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$IMG_URL1$" align="left" class="imgnews" alt="" width="184" height="86"></a></td> <td style="width: 100%;"><ul class="uz"> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Статистика: <a class="m" href="$ENTRY_URL$">Просмотров $READS$</a> / <a class="m" href="$ENTRY_URL$#comments">Комментариев $COMMENTS_NUM$</a></span></li> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Дата: <a class="m" title="22:47:27" href="$ENTRY_URL$">$DATE$</a></span></li> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Категория: <a class="m" title="Категория" href="$CATEGORY_URL$">$CATEGORY_NAME$</a></span></li> <li class="m"><span style="font-style: normal;color: rgb(1, 84, 127);font-size: 9pt;">Опубликовал: <a class="m" href="" target="_blank">$USERNAME$</a></span></li> </ul> </td> </tr> </tbody></table> </td></tr> </tbody></table></td> <td class="block_09" colspan="1"> </td></tr><tr> <td class="block_10" colspan="1"></td> <td class="block_11" colspan="1"> <table width="100%" border="0"> <tr> <td width="50%" align="left"><style type="text/css">.u-star-rating{list-style:none;margin:0px;padding:0px;width:85px;height:17px;position:relative;background: url('http://rucoz.com/templates_ucoz/rating.png') top left repeat-x;}.u-star-rating li{padding:0px;margin:0px;float:left;}.u-star-rating li a{display:block;width:17px;height: 17px;line-height:17px;text-decoration:none;text-indent:-9000px;z-index:20;position:absolute;padding: 0px;overflow:hidden;}.u-star-rating li a:hover{background: url('http://rucoz.com/templates_ucoz/rating.png') left center;z-index:2;left:0px;border:none;}.u-star-rating a.u-one-star{left:0px;}.u-star-rating a.u-one-star:hover{width:17px;}.u-star-rating a.u-two-stars{left:17px;}.u-star-rating a.u-two-stars:hover{width:34px;}.u-star-rating a.u-three-stars{left:34px;}.u-star-rating a.u-three-stars:hover{width:51px;}.u-star-rating a.u-four-stars{left:51px;}.u-star-rating a.u-four-stars:hover{width:68px;}.u-star-rating a.u-five-stars{left:68px;}.u-star-rating a.u-five-stars:hover{width:85px;}.u-star-rating li.u-current-rating{top:0 !important; left:0 !important;margin:0 !important;padding:0 !important;outline:none;background: url('http://rucoz.com/templates_ucoz/rating.png') left bottom;position: absolute;height:17px !important;line-height:17px !important;display:block;text-indent:-9000px;z-index:1;}</style><script type="text/javascript">var usrarids={};function ustarrating(id,mark){if (!usrarids[id]){usrarids[id]=1;$(".u-star-li-"+id).hide();_uPostForm('',{type:'POST',url:'/index/',data:{'a':'65','id':id,'mark':mark,'mod':'index','ajax':'2'}});}}</script><ul id="uStarRating965" class="u-star-rating" title="Рейтинг: 5.0/1"> <li class="u-current-rating" id="uCurStarRating965" style="width:100%;"></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',1);return false;" class="u-one-star">1</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',2);return false;" class="u-two-stars">2</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',3);return false;" class="u-three-stars">3</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',4);return false;" class="u-four-stars">4</a></li> <li class="u-star-li-965"><a href="#" onclick="ustarrating('965',5);return false;" class="u-five-stars">5</a></li></ul></td> <td width="50%" align="right"><a href="$ENTRY_URL$"><img src="/templates_ucoz/podro.png" alt="" title="Подробнее"></a></td> </tr> </table> <td class="block_12" colspan="1"></td> </tr></tbody></table> </td> [TableGrey] Пробуй..[/TableGrey] [TableRed]Улыбка мамы дороже каждого из вас.[/TableRed] |
| |||
| |||