...

View Full Version : A challenge for you JavaScript masters



QuickFingers
10-29-2004, 10:58 PM
I am trying to make my own forum for a game called RagnarokOnline (www.ragnarokonline.com). The host is Invisionfree (www.invisionfree.com) and there’s some kind of money hack you can put into the Footer of the board wrappers. Every time you post you get $15 of fake money. Someone made up this money hack but he made one mistake. Whenever the administrator (or anyone ells that is allowed) increases or decreases the money of a member it effects the post count of that member. I have tried to fix this but I just cant seem to get it. I was wondering if anyone is good with javascript and could help me. The code is:

<script>
//Simple Money Code created by Webworldx - iF
//Get some good skins @ www.ifskins.com!
var mSide = document.getElementsByTagName('td');
for(a=0;a<mSide.length;a++){
if (mSide[a].className=="post2" || mSide[a].className=="post1") {
if (mSide[a].innerHTML.match("Posts: ")) {

var tPosts = mSide[a].innerText
tPosts = tPosts.split("\n")
for (i=0;i<tPosts.length;i++){ if (tPosts[i].match("Posts: ")){ var PostCount=tPosts[i].substring(7)}}
PostCount=PostCount.replace(",","")
var theMoney = PostCount * 15
if(!mSide[a].width){mSide[a].innerHTML+="Money: $" + theMoney}
}}}
</script>
<script language="javascript" type="text/javascript">
<!--//Improved Money Hack - by Markup
moneyName="Money"
moneySign="$"
postMoney=15
//-->
</script>
<script language="javascript" type="text/javascript" src="http://webpost.net/ma/markup/money.js"></script>



If you could help that would be great! If you need any more information please post here. Thank You.
(My Forum (www.invisionfree.com/RagnarokOnlinerz))

QuickFingers
10-29-2004, 11:51 PM
anyone?

Willy Duitt
10-30-2004, 12:55 AM
Rather impatient ain't we??

Besides, I have to ask... Does this challenge award prizes, monetary payment or is the use of "challenge for javascript master" just bait to appeal to someones ego??

If the later, ego does not pay my bills and I'm too old to worry about silly challenges... Perhaps someone else will come along whom wishes to rise to your challenge...

.....Willy

SpiritualStorms
10-30-2004, 01:48 AM
Oh come on Willy. How you give me the fang, and claws, but when it comes to phonies like the dude that posted this thread, you are Little Red-Riding Hood?

It's clear he is looking for free programmers. Isn't it obvious?


If the later, ego does not pay my bills and I'm too old to worry about silly challenges... Perhaps someone else will come along whom wishes to rise to your challenge...

.....Willy

You disappoint me.

jbot
10-30-2004, 11:54 AM
wot's the point of the fake moolah?

fci
10-30-2004, 12:17 PM
the link to your forum is broken. can't really see it in context.. oh well.

brothercake
10-30-2004, 06:30 PM
This thread is tedious, and can only descend from here. I'm closing it.

QuickFingers if you have a question please repost it, using a subject line which is descriptive of the problem.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum