Help - Search - Members - Calendar
Full Version: needing help with html code
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
lilspider
I am trying to make an html code that gives me agree and disagree buttons.
The agree button needs to go to my homepage and the disagree button needs to be redirected somewhere completed different because the are not over 18. Can some one please let me. I am so stuck on this and no matter what I do it is not working. You can contact me @ little_spiderwitch@yahoo.com
Darin McGrew
Please see the FAQ entry How do I create a button which acts like a link?
lilspider
QUOTE(Darin McGrew @ Apr 19 2008, 07:24 PM) *


Thank you for the help finding how to do the link- but I am still not able to get it to work. Can you please help me and tell me what I am doing wrong. You can contact me at little_spiderwitch on yahoo messenger. I am always on there very thou it doesn't look like it. This has been bugging me for several days now and I am at the point of pulling my hair out.
pandy
So post the link to the problem page here or paste the code in the message.
lilspider
QUOTE(pandy @ Apr 20 2008, 02:09 AM) *

So post the link to the problem page here or paste the code in the message.




<FORM ACTION="[http://www.example.com/welcome]" METHOD=GET>
<INPUT TYPE=submit VALUE="AGREE">
</FORM>


I need the agree button to go to our homepage where memebers can log in or create an account and I need to disagree button to be redirect off of our site because they are not of age.
Our website is not published yet and this is my first web site that I am am building myself. Wow what a headache. I am having problems with programming it every way possible and I would be go greatful for you help.

[edited NSFW URL - Darin]
Darin McGrew
Here's the basic idea, just copy-pasting the markup from the FAQ entry:
CODE
<FORM ACTION="welcome" METHOD=GET>
<INPUT TYPE=submit VALUE="Agree">
</FORM>
<FORM ACTION="http://other.site.example.com/" METHOD=GET>
<INPUT TYPE=submit VALUE="Disagree">
</FORM>
You aren't supposed to include the brackets in the URL.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.