CessTo Email Signature Maker
Just fill up all the fields
I’ll be sharing with you this simple “Email Signature Maker“ project I’ve done for my client before. After this tutorial, you will be able to recreate this base from what you need and want. Suppose you are going to use this for your company emails. In that case, all of the images you’re going to use must be uploaded to your company’s hosting server and it should be running in a secure sockets layer or have an SSL certificate. If not, your emails will be sent directly to the receiver’s spam folder.
Below is the screenshot of what it’s going to look like,
Before we begin I am expecting you have a piece of knowledge of HTML. Ok so first let’s begin with the standard HTML format.
Cessto Signature Generator
For the form, we’ll be using bootstrap and FontAwesome for the icons.
Put these lines inside the HEAD section.
This is for fontawesome. Put this inside the HEAD section as well.
DESIGNING THE FORM
Normally I go to bootstrap documentation, for reference. So, if you want another approach to designing your form, be sure to check it out.
Put these lines inside the body.
CessTo Email Signature Maker
Just fill up all the fields
For the first column,
For the second column,
At this point, you should now have this,
DESIGNING THE SIGNATURE
Now next is to do the format of the signature. Here is what I want to achieve.
And here’s the HTML code.
Cessto Web Solutions
123 cessto Avenue, wonder City, Philippines 1234
DISCLAIMER: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof.
Don’t forget to change the information on the social media icons and the google map.
Alright, the idea is to get the data from the input fields and display it on the signature we just created. There are so many ways to accomplish it but what I want is to get those data in real-time as you can see on the demo page.
That can be possible using jQuery. To learn more about it, visit w3schools.
First, add this inside your header
And add this at the bottom of the HTML code just before the </body>.
In this project, we are going to use the keyup event. The keyup() is an inbuilt method in jQuery which occurs when a keyboard key is released. The keyup() method triggers the keyup event or attaches a function to run when a keyup event occurs.
Look at this line;
$('#fname').keyup(function() {
$('#fnameTxt').text($(this).val());
});
and
So basically, what it does is it will grab the characters you typed in the input field that has the id ”fname” and put it the <p> tag that has the id “fnameTxt” in real-time.
Now what’s left is the button once clicked should copy the entire signature.
Put this script at the bottom of your HTML code just before the closing </body> tag.
That will do the trick. Now all you need to do is upload everything on your server and update the path of every image you used.
If you like this tutorial, please leave a rating by clicking the stars below or send me a message if you have a question regarding this tutorial. I will appreciate it if you also share this on your Facebook, Twitter, or LinkedIn. Someone in your circle might also be needing this.
While I’m currently committed to an eight-hour workday in my current employment, I have ample availability to dedicate an additional four to six hours daily to projects. With nearly a decade of experience in web design and development, I’ve honed efficient time management skills to balance both professional and personal endeavors seamlessly. Feel free to reach out, and I’d be delighted to assist you.
I am currently employed and working for only 6 hours per day so I still, have plenty of time to do an extra 6 to 8 hours per day. I have been doing web design and development for almost a decade now so I know how to properly manage my time without compromising both my work and personal projects. Contact me and I will be very happy to help you.
© 2011 - 2022 Cessto Web Solutions. All rights reserved