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

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

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


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


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

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

581

Подскажите скрипт гороскопа для вставки в блок, как на этом форуме
http://s61.radikal.ru/i172/1105/cb/a8d08593dfect.jpg

Отредактировано Lindetta (Чт, 26 Май 2011 09:22:43)

0

582

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>

0

583

Спасибо!
Вставила в блок, не отображается... Не подскажите где ошибка?

<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= http://easternsun.rolevka.ru/viewtopic. … 06>Ваши вопросы</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>"))
    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 - wwwcbox.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>

Отредактировано Lindetta (Чт, 26 Май 2011 10:02:58)

0

584

<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("Гороскоп", "<!--
    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+"г");
    // -->"))
        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 - wwwcbox.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

585

Не отображается, совсем исчезла боковая панель

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

0

586

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

587

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

0

588

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

589

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

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

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

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

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

0

590

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

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

:dontknow:

0

591

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

0

592

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

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

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

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

0

593

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

0

594

подскажите скрипт для скрытия обозначения модераторов разделов на главной странице, т.е чтобы в разделах не была видна надпись "Модератор: ХХХХ"

у меня стоит этот скрипт:

Код:
<script>
var supermod = new Array("","", "", "")
var mod=document.getElementsByTagName("span")
var str
for(x in mod) if(mod[x].className=="modlist"){
for(y in supermod)
    if((pos=mod[x].innerHTML.indexOf(supermod[y]))!=-1)
        mod[x].innerHTML=remName(mod[x].innerHTML,pos)
}
function remName(str,pos){
var pos1=str.indexOf("<A href"),pos2=str.indexOf("<A href",pos1+1)
if(pos2==-1) return("")
while(pos>pos2 && pos2!=-1){
    pos1=pos2
    pos2=str.indexOf("<A href",pos1+1)
}
if(pos2==-1){
    pos2=str.length-1
    pos1-=2
} 
return (str.substring(0,pos1)+str.substring(pos2,str.length))
}
</script>

но временами он подвисает и модераторы отображаются какое-то время при загрузке страницы. может есть ещё какой-нибудь вариант скрипта для этой функции?

Отредактировано Caligula (Сб, 28 Май 2011 19:44:58)

0

595

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

596

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

0

597

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

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

rps, всех сразу

0

598

Caligula

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

+1

599

rps, спасибо

0

600

пост номер 595

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

0


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