Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Server Configuration _ html code email mailto:..

Posted by: upl Oct 31 2012, 10:01 PM

Morning everyone :-)

Is anyone here could help me with this code, I can't find out why when people write their email and subscribe, I don't receive anything on my office@manageandbuild.com.
I have tried to change the code MAILTO:... but still not working sad.gif
Please see the code below
Thanks a lot guy's and have a good one!

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>UPL REAL ESTATE-PHUKET-KOH SAMUI-THAILAND</title>
<link rel="stylesheet" type="text/css" href="style.css" />

<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js'></script>
<script type='text/javascript' src='javascripts/jquery.tipsy.js'></script>
<script type='text/javascript'>
$(function() {
$('#tipsy').tipsy({fade: true, gravity: 's'});
});
</script>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35906261-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

</head>
<body>
<div class="wrapper">
<img src="images/upl-logo.png" alt="YourLogo" title="YourLogo"/>
<div class="hr"></div>
<h1>We are updating our website,we will be back soon</h1>
<p>UPL Real estate Phuket, Koh Samui, Thailand, Hong Kong, Singapore.
<p>Unfortunately, we’re not quite ready yet. <strong> But, you can see our progress below:</strong></p>
<section class="progress">
<div class="progress-bar-container" id="tipsy" title="20% Complete"> <!-- Edit this title for the tooltip pop up -->
<article class="progress-bar" style="width:20%" ></article> <!-- Edit the width percentage value to indicate progress -->
</div>
<article class="txt-launch-day-hat"></article>
</section>

<div class="hr"></div>
<section class="mailing-list">
<h2>Want to be the first to know when we're ready? Drop us an email and we'll get back to you very soon</h2>
<form>
<input type="text" value="your@email.com" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;"></a>
<a href="mailto:office@manageandbuild.com"><input type="submit" value="Subscribe"></a>
</form>
</section><div class="clear"></div>
<div class="hr"></div>

<p class="credit"> Or call our office +66 (0)76 279535 or on our mobile +66 (0) 899346890 <a href="http://www.uplrealestate.com"></a></p>
</div>
</body>
</html>

Posted by: Christian J Oct 31 2012, 10:21 PM

The form markup is incorrect. HTML5 does allow all kinds of HTML elements inside links --maybe even form buttons-- but all such a button will do is open the user's default email program, without including the content of the text field. Also IE9 doesn't appear to support such button/link hybrids.

Use a traditional email form instead: http://htmlhelp.com/faq/html/forms.html#mailto-form


Posted by: upl Oct 31 2012, 10:24 PM

Thanks a lot Christian J, I will have a look at it now and see, cool!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)