Четверг, 16.07.2026, 21:36
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Модератор форума: BondSport  
вопросы по скрипту 3Д
akselДата: Суббота, 31.01.2009, 20:58 | Сообщение # 1
Генерал-лейтенант
Группа: Гости
Сообщений: 344
Репутация: 218
Статус: Offline
<head>
<script>
<!--

// Edit your messages. You MUST use 6 messages precisly.
var message = new Array()
message[0]=" >> Надпись 1"
message[1]=" >> Надпись 2"
message[2]=" >> Надпись 3"
message[3]=" >> Надпись 4"
message[4]=" >> Они вращаються!"
message[5]=" >> 6 надписей"

// Edit the width an height of your TextWheel (pixels)
var scrollerheight=120
var scrollerwidth=360

// Edit the font
var font_family="Verdana"

// Edit the font-size
var font_size=20

// Edit the horizontal and vertical position of your TextWheel (pixels)
var x_textposition=10
var y_textposition=10

function initiate() {
if (document.all) {
document.all.rotationstyle1.style.posLeft=x_textposition
document.all.rotationstyle1.style.posTop=y_textposition

document.all.rotatio nstyle2.style.posLeft=x_textposition
document.all.rotationstyle2.style.posTop=y_textposition

document.all.rotationstyle3.style.posLeft=x _textposition
document.all.rotationstyle3.style.posTop=y_textposition

document.all.rotationstyle4.style.posLeft=x_textposition
document .all.rotationstyle4.style.posTop=y_textposition

document.all.rotationstyle5.style.posLeft=x_textposition
document.all.rotationstyle5.sty le.posTop=y_textposition

document.all.rotationstyle6.style.posLeft=x_textposition
document.all.rotationstyle6.style.posTop=y_textpositio n

setmessages()
}
}

function setmessages() {

rotationstyle1.innerHTML=
'<OBJECT ID="rotationobj1" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
'<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+
'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
'<PARAM NAME="Line0005" VALUE="Text(\''+message[0]+'\',0, 2, 0)">'+
'</OBJECT>'

rotationstyle2.innerHTML=
'<OBJECT ID="rotationobj2" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
'<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+
'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
'<PARAM NAME="Line0005" VALUE="Text(\''+message[1]+'\',0, 2, 0)">'+
'</OBJECT>'

rotationstyle3.innerHTML=
'<OBJECT ID="rotationobj3" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
'<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+
'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
'<PARAM NAME="Line0005" VALUE="Text(\''+message[2]+'\',0, 2, 0)">'+
'</OBJECT>'

rotationstyle4.innerHTML=
'<OBJECT ID="rotationobj4" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
'<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+
'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
'<PARAM NAME="Line0005" VALUE="Text(\''+message[3]+'\',0, 2, 0)">'+
'</OBJECT>'

rotationstyle5.innerHTML=
'<OBJECT ID="rotationobj5" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
'<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+
'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
'<PARAM NAME="Line0005" VALUE="Text(\''+message[4]+'\',0, 2, 0)">'+
'</OBJECT>'

rotationstyle6.innerHTML=
'<OBJECT ID="rotationobj6" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
'<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,0)">'+
'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
'<PARAM NAME="Line0005" VALUE="Text(\''+message[5]+'\',0, 2, 0)">'+
'</OBJECT>'

rotationobj1.Rotate(0,0,0)
rotationobj2.Rotate(0,60,0)
rotationobj3.Rotate(0,120,0)
rotationobj4.Rotate(0,180,0)
rotationobj 5.Rotate(0,240,0)
rotationobj6.Rotate(0,300,0)

startscroll()
}

function startscroll() {
rotationobj1.Rotate(1,2,0)
rotationobj2.Rotate(1,2,0)
rotationobj3.Rotate(1,2,0)
rotationobj4.Rotate(1,2,0)
rotationobj5.Rotate(1,2,0 )
rotationobj6.Rotate(1,2,0)
timer=setTimeout("startscroll()",20)
}

// - End of JavaScript - -->
</script>

</head>

<body bgcolor = "Blue" onLoad="initiate()">

<SPAN ID="rotationstyle1" STYLE="position:absolute">
<OBJECT ID="rotationobj1" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
</OBJECT>
</SPAN>

<SPAN ID="rotationstyle2" STYLE="position:absolute">
<OBJECT ID="rotationobj2" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
</OBJECT>
</SPAN>

<SPAN ID="rotationstyle3" STYLE="position:absolute">
<OBJECT ID="rotationobj3" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
</OBJECT>
</SPAN>

<SPAN ID="rotationstyle4" STYLE="position:absolute">
<OBJECT ID="rotationobj4" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
</OBJECT>
</SPAN>

<SPAN ID="rotationstyle5" STYLE="position:absolute">
<OBJECT ID="rotationobj5" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
</OBJECT>
</SPAN>

<SPAN ID="rotationstyle6" STYLE="position:absolute">
<OBJECT ID="rotationobj6" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
</OBJECT>
</SPAN>

<DIV id="Belongs_not_to_the_script" style="position:absolute;top:200px;left:5px;">

</DIV>

</body>

красное замените на своё
я вставлял в общий вид страниц форума






Сообщение отредактировал aksel - Суббота, 31.01.2009, 21:00
 
-=STALKER=-Дата: Суббота, 31.01.2009, 21:09 | Сообщение # 2
Подполковник
Группа: Проверенные
Сообщений: 115
Репутация: 55
Статус: Offline
xnj 'nj

naruto-reg.ucoz.ru сайт НЕ ПРО НАРУТО НАРУТО ГАВНО
 
akselДата: Воскресенье, 01.02.2009, 11:22 | Сообщение # 3
Генерал-лейтенант
Группа: Гости
Сообщений: 344
Репутация: 218
Статус: Offline
я скрипт дал а люди не знают как им пользоваться



 
stealth002Дата: Воскресенье, 01.02.2009, 15:53 | Сообщение # 4
Рульный чел
Группа: Гости
Сообщений: 1130
Репутация: 290
Статус: Offline
Не скажешь для чего он?

В блоге Миши: сьемки фильма
Миша это не я. Миша рулит.
 
akselДата: Воскресенье, 01.02.2009, 17:24 | Сообщение # 5
Генерал-лейтенант
Группа: Гости
Сообщений: 344
Репутация: 218
Статус: Offline
ну 3д надпись это круто!



 
  • Страница 1 из 1
  • 1
Поиск: