Forum gratuit: forum de suport al utilizatorilor
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Scripturi pentru forum

Pagina 2 din 10 Înapoi  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Urmatorul

Vezi subiectul anterior Vezi subiectul urmator In jos

Scripturi pentru forum - Pagina 2 Empty Scripturi pentru forum

Mesaj Scris de ZERO Mier Dec 19, 2007 6:01 pm

Rezumarea primului mesaj :

Codul este urmatorul pentru cautarea cu google, puteti sal bagati unde doriti, ex: portal, anunt pe prima pagina, HTML page, etc...

Cod:
<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value="en">
<INPUT type=submit name=btnG VALUE="Google Search">
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->
ZERO

ZERO
Membru Forumgratuit

Mesaje : 59
Varsta : 34
Localizare : Bucuresti
Data înscrierii : 19/12/2007
Mulțumiri : 0
Internet Explorer

http://cstrike.one-forum.net
ZERO a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty fulgi de zapada

Mesaj Scris de nick Mier Oct 08, 2008 12:42 pm

Acest cod merge doar cu Internet Explorer

Cod:


<!--Simply copy and paste into <BODY>
    Just above the </BODY> tag. -->

<script type="text/javascript">
/*
Snow Fall Java script
Visit http://rainbow.arch.scriptmania.com/scripts/
  for this script and many more
*/
 
//Pre-loads your image/s below
//Configure below - change URL path to the snow image

grphcs=new Array(6)
Image0=new Image();
Image0.src=grphcs[0]="http://rainbow.arch.scriptmania.com/scripts/bg/snowflake.gif";
Image1=new Image();
Image1.src=grphcs[1]="http://rainbow.arch.scriptmania.com/scripts/bg/snowflake.gif"
Image2=new Image();
Image2.src=grphcs[2]="http://rainbow.arch.scriptmania.com/scripts/bg/snowflake.gif"
Image3=new Image();
Image3.src=grphcs[3]="http://rainbow.arch.scriptmania.com/scripts/bg/snowflake.gif"
Image4=new Image();
Image4.src=grphcs[4]="http://rainbow.arch.scriptmania.com/scripts/bg/snowflake.gif"
Image5=new Image();
Image5.src=grphcs[5]="http://rainbow.arch.scriptmania.com/scripts/bg/snowflake.gif"

//Smoothness depends on image file size,
//the smaller the size the more you can use!

// Configure below - change number of snow to render
Amount=40;

Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;

if (ns){
    for (i = 0; i < Amount; i++){
        var P=Math.floor(Math.random()*grphcs.length);
        rndPic=grphcs[P];
        document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
    }
}
else{
    document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
    for (i = 0; i < Amount; i++){
        var P=Math.floor(Math.random()*grphcs.length);
        rndPic=grphcs[P];
        document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
    }
    document.write('</div></div>');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
for (i=0; i < Amount; i++){
    Ypos[i] = Math.round(Math.random()*WinHeight);
    Xpos[i] = Math.round(Math.random()*WinWidth);
    Speed[i]= Math.random()*5+3;
    Cstep[i]=0;
    Step[i]=Math.random()*0.1+0.05;
}
function fall(){
    var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
    var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
    var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
    var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
    for (i=0; i < Amount; i++){
        sy = Speed[i]*Math.sin(90*Math.PI/180);
        sx = Speed[i]*Math.cos(Cstep[i]);
        Ypos[i]+=sy;
        Xpos[i]+=sx;
        if (Ypos[i] > WinHeight){
            Ypos[i]=-60;
            Xpos[i]=Math.round(Math.random()*WinWidth);
            Speed[i]=Math.random()*5+3;
        }
        if (ns){
            document.layers['sn'+i].left=Xpos[i];
            document.layers['sn'+i].top=Ypos[i]+hscrll;
        }
        else if (ns6){
            document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
            document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
        }
        else{
            eval("document.all.si"+i).style.left=Xpos[i];
            eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
        }
        Cstep[i]+=Step[i];
    }
    setTimeout('fall()',115);
}
window.onload=fall
//-->
</script>
<p><font face="arial" size="-2">


DACA SE PUNE ACEST COD IN
P.A/AFISARE/GENERALITATI/MESAJ PE PRIMA PAGINA/ O SA VEDETI O FRUMOASA NINSOARE


Ultima editare efectuata de catre nick in Mier Oct 08, 2008 12:52 pm, editata de 1 ori
nick

nick
Membru onorific
Membru onorific

Mesaje : 1934
Varsta : 44
Data înscrierii : 01/08/2008
Mulțumiri : 0
Internet Explorer phpBB2

http://forumulandrei.com/
nick a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty FRUNZE CAZATOARE

Mesaj Scris de nick Mier Oct 08, 2008 12:54 pm

Aceste 2 coduri merg doar cu Internet Explorer


Cod:

<!--Copy and Paste into <BODY>
    Just above the </BODY> tag. -->

<SCRIPT type="text/javascript" language="JavaScript1.2">
/*
Autumn Fall Timeout JavaScript
Visit http://rainbow.arch.scriptmania.com/scripts/
  for this script and many more
*/
 
//Pre-loads your images below
//Configure below - change URL path to your images

grphcs=new Array(8)
Image0=new Image();
Image0.src=grphcs[0]="http://rainbow.arch.scriptmania.com/scripts/bg/flv.gif";
Image1=new Image();
Image1.src=grphcs[1]="http://rainbow.arch.scriptmania.com/scripts/bg/oak1.gif"
Image2=new Image();
Image2.src=grphcs[2]="http://rainbow.arch.scriptmania.com/scripts/bg/oak4.gif"
Image3=new Image();
Image3.src=grphcs[3]="http://rainbow.arch.scriptmania.com/scripts/bg/alv.gif"
Image4=new Image();
Image4.src=grphcs[4]="http://rainbow.arch.scriptmania.com/scripts/bg/dlv.gif"
Image5=new Image();
Image5.src=grphcs[5]="http://rainbow.arch.scriptmania.com/scripts/bg/blv.gif"
Image6=new Image();
Image6.src=grphcs[6]="http://rainbow.arch.scriptmania.com/scripts/bg/oak3.gif"
Image7=new Image();
Image7.src=grphcs[7]="http://rainbow.arch.scriptmania.com/scripts/bg/oak5.gif"

//Smoothness depends on image file size,
//the smaller the size the more you can use!

// Configure below - change number of images to render
Amount=15;

Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;
var Stop = false;

if (ns){
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
for (i=0; i < Amount; i++){
Ypos[i] = Math.round(Math.random()*WinHeight);
Xpos[i] = Math.round(Math.random()*WinWidth);
Speed[i]= Math.random()*5+3;
Cstep[i]=0;
Step[i]=Math.random()*0.1+0.05;
}
function fall(){
if (Stop) { clearLeaves(); return; }

var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i++){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);
Ypos[i]+=sy;
Xpos[i]+=sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+3;
}
if (ns){
document.layers['sn'+i].left=Xpos[i];
document.layers['sn'+i].top=Ypos[i]+hscrll;
}
else if (ns6){
document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
}
else{
eval("document.all.si"+i).style.left=Xpos[i];
eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
}
Cstep[i]+=Step[i];
}
setTimeout('fall()',20);
}

window.onload=fall;

//  *****  Delay FUNCTION HERE  *****

setTimeout("Stop=true", 20000);  //  *****  Delay 1000 = 1 second  *****

function clearLeaves(){
for (i=0; i < Amount; i++){
if (ns){
document.layers['sn'+i].display='none';
}
else if (ns6){
document.getElementById("si"+i).style.display='none';
}
else{
eval("document.all.si"+i).style.display='none';
}
}
}
//-->
</SCRIPT>
<p><font face="arial" size="-2">

Dacă tot suntem in acest sezon ( toamnă )
Daca se pune acest cod in :
P.A / AFISARE / GENERALITATI / MESAJ PE PRIMA PAGINA /
o sa vedeti niste frunze cazatoare
Merge doar in explorer ( Internet Explorer)

=========================


Un mouse frumos !!!


Cod:

<!-- Simply copy and paste it between <BODY> and </BODY> tags -->

<script type="text/javascript">
/*
Tinkerbell Fairy Cursor Trail
Visit http://www.rainbow.arch.scriptmania.com/scripts/
*/

var trailimage=["http://rainbow.arch.scriptmania.com/scripts/tinkerbell.gif", 58, 64] // image, width, height
var ofsm=[-2,1]

if (document.getElementById || document.all)
document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

function gettrailobj(){
if (document.getElementById)
return document.getElementById("trailimageid").style
else if (document.all)
return document.all.trailimagid.style
}

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

