Page 1 of 1

Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 4:20 am
by Snot
Odd place to look for help coding I know but I working on a kinky site so I figured i would ask.

Its kinda like an orgasm denial/chastity game at the moment but I'm planning to add a lot of stuff once I figure out how lol.

I've pulled the JavaScript i'm using from another site and now that I'm trying to change something its doing I'm totally lost.

Right now you click a button and then wait a few second. During this wait text pops up. After a few seconds has passed images also show up. Then once the images load the red text goes away and is replaces with a yes you can cum or a no you can't and you have to wait x amount of time.

Here's what it looks like. The red text after you click the button is what I would like to make display longer.
http://screencast.com/t/cWRGW0AH7


If your interested in helping me how let me know and i'll pm you the code and a link to the site.

Re: Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 6:05 am
by tBone
I could probably help you with that, but it would be with php and javascript. So if your server doesn't support php for some reason, I can't help you.

Re: Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 4:12 pm
by Snot
Awesome!

I'll shoot you a pm.

Re: Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 5:11 pm
by Nezhul
you can't just add something with the base of a couple forum advices. If you want to add extra functionality to the program you have 2 options:
1) find someone to do that for you
2) learn the language from the basics and up to the level that will allow you to fulfill your desire. You can't just take a few tips and make something work.

Also it's often FAR easier to write the whole thing from scratch yourself, than to rework someone else's work.

Re: Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 5:56 pm
by tBone
Nezhul wrote:you can't just add something with the base of a couple forum advices. If you want to add extra functionality to the program you have 2 options:
1) find someone to do that for you
2) learn the language from the basics and up to the level that will allow you to fulfill your desire. You can't just take a few tips and make something work.

Also it's often FAR easier to write the whole thing from scratch yourself, than to rework someone else's work.
Unless you are me, I am a god at ready spaghetti code.

However, when it comes to well-documented fully commented code, I am like a deer staring at headlights.

Re: Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 8:08 pm
by jlx666
I'm really sorry, that I can't help because I don't really have much time and have a couple of projects myself at home and at work (with JS, so I slowly start getting sick when I see it, lol), but what I want to say is that it is possible to do with only JavaScript. Feel free to ask if you want to know something specific, though, but it may take time for me to answer.

I also agree with comrade Nezhul.

Re: Anyone know much about JavaScript?

Posted: Thu Aug 11, 2011 9:01 pm
by Snot
Thanks for the help and advice guys!

tBone is awesome! He was like wow your an idiot just change this to this and your done! I'm excited to get that little part sorted out. The devil is in the details.

Now on to the next improvement. =p