HTML help please.
Page 1 of 1
Newty182




Posts: 10808
Location: UK
PostPosted: Thu, 22nd Oct 2009 18:18    Post subject: HTML help please.
Hey guys. First of all, I know absolutely nothing on the subject but I am trying to make a very simple site. The problem is, there is some missing code to make one of the functions work (I think?).

http://lockerzquickinvites.weebly.com/

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>%%TITLE%%</title>
  <!--[if IE 7]>
      <style>
      p {
        line-height:20px;
        padding-bottom:0;
      }
      h1 {
        font-size:20px;
        font-weight:normal;
        color:#fff;
        padding-bottom:0;
      }
      h2 {
        font-size:16px;
        font-weight:normal;
        color:#999999;
        padding-bottom:0;
      }
      #navigation {
        float:left;
        background-color:#0a161b;
        width:948px;
        font-size:12px;
        color:#060e11;
        padding:16px 0px 0px 0px;
      }
      #navigation-links li {
        float:left;
        display:inline;
        font-size:1em;
        padding:0px 20px 10px 0px;
        border:1px solid red;
      }
    </style>
  <![endif]-->
</head>
<body>
  <div id="wrapper">
    <div id="sitename">%%TITLE%%</div>
    <div class="weebly_header"></div>
    <div id="navigation">%%MENU%%</div>
    <div id="content-wrapper">
      <div id="contents">
        %%CONTENT%%
        <div  style=" margin-bottom: 20px; "><form id="weeblyform" action="http://www.weebly.com/weebly/apps/contactMe.php" onSubmit="return true;"><div class="formfield" style="display: none;"> <label for="name" class="field">Name: </label> <input type="text" class="text" name="name"/> </div> <div class="formfield" style=""> <label for="name" class="field">Email Address: </label> <input type="text" class="text" name="email"/> </div> <div class="formfield" style="display: none;"> <label for="name" class="field">Comments: </label> <textarea class="text" name="comments"></textarea> </div> <input type="submit" class="button" value="Invite Me!"/><input type="hidden" value="323074662287248" name="id"/></form>

<div style="font-weight: bold; font-size: 14px; margin-top: 10px; display: none;" id="contactConfirm">Thank you, your message has been sent</div>
<script type="text/javascript">
if (window.location.href.match(/\?submit-confirm$/)) {
  $("contactConfirm").style.display = "block";
  }
</script></div>
      </div>
      <div id="footer">
        <div id="footer-contents">%%WEEBLYFOOTER%%<div>
      </div>
    </div>
  </div>
</body>
</html>


I need the text in the email address box to be sent to my email add.

Please help. Thanks.


Ryzen 5 5600, ASUS ROG STRIX B550-F GAMING WIFI II, Corsair Vengeance RGB RT 32GB 3600MHz C16, MSI RTX 5070 Ti Ventus 3X OC , Corsair RMx Series RM750x. AOC AGON AG324UX - 4K 144Hz 1ms
Back to top
lhzr




Posts: 3902
Location: RO
PostPosted: Thu, 22nd Oct 2009 18:25    Post subject:


Last edited by lhzr on Thu, 24th Dec 2015 13:15; edited 1 time in total
Back to top
Newty182




Posts: 10808
Location: UK
PostPosted: Thu, 22nd Oct 2009 19:06    Post subject:
Doh. My bad. hadn't put the correct numbers in the id part.

Cheers for the help anyway.


Ryzen 5 5600, ASUS ROG STRIX B550-F GAMING WIFI II, Corsair Vengeance RGB RT 32GB 3600MHz C16, MSI RTX 5070 Ti Ventus 3X OC , Corsair RMx Series RM750x. AOC AGON AG324UX - 4K 144Hz 1ms
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group