function followmouse(e){
var xcoord=ofsm[0]
var ycoord=ofsm[1]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

</script>


Ultima editare efectuata de catre nick in Mier Oct 08, 2008 3:18 pm, editata de 1 ori
nick

nick
Membru onorific
Membru onorific

Mesaje : 1934
Varsta : 44
Data înscrierii : 01/08/2008
Mulțumiri : 0
Internet Explorer phpBB2

http://forumulandrei.com/
nick a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de Vizitato Joi Oct 09, 2008 9:25 am

Fireworks - Un "foc" de artificii simplu, un punct ce explodeaza intr-un numar de puncte in forma de cerc ce isi mareste diametrul.

Garantat merge in IE. Se vede bine pe forumurile cu fondul inchis ( negru )
Nu am incercat in alte browsere.

PA / AFIŞARE / PAGINA DE START - Generalităţi - Mesaj pe pagina de start - Continutul mesajului - Înregistrare

Cod:
<body bgcolor='#000000' >
<!-- Start of Fireworks -->
<script language="JavaScript">
<!--  IE4+, NS4+, NS6 Fireworks script
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ffa500','#ffff00','#00ff00','#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#fffffF')
Xpos=130;
Ypos=130;
I='#00ff00';
C=0;
S=5;
H=null;
W=null;
Y=null;
NS4=(document.layers);
NS6=(document.getElementById&&!document.all);
IE4=(document.all);
A=14;
E=120;
L=null;
if (NS4){
for (i=0; i < A; i++)
document.write('<LAYER NAME="nsstars'+i+'" TOP=0 LEFT=0 BGCOLOR='+I+' CLIP="0,0,2,2"></LAYER>');
}
if (NS6){
window.document.body.style.overflow='hidden';
for (i=0; i < A; i++)
document.write('<div id="ns6stars'+i+'" style="position:absolute;top:0px;left:0px;height:2px;width:2px;font-size:2px;background:'+I+'"></div>');
}
if (IE4){
document.write('<div id="ie" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < A; i++)
document.write('<div id="iestars" style="position:absolute;top:0;left:0;width:2px;height:2px;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.body.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.body.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.body.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars[i].style;
if (NS4)L=document.layers["nsstars"+i];
if (NS6)L=document.getElementById("ns6stars"+i).style;
var F = CL[Math.floor(Math.random()*CL.length)];
var RS=Math.round(Math.random()*2);
L.top = Ypos + E*Math.sin((C+i*5)/3)*Math.sin(C/100)
L.left= Xpos + E*Math.cos((C+i*5)/3)*Math.sin(C/100)
if (C < 110){
 if (NS4){L.bgColor=I;L.clip.width=1;L.clip.height=1}
 if (IE4||document.getElementById)
 {L.background=I;L.width=1;L.height=1;L.fontSize=1}
 }
else{
 if (NS4){L.bgColor=F;L.clip.width=RS;L.clip.height=RS}
 if (IE4||document.getElementById){L.background=F;L.width=RS;L.height=RS;L.fontSize=RS}
 }
}
if (C > 220){
 C=0;
 var NC = CL2[Math.floor(Math.random()*CL2.length)];
 I=NC;
 E=Math.round(100+Math.random()*90);
 Ypos = E+Math.round(Math.random()*(H-(E*2.2)))+Y;
 Xpos = E+Math.round(Math.random()*(W-(E*2.2)));
}
C+=S;
setTimeout("Fireworks()",10);
}
Fireworks();
// -->
</script>
<!-- End of Fireworks -->


Ultima editare efectuata de catre 1960 in Mar Mar 31, 2009 9:59 pm, editata de 2 ori
Anonymous

Vizitato
Vizitator


Vizitato a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Floating Top Bar

Mesaj Scris de nick Sam Noi 08, 2008 9:25 pm

Cod:

<head><style type="text/css">

#topbar{
position:absolute;
border: 1px solid black;
padding: 2px;
background-color: lightyellow;
width:500px;
visibility: hidden;
z-index: 100;
}

</style>

<script type="text/javascript">

/***********************************************
* Floating Top Bar script- &copy; Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

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

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (documentˇcookie.length > 0) {
offset = documentˇcookie.indexOf(search)
if (offset != -1) {


offset += search.length
end = documentˇcookie.indexOf(";", offset);
if (end == -1) end = documentˇcookie.length;
returnvalue=unescape(documentˇcookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
documentˇcookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}




function staticbar(){
  barheight=document.getElementById("topbar").offsetHeight
  var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
  var d = document;
  function ml(id){
      var el=d.getElementById(id);
      if (!persistclose || persistclose && get_cookie("remainclosed")=="")
      el.style.visibility="visible"
      if(d.layers)el.style=el;
      el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
      el.x = startX;
      if (verticalpos=="fromtop")
      el.y = startY;
      else{
      el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
      el.y -= startY;
      }
      return el;
  }
  window.stayTopLeft=function(){
      if (verticalpos=="fromtop"){
      var pY = ns ? pageYOffset : iecompattest().scrollTop;
      ftlObj.y += (pY + startY - ftlObj.y)/8;
      }
      else{
      var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
      ftlObj.y += (pY - startY - ftlObj.y)/8;
      }
      ftlObj.sP(ftlObj.x, ftlObj.y);
      setTimeout("stayTopLeft()", 10);
  }
  ftlObj = ml("topbar");
  stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script></head>
<body><div id="topbar">
<a href="" onClick="closebar(); return false"><img src="close.gif" border="0" /></a><b>
</div></body>

P.S. Poate fi folosit pentru multe lucruri (un pic de imaginatie) Fericit

p.a/afisare/generalitati/mesaj pe prima pagina
nick

nick
Membru onorific
Membru onorific

Mesaje : 1934
Varsta : 44
Data înscrierii : 01/08/2008
Mulțumiri : 0
Internet Explorer phpBB2

http://forumulandrei.com/
nick a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Defilarea unui text, sau imagine/imagini, orizontal sau vertical

Mesaj Scris de Vizitato Mier Noi 12, 2008 7:25 am

Deoarece nu am dorit sa tai din topicul original, unele coduri se poate sa le regasiti si in alte locuri.

Defilare simpla a unui text, orizontal :
Cod:
<marquee>TEXTUL TĂU AICI</marquee>

Defilare simpla a unei imagini, orizontal (&nbsp; <=> spatiu):
Cod:
<marquee><img src="http://URL_image1"></img> <img src="http://URL_image2"></img> <img src="http://URL_imageN"></img></marquee>

Defilare simpla a unei imagini, vertical (<br> <=> cu o linie mai jos):
Cod:
<marquee direction="up"><img src="http://URL_image1"></img><br><img src="http://URL_image2"></img><br><img src="http://URL_imageN"></img></marquee>
Nu uitati sa adaugati & nbsp; ori <br > pentru a face ca imaginile sa defileze orizontal , sau vertical.

Defilare a unei imagini cu link (partener - minibanner) :
Cod:
<marquee><a href="http://URL_link1" target="_blank"><img src="http://URL_image1"></img></a><a href="http://URL_link2" target="_blank"><img src="http://URL_image2"></img></a><a href="http://URL_linkN" target="_blank"><img src="http://URL_imageN"></img></a></marquee>

Text defilant orizontal, ce se opreste la plasarea mouselui in orice loc pe cimpul / linia in care defileaza textul :
Cod:
<marquee onmouseover="this.stop();" onmouseout="this.start();">TEXTUL SAU IMAGINEA TA</marquee>

Text defilant orizontal, ce se opreste la plasarea mouselui doar pe suprafata textului :
Cod:
<marquee id="id1"><span onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();">TEXTUL SAU IMAGINEA TA</span></marquee>

Imagini defilante orizontal, ce se opresc la plasarea mouselui doar pe suprafata textului :
Cod:
<marquee id="id1"><img src="http://URL_image1" onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();"></img><img src="http://URL_image2" onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();"></img><img src="http://URL_imageN" onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();"></img></marquee>

Imagini defilante orizontal continind linkuri, ce se opresc la plasarea mouselui doar pe suprafata textului
Cod:
<marquee id="id1"><a href="http://URL_link1" target="_blank"><img src="http://URL_image1" onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();"></img></a><a href="http://URL_link2" target="_blank"><img src="http://URL_image2" onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();"></img></a><a href="http://URL_linkN" target="_blank"><img src="http://URL_imageN" onmouseover="getElementById('id1').stop();" onmouseout="getElementById('id1').start();"></img></a></marquee>

Acum aveti posibilitatea de a "customiza" defilarea textului :
In tag-ul marquee, trebuie doar sa adaugati acest cod :
Cod:
style="ATTRIBUTE of STYLE: VALUE;"

Diverse atribute de stil aveti mai jos :
:: HEIGHT sau WIDTH pentru latimea / inaltimea scroll
:: BACKGROUND-COLOR pentru modificarea background sub text
:: BACKGROUND : URL('http://URL_background_image'); BACKGROUND-ATTACHMENT: FIXED; pentru a pune o imagine fixa de background
:: COLOR pentru a schimba culoarea textului
:: FONT-SIZE pentru a schimba dimensiunea textului
:: TEXT-ALIGN ptr. a modifica alinierea textului (LEFT, RIGHT, CENTER sau JUSTIFY)

Mai sunt si alte stiluri ce pot fi aplicate, dar asta, va las sa le descoperiti singuri...
Written by the friendly SanDream
that's all folks
corrections by Katt
Tradus, cum m-am priceput - 1960



Ultima editare efectuata de catre 1960 in Mar Mar 31, 2009 10:01 pm, editata de 3 ori
Anonymous

Vizitato
Vizitator


Vizitato a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de Vizitato Lun Dec 01, 2008 2:21 pm

Un text, ce se roteste in jurul mouseului.


PA / AFISARE / PAGINA DE START / Generalitati - Mesaj pe pagina de start - Continutul mesajului - Inregistrare

Cod:
<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
/* Optional - DO NOT SET FONT-SIZE HERE, SET IT IN THE script */
font-style: italic;
font-weight: bold;
font-family: 'comic sans ms', verdana, arial;
color: #PLACE YOUR COLOR HERE;
/* End Optional */

/* Start Required - Do Not Edit */
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}
#outerCircleText div {position: relative;}
#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
/* End Required */
/* End Circle Text Styles */
</style>
<script type="text/javascript">

