Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Корзина » Нужен скрипт...


Нужен скрипт...

Сообщений 581 страница 600 из 754

581

Lindetta
Немного ошибся.
Вот их скрипт "Гороскопа"

Код:
<script type="text/JavaScript"><!--
var mydate=new Date();var year=mydate.getYear();if (year < 1000) year+=1900;var day=mydate.getDay();var month=mydate.getMonth();var daym=mydate.getDate();if (daym<10)daym="0"+daym;var dayarray=new Array('Вск','Пнд','Втр','Срд','Чтв','Птн','Сбт');var montharray=new Array('Янв','Фев','Мар','Апр','Мая','Июн','Июл','Авг','Сен','Окт','Ноя','Дек');document.write("<b>Гороскоп</b> на "+dayarray[day]+", "+daym+" "+montharray[month]+", "+year+"г");
// --></script>
<div style="position: absolute; top: 70px; left: 45px; width: 70px; height: 70px; overflow: hidden;"><img src="http://astroscope.ru/img/160bg.gif" border="0" alt="гороскоп" /></div>
<div style="position: absolute; top: 25px; left: 0px; width: 160px; height: 160px; overflow: hidden;"><img usemap="#astroscope" src="http://astroscope.ru/img/160.gif" border="0" alt="" /></div>
<div style="position: absolute; text-align: center; top: 14px; left: 0px; width: 160px; height: 11px; overflow: hidden;"><span style="color: #000040;"><a href="http://astroscope.ru"><span style="color: #000000;">астрология и гороскопы</span></a></span></div>
<map name="astroscope">
<area title="Овен" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=aries&quot;,&quot;aries&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="70,10,95,35" href="javascript:void(0)" />
<area title="Телец" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=taurus&quot;,&quot;taurus&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="100,20,125,45" href="javascript:void(0)" />
<area title="Близнецы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=gemini&quot;,&quot;gemini&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="120,45,145,70" href="javascript:void(0)" />
<area title="Рак" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=cancer&quot;,&quot;cancer&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="125,75,150,100" href="javascript:void(0)" />
<area title="Лев" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=leo&quot;,&quot;leo&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="110,100,140,125" href="javascript:void(0)" />

<area title="Дева" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=virgo&quot;,&quot;virgo&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="90,120,120,145" href="javascript:void(0)" />
<area title="Весы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=libra&quot;,&quot;libra&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="60,125,90,150" href="javascript:void(0)" />
<area title="Скорпион" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=scorpio&quot;,&quot;scorpio&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="35,120,60,145" href="javascript:void(0)" />
<area title="Стрелец" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=sagittarius&quot;,&quot;sagittarius&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="15,95,45,120" href="javascript:void(0)" />
<area title="Козерог" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=capricorn&quot;,&quot;capricorn&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="5,65,35,90" href="javascript:void(0)" />
<area title="Водолей" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=aquarius&quot;,&quot;aquarius&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="15,35,40,60" href="javascript:void(0)" />
<area title="Рыбы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=pisces&quot;,&quot;pisces&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="40,15,70,40" href="javascript:void(0)" />
<area shape="default" href="http://astroscope.ru" />

Таблицу попробуйте так.

