Jump to content

Затухание лого


Onore

Recommended Posts

Как переделать затухание логотипа из этой темы для этого кода:

Спойлер

<a href='{setting="base_url"}' id='elSiteTitle' accesskey='1' class='logo textLogo'><span class='vAlign'>
  <img src="https://rm-dark.ru/uploads/images/logo.png">
	{{if theme.ipsf_slogan}}<span class='textWithImage'>{{endif}}
		{{if theme.customLogoText}}Тёмная Зона{{else}}{setting="board_name"}{{endif}} {{if (theme.ipsf_christmas) OR (theme.ipsf_valentines) }} <i class="fa fa-asterisk"></i>{{endif}}
	<br>
  <font size="2"><SCRIPT language="javascript">

    var howMany = 10
    var quote = new Array(howMany+1)
    quote[0]="Темнота есть бессмертие."
    quote[1]="Тьма не всегда означает зло, а свет не всегда несёт добро."
    quote[2]="Жизнь за Нер'Зула!"
    quote[3]="Тьма полна загадок и сюрпризов."
    quote[4]="Не надо огня!"
    quote[5]="Фростморн жаждет крови!"
    quote[6]="Время лечит, но жрец — быстрее."
    quote[7]="Во славу Плети!"
    quote[8]="Да пребудет с тобой сила!"
    quote[9]="Одна голова хорошо. А на плечах — еще лучше."
    quote[10]="Гоблин — птица гордая. Пока не пнешь, не полетит."

   function rndnumber(){
   var randscript = -1
   while (randscript < 0 || randscript > howMany || isNaN(randscript)){
   randscript = parseInt(Math.random()*(howMany+1))
   }
   return randscript
   }
   quo = rndnumber()
   quox = quote[quo]
   document.write(quox)
  </SCRIPT></font>

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...