/* Circling text trail- Tim Tilton
  Website: http://www.tempermedia.com/
  Visit: http://www.dynamicdrive.com/ for Original Source and tons of scripts
  Modified Here for more flexibility and modern browser support
  Modifications as first seen in http://www.dynamicdrive.com/forums/
  username:jscheuer1 - This notice must remain for legal use
  */

;(function(){

// Your message here (QUOTED STRING)
var msg = "TEXTUL DORIT";

/* THE REST OF THE EDITABLE VALUES BELOW ARE ALL UNQUOTED NUMBERS */

// Set font's style size for calculating dimensions
// Set to number of desired pixels font size (decimal and negative numbers not allowed)
var size = 10;

// Set both to 1 for plain circle, set one of them to 2 for oval
// Other numbers & decimals can have interesting effects, keep these low (0 to 3)
var circleY = 0.75; var circleX = 3;

// The larger this divisor, the smaller the spaces between letters
// (decimals allowed, not negative numbers)
var letter_spacing = 5;

// The larger this multiplier, the bigger the circle/oval
// (decimals allowed, not negative numbers, some rounding is applied)
var diameter = 10;

// Rotation speed, set it negative if you want it to spin clockwise (decimals allowed)
var rotation = 0.4;

// This is not the rotation speed, its the reaction speed, keep low!
// Set this to 1 or a decimal less than one (decimals allowed, not negative numbers)
var speed = 0.3;

////////////////////// Stop Editing //////////////////////

if (!window.addEventListener && !window.attachEvent || !document.createElement) return;

msg = msg.split('');
var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,
ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],
o = document.createElement('div'), oi = document.createElement('div'),
b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body,

mouse = function(e){
 e = e || window.event;
 ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position
 xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position
},

makecircle = function(){ // rotation/positioning
 if(init.nopy){
  o.style.top = (b || document.body).scrollTop + 'px';
  o.style.left = (b || document.body).scrollLeft + 'px';
 };
 currStep -= rotation;
 for (var d, i = n; i > -1; --i){ // makes the circle
  d = document.getElementById('iemsg' + i).style;
  d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px';
  d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';
 };
},

drag = function(){ // makes the resistance
 y[0] = Y[0] += (ymouse - Y[0]) * speed;
 x[0] = X[0] += (xmouse - 20 - X[0]) * speed;
 for (var i = n; i > 0; --i){
  y[i] = Y[i] += (y[i-1] - Y[i]) * speed;
  x[i] = X[i] += (x[i-1] - X[i]) * speed;
 };
 makecircle();
},

init = function(){ // appends message divs, & sets initial values for positioning arrays
 if(!isNaN(window.pageYOffset)){
  ymouse += window.pageYOffset;
  xmouse += window.pageXOffset;
 } else init.nopy = true;
 for (var d, i = n; i > -1; --i){
  d = document.createElement('div'); d.id = 'iemsg' + i;
  d.style.height = d.style.width = a + 'px';
  d.appendChild(document.createTextNode(msg[i]));
  oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0;
 };
 o.appendChild(oi); document.body.appendChild(o);
 setInterval(drag, 25);
},

ascroll = function(){
 ymouse += window.pageYOffset;
 xmouse += window.pageXOffset;
 window.removeEventListener('scroll', ascroll, false);
};

o.id = 'outerCircleText'; o.style.fontSize = size + 'px';

if (window.addEventListener){
 window.addEventListener('load', init, false);
 document.addEventListener('mouseover', mouse, false);
 document.addEventListener('mousemove', mouse, false);
  if (/Apple/.test(navigator.vendor))
  window.addEventListener('scroll', ascroll, false);
}
else if (window.attachEvent){
 window.attachEvent('onload', init);
 document.attachEvent('onmousemove', mouse);
};

})();

</script>

Atentie la dimensiunea, pasul si numarul de litere, se poate sa apara suprapuse, in acest caz trebuie sa mariti diametrul cercului, ori reduceti nr caractere in text.
Va descurcati voi, sunteti mari.


Ultima editare efectuata de catre 1960 in Vin Mar 13, 2009 9:37 am, editata de 4 ori
Anonymous

Vizitato
Vizitator


Vizitato a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de nick Mar Dec 16, 2008 3:26 pm

Cod:
<head><style type="text/css">
#topbar{
position:absolute;
border: 5px solid black;
padding: 13px;
background-color: lightyellow;
width:100px;
visibility: hidden;
z-index: 130;
}
</style>
<script type="text/javascript">