Код:
    <script type="text/javascript">
            var news = new Array ()
        news.push(new Array("Eastern Sun", '<center><object type="application/x-shockwave-flash" data="http://widgets.forismatic.com/export/widgets/ru/web-widget-flash/c.swf" width="240px" height="150px">\
        <param name="movie" value="http://widgets.forismatic.com/export/widgets/ru/web-widget-flash/c.swf" />\
        <param name="wmode" value="transparent" />\
        <param name="flashVars" value="lang=ru" />\
        </object></center>'))
        news.push(new Array("Информация ", "<center>Добро пожаловать на форум ролевых игр «Восточное Солнце»! Мы, наконец, оклемались от зимы, перейдя к сезону красоты и новой жизни! Новый вдох с новой ВЕСНОЙ! Рейтинг игр NC-17 +. Людей со слабой психикой и пуританским воспитанием большая просьба не регистрироваться, в ином случае, мы не несем ответственность за последствия.</center>"))
            news.push(new Array("Новичку", "<center><a href=http://easternsun.rolevka.ru/viewtopic.php?id=108>Правила форума</a><br><a href=http://easternsun.rolevka.ru/viewtopic.php?id=143#p8327>Приветствуем гостей!</a><br><a href=http://easternsun.rolevka.ru/viewtopic.php?id=122#p8074>Форумная Анкета</a><br><a href=http://easternsun.rolevka.ru/viewtopic.php?id=109>Шаблон Анкеты</a><br><a href=  вопросы</a></center>"))
            news.push(new Array("Календарь", '<center><iframe name="fantasy" src="http://fantasyflash.ru/vr2/vr17.htm" height="154" width="154" scrolling="no" frameborder="0"></iframe></center>'))
            news.push(new Array("Гороскоп", "<script type="text/JavaScript"><!--
var mydate=new Date();var year=mydate.getYear();if (year < 1000) year+=1900;var day=mydate.getDay();var month=mydate.getMonth();var daym=mydate.getDate();if (daym<10)daym="0"+daym;var dayarray=new Array('Вск','Пнд','Втр','Срд','Чтв','Птн','Сбт');var montharray=new Array('Янв','Фев','Мар','Апр','Мая','Июн','Июл','Авг','Сен','Окт','Ноя','Дек');document.write("<b>Гороскоп</b> на "+dayarray[day]+", "+daym+" "+montharray[month]+", "+year+"г");
// --></script>
<div style="position: absolute; top: 70px; left: 45px; width: 70px; height: 70px; overflow: hidden;"><img src="http://astroscope.ru/img/160bg.gif" border="0" alt="гороскоп" /></div>
<div style="position: absolute; top: 25px; left: 0px; width: 160px; height: 160px; overflow: hidden;"><img usemap="#astroscope" src="http://astroscope.ru/img/160.gif" border="0" alt="" /></div>
<div style="position: absolute; text-align: center; top: 14px; left: 0px; width: 160px; height: 11px; overflow: hidden;"><span style="color: #000040;"><a href="http://astroscope.ru"><span style="color: #000000;">астрология и гороскопы</span></a></span></div>
<map name="astroscope">
<area title="Овен" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=aries&quot;,&quot;aries&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="70,10,95,35" href="javascript:void(0)" />
<area title="Телец" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=taurus&quot;,&quot;taurus&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="100,20,125,45" href="javascript:void(0)" />
<area title="Близнецы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=gemini&quot;,&quot;gemini&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="120,45,145,70" href="javascript:void(0)" />
<area title="Рак" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=cancer&quot;,&quot;cancer&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="125,75,150,100" href="javascript:void(0)" />
<area title="Лев" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=leo&quot;,&quot;leo&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="110,100,140,125" href="javascript:void(0)" />

<area title="Дева" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=virgo&quot;,&quot;virgo&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="90,120,120,145" href="javascript:void(0)" />
<area title="Весы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=libra&quot;,&quot;libra&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="60,125,90,150" href="javascript:void(0)" />
<area title="Скорпион" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=scorpio&quot;,&quot;scorpio&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="35,120,60,145" href="javascript:void(0)" />
<area title="Стрелец" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=sagittarius&quot;,&quot;sagittarius&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="15,95,45,120" href="javascript:void(0)" />
<area title="Козерог" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=capricorn&quot;,&quot;capricorn&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="5,65,35,90" href="javascript:void(0)" />
<area title="Водолей" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=aquarius&quot;,&quot;aquarius&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="15,35,40,60" href="javascript:void(0)" />
<area title="Рыбы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=pisces&quot;,&quot;pisces&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="40,15,70,40" href="javascript:void(0)" />
<area shape="default" href="http://astroscope.ru" />"))
            news.push(new Array("Чат", ""))

        var mynews = "";
            for (q=0; q<news.length; q++){
            mynews += "<div class='container container"+q+"' 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 id=Lindett><tr><td width=20% valign=top>"+block+"</td><td width=80% valign=top>"+name+"</td></tr></table>"
            }
            i++
            }
            </script>
        <div style="display:none;">
        <!-- BEGIN CBOX - www.cbox.ws - v001 -->
        <style>.container.container4{position:relative:padding:0;margin:0 -1em;}</style>
        <div id="cboxdiv" style="text-align:position:center;line-height: 0">
        <div><iframe frameborder="0" width="100%" height="305" src="http://www4.cbox.ws/box/?boxid=3993581&amp;boxtag=152dr0&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#F6F3E0 1px solid;" id="cboxmain"></iframe></div>
        <div><iframe frameborder="0" width="100%" height="74" src="http://www4.cbox.ws/box/?boxid=3993581&amp;boxtag=152dr0&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#F6F3E0 1px solid;border-top:0px" id="cboxform"></iframe></div></div>
        <script type="text/javascript">$("#cboxdiv").appendTo(".container.container4");</script>

0

582

Скрипт вылез на главную

0

583

Lindetta
Да, у меня была похожая проблема при его установке.
Похоже, кроме как дивами - его не поставить. Не хватит мне опыта, чтобы всё настроить). На том форуме он стоит через дивы, если интересно.

