WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1How to put fireworks Empty How to put fireworks Mon Dec 27, 2010 12:19 am

silentkarl

silentkarl
Registered Member
Registered Member
how to put fireworks in my forum

http://phminicoderz.7forum.net/forum.htm

2How to put fireworks Empty Re: How to put fireworks Mon Dec 27, 2010 1:26 am

Terry Harvey

Terry Harvey
Registered Member
Registered Member
http://world-dezign.forumotion.com/t325-add-fireworks-for-your-forum

3How to put fireworks Empty Re: How to put fireworks Mon Dec 27, 2010 2:46 am

Guest


Guest
You can't see the contents of that link unless you're a member. Hmm. Interesting way to attempt to attract new members.

Ankillien/Sanket, please let me know your policy about members posting links to sites where they are admins/mods. If the above post is acceptable policy, I will begin doing the same. Thank you in advance for your reply.

4How to put fireworks Empty Re: How to put fireworks Mon Dec 27, 2010 2:47 am

Guest


Guest
dion wrote:You can't see the contents of that link unless you're a member. Hmm. Interesting way to attempt to attract new members.

Ankillien/Sanket, please let me know your policy about members posting links to sites where they are admins/mods. If the above post is acceptable policy, I will begin doing the same. Thank you in advance for your reply.

Anyway,i am pasting the code:

Code:

<SCRIPT LANGUAGE="JavaScript">
if (document.getElementById){
 
showerCol=new Array('#000000','#ff0000','#ffffff','#000000','#00ff00','#ff00ff','#ffffff','#ffa500','#000000','#fff000');
launchCol=new Array('#ffff00','#ff00ff','#00ffff','#ffffff','#ff8000');
runSpeed=50; //setTimeout speed.
 
// *** DO NOT EDIT BELOW ***
 
var yPos=200;
var xPos=200;
var explosionSize=200;
var launchColour='#ffff80';
var timer=null;
var dims=1;
var evn=360/14;
firework=new Array();
var ieType=(typeof window.innerWidth != 'number');
var ieRef=((ieType) && (document.compatMode) &&
(document.compatMode.indexOf("CSS") != -1))
?document.documentElement:document.body;
thisStep=0;
step=5;
 
for (i=0; i < 14; i++){
document.write('<div id="sparks'+i+'" style="position:absolute;top:0px;left:0px;height:1px;width:1px;font-size:1px;background-color:'+launchColour+'"><\/div>');
firework[i]=document.getElementById("sparks"+i).style;
}
 
function winDims(){
winH=(ieType)?ieRef.clientHeight:window.innerHeight;
winW=(ieType)?ieRef.clientWidth:window.innerWidth;
bestFit=(winW >= winH)?winH:winW;
}
winDims();
window.onresize=new Function("winDims()");
 
function Reset(){
var dsy=(ieType)?ieRef.scrollTop:window.pageYOffset;
thisStep=-1;
launchColour = launchCol[Math.floor(Math.random()*launchCol.length)];
explosionSize=Math.round(100+Math.random()*(bestFit/4));
yPos = explosionSize+Math.round(Math.random()*(winH-(explosionSize*3.2)))+dsy;
xPos = explosionSize+Math.round(Math.random()*(winW-(explosionSize*3.2)));
dims=1;
for (i=0; i < 14; i++){
 firework[i].backgroundColor=launchColour;
 firework[i].width=dims+"px";
 firework[i].height=dims+"px";
 firework[i].fontSize=dims+"px";
}
Fireworks();
}
 
function Fireworks(){
thisStep+=step;
timer=setTimeout("Fireworks()",runSpeed);
 
for (i=0; i < 14; i++){
firework[i].top = yPos + explosionSize * Math.sin(i*evn*Math.PI/180)*Math.sin(thisStep/100)+"px";
firework[i].left= xPos + explosionSize * Math.cos(i*evn*Math.PI/180)*Math.sin(thisStep/100)+"px";
 if (thisStep > 100){
 dims=(explosionSize < 150)?1:Math.round(1+Math.random()*2);
 firework[i].backgroundColor=showerCol[Math.floor(Math.random()*showerCol.length)];
 firework[i].width=dims+"px";
 firework[i].height=dims+"px";
 firework[i].fontSize=dims+"px";
 }
}
if (thisStep > 160){
 clearTimeout(timer);
 Reset();
}
}
window.onload=Fireworks;
}
//-->
</SCRIPT>

5How to put fireworks Empty Re: How to put fireworks Mon Dec 27, 2010 3:06 am

Terry Harvey

Terry Harvey
Registered Member
Registered Member
It's not my forum - It's just a tutorial...

See:

https://2img.net/h/oi53.tinypic.com/rw3ww5.png

But sorry, I forgot guests can't view that.

6How to put fireworks Empty Re: How to put fireworks Mon Dec 27, 2010 11:59 am

ankillien

ankillien
Administrator
Administrator
Members must refrain from posting links to tutorials where only registered members can read them.

This can be considered as advertising.

7How to put fireworks Empty Re: How to put fireworks Tue Dec 28, 2010 1:29 pm

silentkarl

silentkarl
Registered Member
Registered Member
Nick wrote:
dion wrote:You can't see the contents of that link unless you're a member. Hmm. Interesting way to attempt to attract new members.

