The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

putting java scipt

View previous topic View next topic Go down

putting java scipt

Post by lezuj yaj on May 4th 2011, 4:19 am

help where to put this java script
<script type="text/javascript">

<!--

// Main vBulletin Javascript Initialization

vBulletin_init();

//-->

</script>



<SCRIPT language="JavaScript">

while(shimmercount>0) {

var shimmerstring=shimmercount+ 'shine';

eval('var colcon= shimmercolor' +shimmercount);

eval('var shimspeed="shimmerspeed' +shimmercount+ '"');

eval('var shimcolor="' +colcon+ '"');

shine(shimmerstring, shimcolor, shimspeed);

var shimmercount=shimmercount-1;

};

while(glitcount>0) {

var glitstring=glitcount+ 'glitter';

eval('var colcon= glitcolor' +glitcount);

eval('var glitspeed="glitspeed' +glitcount+ '"');

eval('var glitcolor="' +colcon+ '"');

glitter(glitstring, glitcolor, glitspeed);

var glitcount=glitcount-1;

};

while(rainbowcount>0) {

eval('var rain'+rainbowcount+'=document.getElementById("rain'+rainbowcount+'");');

eval('var rainbowspanning'+rainbowcount+'=new RainbowSpan(rain'+rainbowcount+', 0, 360, 255, 50, 348);');

eval('rainbowspanning'+rainbowcount+'.timer=window.setInterval("rainbowspanning'+rainbowcount+'.moveRainbow()", 50);');

var rainbowcount=(rainbowcount-1);

};

</script>



lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by kirk on May 4th 2011, 4:40 am

dont think you can use it?
for one it looks to be something for v bulletin installation.
Most likely may be a file that has to be uploaded t0 your server/a server to which we do not have access to forumotions server.

whats it supposed to do, may be able to find something else that will do the same thing and a compatible java,html or css that will work.

Is it for a skin or something? you will just have to customize your forum and get it close as possible

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 4th 2011, 5:14 am

its a unique color effects sir, we can used it for moderator and staff name color.. Can u find a way 4 this sir.. To b work in forumotion

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by kirk on May 4th 2011, 6:03 am

do you have a screen shot of what it's superposed to look like,
Your probably going to have to do it with css, unless you can adjust it in you colors list, but i need to see what it looks like and where it would be on your forum.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: putting java scipt

Post by MarioBro on May 4th 2011, 6:06 am

it says vBulletin dont think you can use it

MarioBro
Forumember

Male Posts : 144
Reputation : 10
Language : English

http://www.dsirage.com

Back to top Go down

Re: putting java scipt

Post by kirk on May 4th 2011, 7:50 am

do you have that as a java file, and is there more that goes with the code,

You can try uploading the file here if you have it in a java formatted file.
But i am not sure if there is something more that has to go with what ever it is?
But i just found this place at rono's zone two and worked great for something i was doing, they just send you a link and a code to be placed on your site,But for what i used it for i had css and other java that went with it.

http://yourjavascript.com/

ok hears the file for you in a java file format if you dint have it like that,
So just upload to that link above and get the code they send and may be it will work? not sure,Once again the thing i was doing had other stuff withing coding that needed to be added along with my uploaded java file.

anyway down load your file, then up to the link above.
http://www14.zippyshare.com/v/15448687/file.html



kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 4th 2011, 3:08 pm

hir is the ling sire where i see sum staff name that has an effects and a color
try to take a look of this site www.pinoyxtreme.com
and hir is the screenshots

i hope this would be possible on forumotion
:wouhou:

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by ioncube on May 4th 2011, 9:26 pm

@kirk wrote:do you have that as a java file, and is there more that goes with the code,

You can try uploading the file here if you have it in a java formatted file.
But i am not sure if there is something more that has to go with what ever it is?
But i just found this place at rono's zone two and worked great for something i was doing, they just send you a link and a code to be placed on your site,But for what i used it for i had css and other java that went with it.

http://yourjavascript.com/

ok hears the file for you in a java file format if you dint have it like that,
So just upload to that link above and get the code they send and may be it will work? not sure,Once again the thing i was doing had other stuff withing coding that needed to be added along with my uploaded java file.

anyway down load your file, then up to the link above.
http://www14.zippyshare.com/v/15448687/file.html


a more appropriate hoster will be fileave.com for hotlinking files like .js; .png....
in a notepad you put all the javascript code & sav it as .js file. Then you load it like this
<script src='http://defencedog.fileave.com/nivoslider/jquery.nivo.slider.pack.js' type='text/javascript'/>

replace the bold part with your URL plus you need the initiation code for this js file; thats different

ioncube
Forumember

Male Posts : 279
Reputation : 41
Language : eng
Location : Pakistan

http://defencedog.blogspot.com/

Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 4th 2011, 11:43 pm

what do u mean initiation c0de sir?.. Can u tut me, i don't rili have a knowledge when it c0mes to java..

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 5th 2011, 12:58 pm

bump\

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by kirk on May 5th 2011, 4:11 pm

no it's like what i said before, there should be another java code that goes with this, you would have to add that to where your putting it, i guess in the overall template, then you will have to upload the code file like ioncube
explained above.

then you would add that part in the template or where you are adding it in order to make the whole thing work. It's not going to work with just that code alone, that is the code that has to be in a js file then uploaded to a js sever file host.. like the link i provided or ioncube has provided.



kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 5th 2011, 4:22 pm

sir can u make it work,and just tut me how? i don't rili have the knowlege about js... Thanks in advance sir...

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by kirk on May 5th 2011, 4:36 pm

do you have another part of the code,
there is another main script that has to go with what you have posted above, do you have that? if so yes we can help and explain, if not then no.
Not unless you can get the rest of the script that goes with the above.

See the java will have the main script, but then the part you have up there is a file that has to be uploaded to a server then added to the code in order for the whole script feature to work, without the other part/main script then the part you have can do nothing Sad

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 5th 2011, 4:59 pm

i just get it from pinoyxtreme.com by pressing left click then view page source, ...

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by Guest on May 5th 2011, 7:20 pm

@lezuj yaj wrote:i just get it from pinoyxtreme.com by pressing left click then view page source, ...
It was obvious from your first post, but I give you credit for admitting that you stole the code.

Guest
Guest


Back to top Go down

Re: putting java scipt

Post by lezuj yaj on May 6th 2011, 1:05 am

thank you sir, i hope this will work in forumotion.. Gudluck guys.

lezuj yaj
Forumember

Posts : 149
Reputation : 0
Language : English

Back to top Go down

Re: putting java scipt

Post by Guest on May 6th 2011, 3:10 am

You're welcome. Always glad to be of assistance.

Very Happy

Guest
Guest


Back to top Go down

Re: putting java scipt

Post by kirk on May 6th 2011, 5:20 am

well i dont know how he would be able to get that part and not the other?
it looks like that part should be uploaded to a java/server file host?

Dunno.

Since there is no way of trying to get this to work without the other part of the code i will now mark and lock

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

View previous topic View next topic Back to top


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