Меняя выделенные цифры двигать по форуму.

<div style="position: absolute; left: 624px; top: 275px"><script type="text/JavaScript"><!--
var mydate=new Date();var year=mydate.getYear();if (year < 1000) year+=1900;var day=mydate.getDay();var month=mydate.getMonth();var daym=mydate.getDate();if (daym<10)daym="0"+daym;var dayarray=new Array('Вск','Пнд','Втр','Срд','Чтв','Птн','Сбт');var montharray=new Array('Янв','Фев','Мар','Апр','Мая','Июн','Июл','Авг','Сен','Окт','Ноя','Дек');document.write("<b>Гороскоп</b> на "+dayarray[day]+", "+daym+" "+montharray[month]+", "+year+"г");
// --></script>
<div style="position: absolute; top: 70px; left: 45px; width: 70px; height: 70px; overflow: hidden;"><img src="http://astroscope.ru/img/160bg.gif" border="0" alt="гороскоп" /></div>
<div style="position: absolute; top: 25px; left: 0px; width: 160px; height: 160px; overflow: hidden;"><img usemap="#astroscope" src="http://astroscope.ru/img/160.gif" border="0" alt="" /></div>
<div style="position: absolute; text-align: center; top: 14px; left: 0px; width: 160px; height: 11px; overflow: hidden;"><span style="color: #000040;"><a href="http://astroscope.ru"><span style="color: #000000;">астрология и гороскопы</span></a></span></div>
<map name="astroscope">
<area title="Овен" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=aries&quot;,&quot;aries&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="70,10,95,35" href="javascript:void(0)" />
<area title="Телец" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=taurus&quot;,&quot;taurus&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="100,20,125,45" href="javascript:void(0)" />
<area title="Близнецы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=gemini&quot;,&quot;gemini&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="120,45,145,70" href="javascript:void(0)" />
<area title="Рак" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=cancer&quot;,&quot;cancer&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="125,75,150,100" href="javascript:void(0)" />
<area title="Лев" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=leo&quot;,&quot;leo&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="110,100,140,125" href="javascript:void(0)" />

<area title="Дева" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=virgo&quot;,&quot;virgo&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="90,120,120,145" href="javascript:void(0)" />
<area title="Весы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=libra&quot;,&quot;libra&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="60,125,90,150" href="javascript:void(0)" />
<area title="Скорпион" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=scorpio&quot;,&quot;scorpio&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="35,120,60,145" href="javascript:void(0)" />
<area title="Стрелец" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=sagittarius&quot;,&quot;sagittarius&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="15,95,45,120" href="javascript:void(0)" />
<area title="Козерог" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=capricorn&quot;,&quot;capricorn&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="5,65,35,90" href="javascript:void(0)" />
<area title="Водолей" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=aquarius&quot;,&quot;aquarius&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="15,35,40,60" href="javascript:void(0)" />
<area title="Рыбы" onclick="window.open(&quot;http://astroscope.ru/goroscopes.php?sgn=pisces&quot;,&quot;pisces&quot;,&quot;width=400,height=400,scrollbars,toolbar=0,status=0&quot;)" shape="rect" coords="40,15,70,40" href="javascript:void(0)" />
<area shape="default" href="http://astroscope.ru" /></div>

Отредактировано Ita Ita (Чт, 26 Май 2011 11:23:33)

0

584

Ita Ita написал(а):

Меняя выделенные цифры двигать по форуму.