Ankillien/Sanket, please let me know your policy about members posting links to sites where they are admins/mods. If the above post is acceptable policy, I will begin doing the same. Thank you in advance for your reply.

Anyway,i am pasting the code:

Code:

<SCRIPT LANGUAGE="JavaScript">
if (document.getElementById){
 
showerCol=new Array('#000000','#ff0000','#ffffff','#000000','#00ff00','#ff00ff','#ffffff','#ffa500','#000000','#fff000');
launchCol=new Array('#ffff00','#ff00ff','#00ffff','#ffffff','#ff8000');
runSpeed=50; //setTimeout speed.
 
// *** DO NOT EDIT BELOW ***
 
var yPos=200;
var xPos=200;
var explosionSize=200;
var launchColour='#ffff80';
var timer=null;
var dims=1;
var evn=360/14;
firework=new Array();
var ieType=(typeof window.innerWidth != 'number');
var ieRef=((ieType) && (document.compatMode) &&
(document.compatMode.indexOf("CSS") != -1))
?document.documentElement:document.body;
thisStep=0;
step=5;
 
for (i=0; i < 14; i++){
document.write('<div id="sparks'+i+'" style="position:absolute;top:0px;left:0px;height:1px;width:1px;font-size:1px;background-color:'+launchColour+'"><\/div>');
firework[i]=document.getElementById("sparks"+i).style;
}
 
function winDims(){
winH=(ieType)?ieRef.clientHeight:window.innerHeight;
winW=(ieType)?ieRef.clientWidth:window.innerWidth;
bestFit=(winW >= winH)?winH:winW;
}
winDims();
window.onresize=new Function("winDims()");
 
function Reset(){
var dsy=(ieType)?ieRef.scrollTop:window.pageYOffset;
thisStep=-1;
launchColour = launchCol[Math.floor(Math.random()*launchCol.length)];
explosionSize=Math.round(100+Math.random()*(bestFit/4));
yPos = explosionSize+Math.round(Math.random()*(winH-(explosionSize*3.2)))+dsy;
xPos = explosionSize+Math.round(Math.random()*(winW-(explosionSize*3.2)));
dims=1;
for (i=0; i < 14; i++){
 firework[i].backgroundColor=launchColour;
 firework[i].width=dims+"px";
 firework[i].height=dims+"px";
 firework[i].fontSize=dims+"px";
}
Fireworks();
}
 
function Fireworks(){
thisStep+=step;
timer=setTimeout("Fireworks()",runSpeed);
 
for (i=0; i < 14; i++){
firework[i].top = yPos + explosionSize * Math.sin(i*evn*Math.PI/180)*Math.sin(thisStep/100)+"px";
firework[i].left= xPos + explosionSize * Math.cos(i*evn*Math.PI/180)*Math.sin(thisStep/100)+"px";
 if (thisStep > 100){
 dims=(explosionSize < 150)?1:Math.round(1+Math.random()*2);
 firework[i].backgroundColor=showerCol[Math.floor(Math.random()*showerCol.length)];
 firework[i].width=dims+"px";
 firework[i].height=dims+"px";
 firework[i].fontSize=dims+"px";
 }
}
if (thisStep > 160){
 clearTimeout(timer);
 Reset();
}
}
window.onload=Fireworks;
}
//-->
</SCRIPT>


when i paste that?

http://phminicoderz.7forum.net/forum.htm

8How to put fireworks Empty Re: How to put fireworks Tue Dec 28, 2010 3:27 pm

silentkarl

silentkarl
Registered Member
Registered Member
I mean where sorry

http://phminicoderz.7forum.net/forum.htm

9How to put fireworks Empty Re: How to put fireworks Tue Dec 28, 2010 3:35 pm

ankillien

ankillien
Administrator
Administrator
silentkarl, avoid double posting. You can use the EDIT button to update your post.

You can paste the code in the homepage message.

10How to put fireworks Empty Re: How to put fireworks Tue Dec 28, 2010 10:04 pm

silentkarl

silentkarl
Registered Member
Registered Member
ankillien wrote:silentkarl, avoid double posting. You can use the EDIT button to update your post.

You can paste the code in the homepage message.

i cannot edit my own post in this forum

http://phminicoderz.7forum.net/forum.htm

11How to put fireworks Empty Re: How to put fireworks Tue Dec 28, 2010 10:14 pm

Guest


Guest
silentkarl wrote:
ankillien wrote:silentkarl, avoid double posting. You can use the EDIT button to update your post.

You can paste the code in the homepage message.

i cannot edit my own post in this forum
then think before posting.

is the script working or not?

12How to put fireworks Empty Re: How to put fireworks Tue Dec 28, 2010 10:30 pm

ankillien

ankillien
Administrator
Administrator
silentkarl wrote:i cannot edit my own post in this forum

You have got the EDIT button below your post. It must be there since permissions are set to allow member edit their own posts.

13How to put fireworks Empty Re: How to put fireworks Wed Dec 29, 2010 12:11 am

silentkarl

silentkarl
Registered Member
Registered Member
there no edit button my permissions is only can i reply to this forum
And please close that and thanks for nick

http://phminicoderz.7forum.net/forum.htm

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum