This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$errors = ''; | |
$myemail = '[email protected]';//<-----Put Your email address here. | |
if(empty($_POST['name']) || | |
empty($_POST['email']) || | |
empty($_POST['message'])) | |
{ | |
$errors .= "\n Error: all fields are required"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="//formspree.io/[email protected]"> | |
<input type="text" name="name"> | |
<input type="email" name="_replyto"> | |
<textarea name="body"> | |
<input type="submit" value="Send"> | |
<input type="hidden" name="_next" value="//site.io/thanks.html" /> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('thingToTouch').event(function() { | |
$('thingToAffect').effect(); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="http://www.aweber.com/scripts/addlead.pl"> | |
<div id="form_part1"> | |
Name: <input name="name"> | |
Email: <input name="from"> | |
<button | |
onclick="openForm_part('form_part', 2)" | |
>Next »</button> | |
</div> | |
<div id="form_part2"> | |
Phone: <input name="phone"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
Header( "HTTP/1.1 301 Moved Permanently" ); | |
Header( "Location: http://www.new-url.com" ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Language=VBScript %> | |
<% | |
Response.Status="301 Moved Permanently" | |
Response.AddHeader "Location","http://www.new-url.com/" | |
%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script runat="server"> | |
private void Page_Load(object sender, System.EventArgs e) | |
{ | |
Response.Status = "301 Moved Permanently"; | |
Response.AddHeader("Location","http://www.new-url.com"); | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $head = $("#eFormIFrame").contents().find("head"); | |
$head.append($("<link/>", | |
{ rel: "stylesheet", href: "url", type: "text/css" } | |
)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var frameListener; | |
$(window).load(function () { | |
frameListener = setInterval("frameLoaded()", 50); | |
}); | |
function frameLoaded() { | |
var frame = $('iframe').get(0); | |
if (frame != null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic | |
F11 Full Screen | |
shift + F11 Distraction Free Mode | |
ctrl + shift + p Command Palette | |
ctrl + ` Show Console | |
ctrl + k + b Show/Hide Sidebar | |
ctrl + / Comment | |
ctrl + shift + / Block Comment | |
ctrl + k + u Uppercase |
OlderNewer