Спасибо за помощь!
Не подскажите скрипт Скрипт дня рождения для вставки в блок.
Вверху картинка, а под ней именинник

И есть ли такой скрипт, чтобы при удалении сообщения оставаться на той же странице, а не автоматически возвращаться на первую?

Отредактировано Lindetta (Пт, 15 Июл 2011 12:18:23)

0

585

Lindetta написал(а):

И есть ли такой скрипт, чтобы при удалении сообщения оставаться на той же странице, а не автоматически возвращаться на первую?

:dontknow:

0

586

А со скриптом дня рождения может кто-нибудь помочь?

0

587

Lindetta написал(а):

Не подскажите скрипт Скрипт дня рождения для вставки в блок.

Вверху картинка, а под ней именинник, как на этом форуме

Зайдите под гостем или другим ником - картинка будет таже самая

0

588

потерял.найти не могу.
скрипт для установки в подписи каждого пользователя,( не сменившего подпись), своей подписи.
желательно не в окошке кода, так как я выхожу в интернет с мобильного , а он ползунки не показывает :-(

0

589

Vorkura
Здравствуйте.

Vorkura написал(а):

скрипт для установки в подписи каждого пользователя,( не сменившего подпись), своей подписи.

<script type="text/javascript">
if (document.URL.indexOf("viewtopic")!=-1)
{var sigs=document.getElementById('pun-main').getElementsByTagName("div")
var v=0
for (v=0; v<=(sigs.length-1); v++)
{if (sigs[v].className=="post-content")
{if (sigs[v].innerHTML.toLowerCase().indexOf("<span>подпись автора</span>")==-1)
{sigs[v].innerHTML=sigs[v].innerHTML+"<dl class='post-sig'><dt><span>Подпись автора</span></dt><dd><p>"+"Ваш текст по умолчанию"+"</p></dd></dl>"}}}}
</script>

0

590

Caligula
Вам конкретных модераторов убрать или вообще всех сразу?

0

591

Caligula

Код:
<style type="text/css">
.modlist {
  display: none !important;
}
</style>

+1

592

пост номер 595

Не работает. Совершенно не работает. Раньше был на форуме - работал. А сейчас нет :(

0

593

возможно ли это потому, что я выхожу с телефона (филипс ксениум х501, опера мини 4.2)?

нужно ставить скрипт вверх или вниз страницы?

0

594

Vorkura написал(а):

возможно ли это потому, что я выхожу с телефона (филипс ксениум х501, опера мини 4.2)?
            нужно ставить скрипт вверх или вниз страницы?

Пробуйте такой ( в Html низ:, вместо красного - Ваши слова; синим - код цвета

<script type="text/javascript">var caption='<dl class="post-sig"><dt><dd><p><span style="display: block; text-align: left;color:#005FFF;">Я люблю Форум www.servermetin2.mybb.ru</span></p></dd></dl>';$(".post-content").each(function (){if($(this).find(".post-sig").html()==null){
$(this).append(caption)};});</script>

Отредактировано Deff (Вс, 29 Май 2011 14:14:53)

0

595

Не работает :(

0

596

Vorkura Адрес форума

0

597

Раньше был servermetin2.mybb.ru, потом купили доменное имя. Сейчас m2-pvp.ru . Переадресацию настроил скриптом.

0

598

Раньше был servermetin2.mybb.ru, потом купили доменное имя. Сейчас m2-pvp.ru . Переадресацию настроил скриптом.

0

599

Vorkura http://m2-pvp.ru/ Не вижу кода Скрипта в HTML низ

Не нужно в скрипты  вносить свои правки - даже перенос строки! /У Вас разрыв был по красному - введите данный код

<script type="text/javascript">var caption='<dl class="post-sig"><dt><dd><p><span style="display:block; text-align: left;color:#005FFF;">Расскажи о форуме друзьям!<br/> Нажми на кнопку ПОДЕЛИТЬСЯ наверху форума!</span></p></dd></dl>';$(".post-content").each(function (){if($(this).find(".post-sig").html()==null){
$(this).append(caption)};});</script>

Поправил в две строки

Отредактировано Deff (Пн, 30 Май 2011 01:21:29)

+1

600

Не работает :( .

0


Вы здесь » Единый форум поддержки » Корзина » Нужен скрипт...