Java Madness
3 posters
Page 1 of 1
Java Madness
Hey everyone. I wanted to know if u could help me with something. Okay, so I am making a javascript that you put in an html script which allows you to post in a forum.
I have an html form with headers and footers of the website. I am making a javascript that goes in the header of the page so when they click submit, whatever they wrote will be posted. I need help with it, I don't know how to start it.
Thanks,
Mega
I have an html form with headers and footers of the website. I am making a javascript that goes in the header of the page so when they click submit, whatever they wrote will be posted. I need help with it, I don't know how to start it.
Thanks,
Mega
Last edited by MegaMaster on October 23rd 2011, 9:44 pm; edited 1 time in total
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
So your trying to make a new post box? Like the quick reply.
Now thats NOT a short 5 minute project, it a rather advanced project, so i'd back out if you don't know sufficient HTML or Javascript. I'm currently working on making my own.
You start by designing your post box, in a form (and table if you want for structure), then filling in the buttons (Bold, Italic, Quote) etc, and creating the javascript functions that these will perform on click.
You then have to make the form actually work and post. So its going to need the tid automatically filled in, and others hidden values within the form. the tid being the most important. And then of course it needs to be added to your page.
Now thats NOT a short 5 minute project, it a rather advanced project, so i'd back out if you don't know sufficient HTML or Javascript. I'm currently working on making my own.
You start by designing your post box, in a form (and table if you want for structure), then filling in the buttons (Bold, Italic, Quote) etc, and creating the javascript functions that these will perform on click.
You then have to make the form actually work and post. So its going to need the tid automatically filled in, and others hidden values within the form. the tid being the most important. And then of course it needs to be added to your page.
Last edited by LGforum on October 23rd 2011, 5:01 pm; edited 1 time in total
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Java Madness
lol but i want help to do it. its not my fault i don't know enough
But, how would u make the java email script code.
But, how would u make the java email script code.
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
What do you mean the java email script code? lol.
And make sure your not Javascript with Java. They are different things.
And make sure your not Javascript with Java. They are different things.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Java Madness
lol sorry, no you know how inexperienced I am.
I mean is there a java code that could help you post?
I mean is there a java code that could help you post?
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
Yes... the code to make a post is a HTML form...
Let me link you to my current one im wokring on.
**LINK REMOVED- LGforum**
Take a look there, right click and click View Source. Now have a look through the coding.
And thats not even 50% done.
(FYI, i linked you to that to see what is required and how much must be done, you CAN NOT steal or use any of my codes from that page)
Now, that you have seen that, do you want to carry on trying to make a new reply box?
Let me link you to my current one im wokring on.
**LINK REMOVED- LGforum**
Take a look there, right click and click View Source. Now have a look through the coding.
And thats not even 50% done.
(FYI, i linked you to that to see what is required and how much must be done, you CAN NOT steal or use any of my codes from that page)
Now, that you have seen that, do you want to carry on trying to make a new reply box?
Last edited by LGforum on October 23rd 2011, 5:59 pm; edited 1 time in total
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Java Madness
Lol I already started. Don't worry I wouldn't steal your codes. I was offerend some, but didn't know how to get them to work. It really does take a long time.
Mine is very different from yours. Mine has individual fields that will post automatically.
Mine is very different from yours. Mine has individual fields that will post automatically.
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
Right well lets take a look at yours and i'll tell you how to move forward.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Java Madness
Okay I sent you an email I wanted the site to be confidential as of now. Also, is there a way to disable people from viewing your source code?
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
You can disable right click.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Java Madness
1st - How can u disable right click?
2nd - How do I make a code that condenses the information.
3rd- You should be given the helper status for forumotion.
2nd - How do I make a code that condenses the information.
3rd- You should be given the helper status for forumotion.
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
1st - A small bit of javascript. Its a common code, so very available on google. Just type in 'Disable right click javascript' or something.
Just know though, that disabling right click doesn't stop people getting to your HTML. If you have a page on the internet then.. the HTML is viewable, no way of stopping that.
2nd - It would be a javascript function. It would be kind of hard for me to show you an example, without getting deep down and properly looking through your form and helping you. But basically, making sure every text field has an ID within your form. Then the form on submit, calls a function which will get all the information out of the form, make a new piece of data with it, in which it will either send to you by email, or post or something.
3rd - I'm flattered. But coding and scripting is fun, i do it for myself just as much haha.
Just know though, that disabling right click doesn't stop people getting to your HTML. If you have a page on the internet then.. the HTML is viewable, no way of stopping that.
2nd - It would be a javascript function. It would be kind of hard for me to show you an example, without getting deep down and properly looking through your form and helping you. But basically, making sure every text field has an ID within your form. Then the form on submit, calls a function which will get all the information out of the form, make a new piece of data with it, in which it will either send to you by email, or post or something.
3rd - I'm flattered. But coding and scripting is fun, i do it for myself just as much haha.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Java Madness
lol okay thank you for all your help again.
Problem Solved
Problem Solved
MegaMaster- New Member
- Posts : 24
Reputation : 1
Language : english
Re: Java Madness
Since this thread is marked solved, I will lock this thread & archive it.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» Help with Java/Jquery
» java problems
» Java script help!
» help me with this java scripte
» please help me out , Java script problem
» java problems
» Java script help!
» help me with this java scripte
» please help me out , Java script problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum