|
So I'm not a pro at coding yet so i need help with this one thing. Now what i need help with is to get my code to get the tquick-reply bit? How do you do this??
|
|
|
|
|
Quite a few different methods. And the simplest depends on what you want to do. For example, if you want to resize the posting textarea, then the easiest way is to just grab that box. Now, if you were wanting to add a row in the table containing the textarea, you'd need the table. For a beginner, grabbing the table with a loop is the easiest way. (For more advanced, I recommend grabbing the textarea and then the table. It's slightly faster.) Which part do you want to grab? Knowing that, I can just throw together a quick peace of code and comment it so you can understand it.
|
|
|
|
|
Well I want to make text already be there, i'm putting a application form there. I can post what i have so far if you need it.
|
|
|
|
|
So, wait, you want text to appear inside the box automatically?
And yeah, posting what you have could help.
|
|
|
|
|
This is what I have.
<script type = "text/javascript"> <!-- //Reply Text Based Application Form //Made by [lUkE]™ © 2009
if (location.href.match(/thread=NUM/)) {
<html><body>Application Form Here</html></body>
}
//--> </script>
Wormpolios told me this though:
this script would already be INSIDE the body, so you wouldnt be able to put <html><body> tags inside it.
next step would be to hide the existing posting form in order to show the form you want to have filled out. Then build your form using tables and display using document.write.
So basicly if someone can help me with what wormopolis has said that would be cool.
|
|
|
|