Тестовичек:)

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

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


Вы здесь » Тестовичек:) » Таблицы:))) » Все пробы))) Все-все!!!


Все пробы))) Все-все!!!

Сообщений 11 страница 20 из 44

11

Это для Баннеров и счетчиков:)))
=============================
Кажись работает...

Код:
<p align="center">
 <table width=120 height=31 style="border:1px ridge  #ffffff">
 <tr><td bgcolor=#FFFFFF>
 <SPAN id=imgObj style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 0px;FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=,endColorStr=#0000ff); FONT: bold 2px verdana; WIDTH: 90px; COLOR: #ffffff; HEIGHT: 100px"">
 <DIV id=imgObjText><BR>
 <marquee width=88 height=31 scrollamount=1 direction=down><center>
<a href="http://upwards.userforum.ru/" target=_blank> <img src="" border="0"alt="" width=1height=1></a>

Сюда вставлять коды баннеров!

<div style="width:100%;filter:glow(color=#ffffff,strength=14);font:4px verdana;color:#F5F5F5">

0

12

ПОРТАЛ
-------------------------------
Вставляем его в html верх!

Код:
<style type="text/css">
#portal {
	background: #ffffff;
	display: none;
	z-index: 1000;
	top: 0px;
	left: 0%;
	position: absolute;
	width: 100%;
	height: 100%;
}
</style>
Код:
В низ
<div id="portal"><table width="100%" height="100%" align="center">
<tr align="center">
<td width="25%" bgcolor="silver"><b> <font color="#000000"> Это левая колонка портала</b> </font></td> 
<td width="50%"><font color="#000000"> <b>Это центер портала </font></b><br><br><b><a href="#"  onclick="document.getElementById('portal').style.display = 'none';">Вернуться на ФОРУМ</a></b></td>
<td width="25%" bgcolor="silver"><font color="#000000"><b>Это правая колонка портала</b></font></td> 
</tr>
</table></div>

Дополнительные пункты меню

Код:
0=<a href="#" onclick="document.getElementById('portal').style.display = 'block';">Портал</a>

0

13

http://freemanager.ucoz.com/_ph/5/2/316959164.png
Вроде салидненько...
В низ

Код:
<div id="staticbuttons" style="position:absolute;">
<a href="javascript:" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0"><img
src="http://freemanager.ucoz.com/_ph/3/2/956983901.png" border="0"></a><br>
<a href="javascript:" onmouseover="myspeed=thespeed" onmouseout="myspeed=0"><img
src="http://freemanager.ucoz.com/_ph/3/2/867493176.png" border="0"></a>
</div>

<script>

//Page Scroller (aka custom scrollbar)- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var Hoffset=70 //Enter buttons' offset from right edge of window (adjust depending on images width)
var Voffset=80 //Enter buttons' offset from bottom edge of window (adjust depending on images height)
var thespeed=3 //Enter scroll speed in integer (Advised: 1-3)

var ieNOTopera=document.all&&navigator.userAgent.indexOf("Opera")==-1
var myspeed=0

var ieHoffset_extra=document.all? 15 : 0
var cross_obj=document.all? document.all.staticbuttons : document.getElementById? document.getElementById("staticbuttons") : document.staticbuttons

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function positionit(){
var dsocleft=document.all? iecompattest().scrollLeft : pageXOffset
var dsoctop=document.all? iecompattest().scrollTop : pageYOffset
var window_width=ieNOTopera? iecompattest().clientWidth+ieHoffset_extra : window.innerWidth+ieHoffset_extra
var window_height=ieNOTopera? iecompattest().clientHeight : window.innerHeight

if (document.all||document.getElementById){
cross_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-Hoffset+"px"
cross_obj.style.top=dsoctop+parseInt(window_height)-Voffset+"px"
}
else if (document.layers){
cross_obj.left=dsocleft+window_width-Hoffset
cross_obj.top=dsoctop+window_height-Voffset
}
}

function scrollwindow(){
window.scrollBy(0,myspeed)
}

function initializeIT(){
positionit()
if (myspeed!=0){
scrollwindow()
}
}

if (document.all||document.getElementById||document.layers)
setInterval("initializeIT()",20)

</script>

0

14

Работает)))
Скрывает информацию под одной кнопочкой))))
Нравится)))

Код:
<script>
function HideInfo(id,but){
if(but.value=="+"){
  but.value = "-";document.getElementById(id).style.display = ""}
else{
  but.value = "+";document.getElementById(id).style.display = "none"}
  return false}

d = document.getElementsByTagName("div")

for (i=0;d[i]; i++){
if (d[i].className.indexOf("post-author")!=-1){t = d[i].innerHTML
   if((j = t.toLowerCase().indexOf("<li class=pa-from>"))!=-1 || (j = t.toLowerCase().indexOf("<li class=\"pa-from\">"))!=-1 || (j = t.toLowerCase().indexOf("<li class=pa-reg>"))!=-1 || (j = t.toLowerCase().indexOf("<li class=\"pa-reg\">"))!=-1)
    d[i].innerHTML = t.substring(0,j)+"<input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='+'><br><div id='info"+i+"' style='display:none'>"+t.substring(j,t.length)+"</div>"}}
</script>

0

15