/***********************************************
* Floating menu script- © Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/




var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY =20 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";

if (documentˇcookie.length > 0) {
offset = documentˇcookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = documentˇcookie.indexOf(";", offset);
if (end == -1) end = documentˇcookie.length;
returnvalue=unescape(documentˇcookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
documentˇcookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
   barheight=document.getElementById("topbar").offsetHeight
   var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
   var d = document;
   function ml(id){
      var el=d.getElementById(id);
      if (!persistclose || persistclose && get_cookie("remainclosed")=="")
      el.style.visibility="visible"
      if(d.layers)el.style=el;
      el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
      el.x = startX;
      if (verticalpos=="fromtop")
      el.y = startY;
      else{
      el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
      el.y -= startY;
      }
      return el;
   }
   window.stayTopLeft=function(){
      if (verticalpos=="fromtop"){
      var pY = ns ? pageYOffset : iecompattest().scrollTop;
      ftlObj.y += (pY + startY - ftlObj.y)/8;
      }
      else{
      var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
      ftlObj.y += (pY - startY - ftlObj.y)/8;
      }
      ftlObj.sP(ftlObj.x, ftlObj.y);
      setTimeout("stayTopLeft()", 10);
   }
   ftlObj = ml("topbar");
   stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script></head>
<body><div id="topbar">
<a href="" onClick="closebar(); return false"><img src="http://i31.servimg.com/u/f31/11/80/60/47/ico10.png" border="0" /></a><b>
<center><font size="5"><font color="red">Meniu</font></font></center>
<a href="link"><B><font size="3">cum vrei sa apara</font></B></a><br>
      <a href="link"><B><font size="3">cum vrei sa apara</font></B></a><br>
      <a href="link"><B><font size="3">cum vrei sa apara</font></B></a><br>
      <a href="link"><B><font size="3">cum vrei sa apara</font></B></a><br>
      <a href="link"><B><font size="3">cum vrei sa apara</font></B></a><br>
      <a href="link"><b><font size="3">cum vrei sa apara</font></b></a><br>
      </a>
</div></body>




Floating meniu

este incercat pe internet explorer si mozilla

p.a/afisare/generalitati/mesaj pe prima pagina
nick

nick
Membru onorific
Membru onorific

Mesaje : 1934
Varsta : 44
Data înscrierii : 01/08/2008
Mulțumiri : 0
Internet Explorer phpBB2

http://forumulandrei.com/
nick a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de Vizitato Mar Dec 23, 2008 10:40 am

Cod:
.online {
background-image: url("Url de la imagen");
background-position: left 0;
background-repeat: no-repeat;
}

Acest cod permite schimbarea imaginii Online in alta parte a forumului.Se pune in PA=>Afisare=>Culori=>Foaie de stil CSS.
Anonymous

Vizitato
Vizitator


Vizitato a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de Vizitato Joi Dec 25, 2008 9:07 am

Un script de ninsoare, viscolita
PA / AFISARE / PAGINA DE START / Generalitati - Mesaj pe pagina de start - Continutul mesajului - Inregistrare

Cod:
<script>
<!--
var snowStorm = null;

function SnowStorm() {

  // PROPERTIES
  // ------------------

  var imagePath = 'http://stargagicu.t35.com/snow/'; // relative path to snow images (including trailing slash)
  var flakesMax = 128;
  var flakesMaxActive = 64;
  var vMaxX = 8;
  var vMaxY = 4;
  var usePNG = true;
  var flakeBottom = null;        // Integer for fixed bottom, 0 or null for "full-screen" snow effect
  var snowStick = true;
  var snowCollect = false;
  var targetElement = null;      // element which snow will be appended to (document body if undefined)
  var followMouse = true;
  var flakeTypes = 6;
  var flakeWidth = 5;
  var flakeHeight = 5;

  // ------------------

  var zIndex = 0; // CSS stacking order applied to each snowflake
  var flakeLeftOffset = 0; // amount to subtract from edges of container
  var flakeRightOffset = 0; // amount to subtract from edges of container

  // --- End of user section ---

  var addEvent = function(o,evtName,evtHandler) {
    typeof(attachEvent)=='undefined'?o.addEventListener(evtName,evtHandler,false):o.attachEvent('on'+evtName,evtHandler);
  }

  var removeEvent = function(o,evtName,evtHandler) {
    typeof(attachEvent)=='undefined'?o.removeEventListener(evtName,evtHandler,false):o.detachEvent('on'+evtName,evtHandler);
  }

  var classContains = function(o,cStr) {
    return (typeof(o.className)!='undefined'?o.className.indexOf(cStr)+1:false);
  }

  var s = this;
  var storm = this;
  this.timers = [];
  this.flakes = [];
  this.disabled = false;
  this.terrain = [];
  this.active = false;

  var isIE = navigator.userAgent.match(/msie/i);
  var isIE6 = navigator.userAgent.match(/msie 6/i);
  var isOldIE = (isIE && (isIE6 || navigator.userAgent.match(/msie 5/i)));
  var isWin9X = navigator.appVersion.match(/windows 98/i);
  var isiPhone = navigator.userAgent.match(/iphone/i);
  var isOpera = navigator.userAgent.match(/opera/i);
  if (isOpera) isIE = false; // Opera (which may be sneaky, pretending to be IE by default)
  var screenX = null;
  var screenX2 = null;
  var screenY = null;
  var scrollY = null;
  var vRndX = null;
  var vRndY = null;
  var windOffset = 1;
  var windMultiplier = 2;
  var pngSupported = (!isIE || (isIE && !isIE6 && !isOldIE)); // IE <7 doesn't do PNG nicely without crap filters
  var docFrag = document.createDocumentFragment();
  this.oControl = null; // toggle element
  if (flakeLeftOffset == null) flakeLeftOffset = 0;
  if (flakeRightOffset == null) flakeRightOffset = 0;

  function rnd(n,min) {
    if (isNaN(min)) min = 0;
    return (Math.random()*n)+min;
  }

  this.randomizeWind = function() {
    vRndX = plusMinus(rnd(vMaxX,0.2));
    vRndY = rnd(vMaxY,0.2);
    if (this.flakes) {
      for (var i=0; i<this.flakes.length; i++) {
        if (this.flakes[i].active) this.flakes[i].setVelocities();
      }
    }
  }

  function plusMinus(n) {
    return (parseInt(rnd(2))==1?n*-1:n);
  }

  this.scrollHandler = function() {
    // "attach" snowflakes to bottom of window if no absolute bottom value was given
    scrollY = (flakeBottom?0:parseInt(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop));
    if (isNaN(scrollY)) scrollY = 0; // Netscape 6 scroll fix
    if (!flakeBottom && s.flakes) {
      for (var i=0; i<s.flakes.length; i++) {
        if (s.flakes[i].active == 0) s.flakes[i].stick();
      }
    }
  }

  this.resizeHandler = function() {
    if (window.innerWidth || window.innerHeight) {
      screenX = window.innerWidth-(!isIE?16:2)-flakeRightOffset;
      screenY = (flakeBottom?flakeBottom:window.innerHeight);
    } else {
      screenX = (document.documentElement.clientWidth||document.body.clientWidth||document.body.scrollWidth)-(!isIE?8:0)-flakeRightOffset;
      screenY = flakeBottom?flakeBottom:(document.documentElement.clientHeight||document.body.clientHeight||document.body.scrollHeight);
    }
    screenX2 = parseInt(screenX/2);
  }

  this.resizeHandlerAlt = function() {
    screenX = targetElement.offsetLeft+targetElement.offsetWidth-flakeRightOffset;
    screenY = flakeBottom?flakeBottom:targetElement.offsetTop+targetElement.offsetHeight;
    screenX2 = parseInt(screenX/2);
  }

  this.freeze = function() {
    // pause animation
    if (!s.disabled) {
      s.disabled = 1;
    } else {
      return false;
    }
    for (var i=0; i<s.timers.length; i++) {
      clearInterval(s.timers[i]);
    }
  }

  this.resume = function() {
    if (s.disabled) {
      s.disabled = 0;
    } else {
      return false;
    }
    s.timerInit();
  }

  this.toggleSnow = function() {
    if (!s.flakes.length) {
      // first run
      s.start();
      s.setControlActive(true);
    } else {
      s.active = !s.active;
      if (s.active) {
        s.show();
        s.resume();
        s.setControlActive(true);
      } else {
        s.stop();
        s.freeze();
        s.setControlActive(false);
      }
    }
  }

  this.setControlActive = function(bActive) {
    // Y.D[(bActive?'addClass':'removeClass')](s.oControl,'active');
  }

  this.stop = function() {
    this.freeze();
    for (var i=this.flakes.length; i--;) {
      this.flakes[i].o.style.display = 'none';
    }
    removeEvent(window,'scroll',s.scrollHandler);
    removeEvent(window,'resize',s.resizeHandler);
    if (!isIE) {
      removeEvent(window,'blur',s.freeze);
      removeEvent(window,'focus',s.resume);
    }
    // removeEventHandler(window,'resize',this.resizeHandler,false);
  }

  this.show = function() {
    for (var i=this.flakes.length; i--;) {
      this.flakes[i].o.style.display = 'block';
    }
  }

  this.SnowFlake = function(parent,type,x,y) {
    var s = this;
    var storm = parent;
    this.type = type;
    this.x = x||parseInt(rnd(screenX-20));
    this.y = (!isNaN(y)?y:-rnd(screenY)-12);
    this.vX = null;
    this.vY = null;
    this.vAmpTypes = [2.0,1.0,1.25,1.0,1.5,1.75]; // "amplification" for vX/vY (based on flake size/type)
    this.vAmp = this.vAmpTypes[this.type];

    this.active = 1;
    this.o = document.createElement('img');
    this.o.style.position = 'absolute';
    this.o.style.width = flakeWidth+'px';
    this.o.style.height = flakeHeight+'px';
    this.o.style.fontSize = '1px'; // so IE keeps proper size
    this.o.style.zIndex = zIndex;
    this.o.src = imagePath+this.type+(pngSupported && usePNG?'.png':'.gif');
    docFrag.appendChild(this.o);

    this.refresh = function() {
      s.o.style.left = s.x+'px';
      s.o.style.top = s.y+'px';
    }

    this.stick = function() {
      if (isIE6 || isiPhone || (targetElement != document.documentElement && targetElement != document.body)) {
       s.o.style.top = (screenY+scrollY-flakeHeight-storm.terrain[Math.floor(s.x)])+'px';
     } else {
        s.o.style.display = 'none';
       s.o.style.top = 'auto';
        s.o.style.bottom = '0px';
      s.o.style.position = 'fixed';
        s.o.style.display = 'block';
      }
    }

    this.vCheck = function() {
      if (s.vX>=0 && s.vX<0.2) {
        s.vX = 0.2;
      } else if (s.vX<0 && s.vX>-0.2) {
        s.vX = -0.2;
      }
      if (s.vY>=0 && s.vY<0.2) {
        s.vY = 0.2;
      }
    }

    this.move = function() {
      s.x += s.vX*windOffset;
      s.y += (s.vY*s.vAmp);
      s.refresh();
      if (s.vX && screenX-s.x<flakeWidth+(s.vX*windOffset)) { // X-axis scroll check
        s.x = 0;
      } else if ((s.vX<0 || windOffset<0)&& s.x-flakeLeftOffset<0-flakeWidth) {
        s.x = screenX-flakeWidth; // flakeWidth;
      }
      var yDiff = screenY+scrollY-s.y-storm.terrain[Math.floor(s.x)];
      if (yDiff<flakeHeight) {
        s.active = 0;
        if (snowCollect && snowStick) {
          var height = [0.75,1.5,0.75];
          for (var i=0; i<2; i++) {
            storm.terrain[Math.floor(s.x)+i+2] += height[i];
          }
        }
        s.o.style.left = (s.x/screenX*100)+'%'; // set "relative" left (change with resize)
        if (!flakeBottom) {
         if (snowStick) {
            s.stick();
        } else {
         s.recycle();
        }
        }
      }
    }

    this.animate = function() {
      // main animation loop
      // move, check status, die etc.
      s.move();
    }

    this.setVelocities = function() {
      s.vX = vRndX+rnd(vMaxX*0.12,0.1);
      s.vY = vRndY+rnd(vMaxY*0.12,0.1);
    }

    this.recycle = function() {
     s.o.style.display = 'none';
      s.o.style.position = 'absolute';
      s.o.style.bottom = 'auto';
      s.setVelocities();
      s.vCheck();
      s.x = parseInt(rnd(screenX-flakeWidth-20));
      s.y = parseInt(rnd(screenY)*-1)-flakeHeight;
      s.o.style.left = s.x+'px';
      s.o.style.top = s.y+'px';
     s.o.style.display = 'block';
      s.active = 1;
    }

    this.recycle(); // set up x/y coords etc.
    this.refresh();

  }

  this.snow = function() {
    var active = 0;
    var used = 0;
    var waiting = 0;
    for (var i=s.flakes.length; i--;) {
      if (s.flakes[i].active == 1) {
        s.flakes[i].move();
        active++;
      } else if (s.flakes[i].active == 0) {
        used++;
      } else {
        waiting++;
      }
    }
    if (snowCollect && !waiting) { // !active && !waiting
      // create another batch of snow
      s.createSnow(flakesMaxActive,true);
    }
    if (active<flakesMaxActive) {
      with (s.flakes[parseInt(rnd(s.flakes.length))]) {
        if (!snowCollect && active == 0) {
          recycle();
        } else if (active == -1) {
          active = 1;
        }
      }
    }
  }

  this.mouseMove = function(e) {
    if (!followMouse) return true;
    var x = parseInt(e.clientX);
    if (x<screenX2) {
      windOffset = -windMultiplier+(x/screenX2*windMultiplier);
    } else {
      x -= screenX2;
      windOffset = (x/screenX2)*windMultiplier;
    }
  }

  this.createSnow = function(limit,allowInactive) {
    for (var i=0; i<limit; i++) {
      s.flakes[s.flakes.length] = new s.SnowFlake(s,parseInt(rnd(flakeTypes)));
      if (allowInactive || i>flakesMaxActive) s.flakes[s.flakes.length-1].active = -1;
    }
    targetElement.appendChild(docFrag);
  }

  this.timerInit = function() {
    s.timers = (!isWin9X?[setInterval(s.snow,20)]:[setInterval(s.snow,75),setInterval(s.snow,25)]);
  }

  this.init = function() {
    for (var i=0; i<2048; i++) {
      s.terrain[i] = 0;
    }
    s.randomizeWind();
    s.createSnow(snowCollect?flakesMaxActive:flakesMaxActive*2); // create initial batch
    addEvent(window,'resize',s.resizeHandler);
    addEvent(window,'scroll',s.scrollHandler);
    if (!isIE) {
      addEvent(window,'blur',s.freeze);
      addEvent(window,'focus',s.resume);
    }
    s.resizeHandler();
    s.scrollHandler();
    if (followMouse) {
      addEvent(document,'mousemove',s.mouseMove);
    }
    s.timerInit();
  }

  var didInit = false;

  this.start = function(bFromOnLoad) {
   if (!didInit) {
     didInit = true;
   } else if (bFromOnLoad) {
     // already loaded and running
     return true;
   }
    if (typeof targetElement == 'string') {
      targetElement = document.getElementById(targetElement);
      if (!targetElement) throw new Error('Snowstorm: Unable to get targetElement');
    }
   if (!targetElement) {
     targetElement = (!isIE?(document.documentElement?document.documentElement:document.body):document.body);
   }
    if (targetElement != document.documentElement && targetElement != document.body) s.resizeHandler = s.resizeHandlerAlt; // re-map handler to get element instead of screen dimensions
    s.resizeHandler(); // get bounding box elements
    if (screenX && screenY && !s.disabled) {
      s.init();
      s.active = true;
    }
  }

  if (document.addEventListener) {
   // safari 3.0.4 doesn't do DOMContentLoaded, maybe others - use a fallback to be safe.
   document.addEventListener('DOMContentLoaded',function(){s.start(true)},false);
    window.addEventListener('load',function(){s.start(true)},false);
  } else {
    addEvent(window,'load',function(){s.start(true)});
  }

}



snowStorm = new SnowStorm();

// -->

</script>


Ultima editare efectuata de catre 1960 in Mar Mar 31, 2009 10:04 pm, editata de 2 ori
Anonymous

Vizitato
Vizitator


Vizitato a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Scripturi CSS pentru INVISION

Mesaj Scris de darkspectre Dum Dec 28, 2008 3:40 pm

Cateva scripturi CSS pentru Invision
Pe acestea le puneti in:
P.A=>Afişare=>Imagini si culori=>Culori=>Foaie de stil CSS:
Scripturi pentru forum - Pagina 2 Cssov5

1.Pentru schimbarea culorii de mouseover de la meniu(adica culoarea care apare cand muti cursorul pe un meniu)
Cod:
#submenu ul li a:hover {
   background-color: #FFFFFF;
   }
Schimbati #FFFFFF cu codul culorii dumneavoastra.

2.Pentru schimbarea fundalului de la logo-ul forumului
Cod:
div#logostrip {
   min-height: 68px;
   background-image: url('http://i79.servimg.com/u/f79/13/19/48/88/zzzz11.png');
   background-repeat: repeat-x;
   text-align: left;
   }
In codul de mai sus se afla un exemplu de imagine.Schimbati link-ul cu imaginea dumneavoastra sau pastrati respectiva imagine.

3.Pentru schimbarea acestei imagini:Scripturi pentru forum - Pagina 2 Nav10:
Cod:
#navstrip li.begin {
   padding-left: 15px;
   background: url('http://i79.servimg.com/u/f79/13/19/48/88/ds10.png') no-repeat left 50%;
   }
In cod se afla link-ul imaginii:Scripturi pentru forum - Pagina 2 Ds10.Schimbati acel link sau pastrati actuala imagine.

4.Pentru schimbarea imaginei care reprezinta profilul:Scripturi pentru forum - Pagina 2 Pp-blank-thumb-38px:
Cod:
.popupmenu .avatar {
   float: right;
   margin: 5px;
   width: 50px;
   height: 50px;
   background: url('LINK IMAGINE') no-repeat;
   }
Schimbati LINK IMAGINE cu linku-ul imaginei dumneavoastra.

5.Pentru ascuderea link-urilor:Mesaje noiMesajele propriiMesaje la care nu s-a raspuns
Cod:
#userlinks{
display:none;
}

6.Pentru schimbarea imaginilor +&-:
Cod:
div.maintitle .expand,div.maintitle .contract {
   float: right;
   width: 10px;
   height: 10px;
   background: url('LINK IMAGINE PLUS') no-repeat 50% 50%;
   cursor: pointer;
   }
div.maintitle .expand {
   background: url('LINK IMAGINE MINUS') no-repeat 50% 50%;
   }
Inlocuiti ,,LINK IMAGINE PLUS'' si ,,LINK IMAGINE MINUS'' cu link-urile imaginilor dumneavoastra cu + si -.
darkspectre

darkspectre
Membru activ

Mesaje : 2542
Varsta : 114
Localizare : auf mein land
Data înscrierii : 29/04/2008
Mulțumiri : 2
Internet Explorer

http://www.fg-coding.net
darkspectre a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de Vizitato Joi Ian 15, 2009 9:11 pm

Cod:
<HEAD>
<script LANGUAGE="JavaScript">
var sourisX, sourisY;
var flag = 0;
var posX = new Array();
var posY = new Array();
var isNetscape4 = (document.layers) ? true : false;
var isNetscape6 = !document.all && document.getElementById;
var isNetscape = isNetscape4 || isNetscape6;

var nb_point;
var hauteur = new Array();
var largeur = new Array();
var sens = new Array();
var nb_fois;
var compteur;
var origineY;
function initTrailer(caractere,police,taille,nombre,duree) {
nb_point = nombre;
nb_fois = duree/20;
document.write("<style type=text/css>");
document.write(".styleTrailer {VISIBILITY: hidden;");
document.write("FONT-SIZE: "+taille+"px;");
document.write("FONT-FAMILY: "+police+"; POSITION: absolute;}");
document.write("</style>");
for (i=0; i<nb_point; i++) {
document.write("<SPAN ID='calque"+i+"' CLASS='styleTrailer'>");
document.write(caractere+"</SPAN>")
}
if (isNetscape6)
document.addEventListener("mousedown",gestionSouris,true);
else {
if (isNetscape4)
document.captureEvents(Event.CLICK);
document.onmousedown = gestionSouris;
}
animationTrailer();
}
function gestionSouris(evenement) {
if (isNetscape) {
sourisX = evenement.pageX;
sourisY = evenement.pageY;
}
else {
sourisX = event.clientX + document.body.scrollLeft;
sourisY = event.clientY + document.body.scrollTop;
}
if (flag == 0) {
for (i=0; i<nb_point; i++) {
couleur = "#"+((Math.random()>.5) ? "FF" : "80")
couleur += ((Math.random()>.5) ? "FF" : "80");
couleur += ((Math.random()>.5) ? "FF" : "80");
if (isNetscape4)
eval('document.layers["calque'+i+'"].color = "'+couleur+'";');
else if (isNetscape6)
eval('document.getElementById("calque'+i+'").style.color = "'+couleur+'";');
else
eval('document.all.calque'+i+'.style.color = "'+couleur+'";');
sens[i] = (Math.random()>.5) ? -1 : 1;
largeur[i] = Math.random()*1.5;
hauteur[i] = Math.random()*2+1;
posX[i] = sourisX;
posY[i] = sourisY;
visibilidad("calque"+i,true);
}
compteur = nb_fois;
origineY = sourisY;
flag = 1;
}
}
function animationTrailer() {
if (flag == 1) {
for (i=0; i<nb_point; i++) {
posX[i] = posX[i] + sens[i]*largeur[i];
posY[i] = origineY + hauteur[i]*((nb_fois-compteur-30)*(nb_fois-compteur-30)/30-30);
}
compteur--;
for (i=0; i<nb_point; i++) {
if (isNetscape4) {
var calque = eval("document.calque"+i);
calque.left = posX[i];
calque.top = posY[i];
}
else if (isNetscape6) {
var calque = eval("document.getElementById('calque"+i+"').style");
calque.left = posX[i];
calque.top = posY[i];
}
else {
var calque = eval("calque"+(i)+".style");
calque.posLeft = posX[i];
calque.posTop = posY[i];
}
}
if (compteur == 0) {
for (i=0; i<nb_point; i++)
visibilidad("calque"+i,false);
flag = 0;
}
}

setTimeout("animationTrailer()",20);
}
function visibilidad(calque,etat) {
if (etat == false)
etat = (isNetscape4) ? "hide" : "hidden";
else
etat = "visible";
if (isNetscape4)
eval('document.layers["'+calque+'"].visibility = "'+etat+'";');
else if (isNetscape6)
eval('document.getElementById("'+calque+'").style.visibility = "'+etat+'";');
else
eval('document.all.'+calque+'.style.visibility = "'+etat+'";');
}
</script>
</HEAD>
<script LANGUAGE=JavaScript>
</script>
</HEAD>
<BODY BGCOLOR="#ffffff">
<Font size=3, color='White'>Haz click para ejecutar el script</font>
<script LANGUAGE=JavaScript>{
initTrailer("TEXT-UL CARE VRETI SA APARA", "Arial", 25, 20, 1900);
}
</script>
</BODY>

Acest cod face ca atunci cand dati click in forum , va va aparea ca un fel de confeti cu textul dorit.
Se pune in:PA=>Afisare=>Pagina de start=>Mesaj pe pagina de start.
Anonymous

Vizitato
Vizitator


Vizitato a fost mulțumit de autorul acestui subiect.

Scripturi pentru forum - Pagina 2 Empty Re: Scripturi pentru forum

Mesaj Scris de crysty97 Dum Ian 18, 2009 10:07 pm

Script pentru parteneri

Cod:
<a href="LINK-UL PARTENERULUI" target="_blank"><img src="LINK IMAGINE (BANNER) " border="0"></a>

*** cod modificat de ezlidor. Motiv: eliminarea unor optiuni inutile
crysty97

crysty97
Membru Forumgratuit

Mesaje : 64
Varsta : 31
Localizare : roManiA
Data înscrierii : 18/01/2009
Mulțumiri : 0
Internet Explorer phpBB2

http://www.ak47-forum.forumz.ro
crysty97 a fost mulțumit de autorul acestui subiect.

Pagina 2 din 10 Înapoi  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Urmatorul

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum