Я хочу сделать меню сбоку что бы были такие поля:
облако тегов
и это облако внизу
с тегами ничего не получается,а дальше даже пробывать не стал( сам срипт тега стоит ниже.не стал его сюда вписывать.
Новости форума
под ним новости о форуме
Конкурсы
и ряд конкурсов кликабельных
Баннер
и наш баннер
Попытался сделать начало ничего не вышло=(
может я не правильно что то там сделал,кто нибудь может посмотреть и помочь с всем скриптом,если можете с остальными блоками просто название-текст.
http://pros.mybb.by/ - форум на котором стараюсь поставить
вот то что у меня тут вышло
<script type="text/javascript"> var news = new Array () news.push(new Array("Облако тегов", "<br><div id=yoblako align=center><noindex> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=1rel=nofollow class=eTag eTagGr8>Знакомимся</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=12rel=nofollow class=eTag eTagGr8>Анкета</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=100rel=nofollow class=eTag eTagGr8>Помощь</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=1012rel=nofollow class=eTag eTagGr8>Звания</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=2rel=nofollow class=eTag eTagGr8>Заявки</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=9rel=nofollow class=eTag eTagGr8>Конкурсы</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=49rel=nofollow class=eTag eTagGr8>F.A.Q.</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=158rel=nofollow class=eTag eTagGr8>Правила</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=158rel=nofollow class=eTag eTagGr8>Награды</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=863rel=nofollow class=eTag eTagGr8>Баннер ФАО</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=255rel=nofollow class=eTag eTagGr8>Для песен</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=580rel=nofollow class=eTag eTagGr8>Обновления</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=84rel=nofollow class=eTag eTagGr8>Аватарки</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=81rel=nofollow class=eTag eTagGr8>Интернет</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=16rel=nofollow class=eTag eTagGr8>Музыка</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=53rel=nofollow class=eTag eTagGr8>Книги</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=46rel=nofollow class=eTag eTagGr8>Телефоны</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=48rel=nofollow class=eTag eTagGr8>Авто</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=17rel=nofollow class=eTag eTagGr8>Кино</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=15rel=nofollow class=eTag eTagGr8>Сериалы</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=54rel=nofollow class=eTag eTagGr8>Кинорежиссёры</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=25rel=nofollow class=eTag eTagGr8>Актёры</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=23rel=nofollow class=eTag eTagGr8>Актрисы</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=31rel=nofollow class=eTag eTagGr8>Спорт</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=92rel=nofollow class=eTag eTagGr8>Тайм-аут</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=89rel=nofollow class=eTag eTagGr8>Футбол</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=75rel=nofollow class=eTag eTagGr8>Психология</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=36rel=nofollow class=eTag eTagGr8>Дружба</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=41rel=nofollow class=eTag eTagGr8>Любовь</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=58rel=nofollow class=eTag eTagGr8>Виртуал</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=39rel=nofollow class=eTag eTagGr8>+18</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=37rel=nofollow class=eTag eTagGr8>Женское</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=40rel=nofollow class=eTag eTagGr8>Мужское</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=95rel=nofollow class=eTag eTagGr8>Великобритания</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=30rel=nofollow class=eTag eTagGr8>Индия</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=99rel=nofollow class=eTag eTagGr8>Норвегия</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=97rel=nofollow class=eTag eTagGr8>Франция</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=96rel=nofollow class=eTag eTagGr8>Италия</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=101rel=nofollow class=eTag eTagGr8>Программы</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=102rel=nofollow class=eTag eTagGr8>Проблемы с ПК</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=98rel=nofollow class=eTag eTagGr8>Катастрофы</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=52rel=nofollow class=eTag eTagGr8>Неопознанное</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewforum.php?id=5rel=nofollow class=eTag eTagGr8>Флудилка</a> <a style=font-size:9pt;href=http://brutalforum.mybb.ru/viewtopic.php?id=1020rel=nofollow class=eTag eTagGr8>Курилка</a> </noindex></div></center> ")) news.push(new Array("Заголовок2", "Новость2")) var mynews = ""; for (q=0; q<news.length; q++){ mynews += "<div class='container' style='padding:8px'><h2><center>"+news[q][0]+"</center></h2>"+news[q][1]+"</div><br /><br />"; } var block=mynews; var arr=document.getElementsByTagName("div") i=0 str=document.URL while(arr[i] ){ if((str.substring(str.lastIndexOf('/')+1)=="" || str.substring(str.lastIndexOf('/')+1)=="index.php") && arr[i].className=="main"){ name=arr[i].innerHTML name=name.substring(0) arr[i].innerHTML="<table><tr><td width=20% valign=top>"+block+"</td><td width=80%>"+name+"</td></tr></table>" } i++ } </script>
Отредактировано kizzi (Вс, 10 Июл 2011 22:45:00)