Картинки, двигаются!!! Подвигай!
[motio] http://forumupload.ru/uploads/0010/22/bf/42-1.png[/motio]
[motio]  http://forumupload.ru/uploads/0010/22/bf/42-1.png[/motio]
-----------------------------
в верх

Код:
<script type="text/javascript" src="http://javascript-test.narod.ru/draganddrop.js"></script>

В низ

Код:
<!--перемещаемые текст или изображение-->
<style>
#button-motio {background-image:url('http://img180.imageshack.us/img180/5097/rotateccw.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
   <script type="text/javascript">
   function addSpoiler_motio(str,from,internal){
   var pos=0,pos2=0,newpos=0
   if((pos=str.indexOf("[motio]",from))==-1) return str;
   if((pos2=str.indexOf("[/motio]"),pos+8)==-1) return str;
   newpos=str.indexOf("[motio]",pos+8)
   if(newpos<pos2 && newpos!=-1) str=addSpoiler_motio(str,pos+8,true)
   if((pos2=str.indexOf("[/motio]",pos+8))==-1) return str;
   str=str.substring(0,pos)+makeSpoiler_motio(str.substring(pos+7,pos2))+str.substring(pos2+8,str.length)
   if( str.indexOf("[motio]")!=-1 && internal==false) str=addSpoiler_motio(str,0,false)
return str}
   function makeSpoiler_motio(txt){
   txt='<span class="dad" style="font-weight:bold;">'+txt+'</span>'
   return txt}
   if((document.URL.indexOf("viewtopic.php")!=-1) || (document.URL.indexOf("post.php")!=-1)){
       elm=document.getElementById("pun-main").getElementsByTagName("div")
       for(x in elm) if(elm[x].className=="post-content"){
       var post=elm[x]
       post.innerHTML=addSpoiler_motio(post.innerHTML,0,false)}}
   if(form=document.getElementById("form-buttons"))
   form.getElementsByTagName("tr")[0].insertCell(10).innerHTML="<img src='/i/blank.gif' title='Передвигаемый текст' id='button-motio'  onclick=\"bbcode('[motio]', '[/motio]');\"/>"
</script>

0

16

Отражает фотки в постах
Только с этим
[refi]http://s51.radikal.ru/i131/0907/39/182eb8ea08f0.gif[/refi]
В верх

Код:
<script type="text/javascript" src="http://poinet-ferodar.narod.ru/js/reflect.js"></script>

В низ

Код:
<script>
function addSpoiler(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf("[refi]",from))==-1) return str;
if((pos2=str.indexOf("[/refi]"),pos+6)==-1) return str;
newpos=str.indexOf("[refi]",pos+6)
if(newpos<pos2 && newpos!=-1) str=addSpoiler(str,pos+6,true)
if((pos2=str.indexOf("[/refi]",pos+6))==-1) return str;
str=str.substring(0,pos)+makeSpoiler(str.substring(pos+6,pos2))+str.substring(pos2+7,str.length)
if( str.indexOf("[refi]")!=-1 && internal==false) str=addSpoiler(str,0,false)
return str}
function makeSpoiler(txt){
txt='<img src="' + txt +'" class="reflect">'
return txt}
if(document.URL.indexOf("viewtopic.php")!=-1){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addSpoiler(post.innerHTML,0,false)}}
</script>

0

17

Прокрутка в посте!
Работает)))

Код:
<style> 
.post-body .post-box .post-content   {
overflow:scroll;
width:100%;
height:400px;
}
</style>

0

18

Это даже лучше прокрутка!!!!

Код:
<style>
.punbb .post-box {
max-height: 370px;
overflow-y: auto;
  }
</style>

0

19

http://depositfiles.com/files/gcti9qdfk

0

20

[marqu=down]Бегающий текст![/marqu]
http://s53.radikal.ru/i139/1009/06/4094f621ee6e.png
В низ

Код:
<!--Бегущая строка v.3 © Romych-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="marqueebut" style=\'background-image:url("http://img17.imageshack.us/img17/55/marquees.png")\'><img src="/i/blank.gif" title="Бегущая строка"></td>');
$('.marqur').css('cursor', 'pointer');
$('#marqueebut, .marqur').click(function(){
$('div#marqu').toggle();});
$("div.post-content").map(function () {
text = $(this).html();
if(text.indexOf("[/marqu]") != -1) {
marquees = /\[marqu=(.*?)\]([^`]*?)\[\/marqu\]/gi
$(this).html(text.replace(marquees, "<marquee direction='$1' scrollamount='2' onMouseOver='this.stop()' onMouseOut='this.start()'>$2</marquee>")); }
}); });
</script>
<div id="marqu" class="container"  style="display:none;width:auto;padding:8px;position:absolute;margin-top:-35%;margin-left:35%;">
<div><strong>Выберите направление</strong></div><hr><br>
<div align="center" onclick="bbcode('[marqu=up]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/up_arrow.png" title="up"></div>
<span onclick="bbcode('[marqu=left]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/left_arrow.png" title="left"></span><span style="float:right;" onclick="bbcode('[marqu=right]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/right_arrow.png" title="right"></span>
<div align="center" onclick="bbcode('[marqu=down]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/down_arrow.png" title="down"></div>
</div>

0


Вы здесь » Тестовичек:) » Таблицы:))) » Все пробы))) Все-все!!!