Jump to content

Font changer


jnerotrix

Recommended Posts

I made a font called: "cripttick.ttf"

I need to make a Generator so When you type in Letters In "Criptick" It Changes It to "Times New Roman" and the other Way around

 

Here is the html code i have written for it i just need it to be coded in php

 

<center>
<h1> Cripttick Encoder/Decoder </h1>
<br><br>
<form Action="(This Page)" method=post">
<table border="1">
<tr>
<td align="center"><input type="submit" Value="Encode"></td>
</tr>
<tr>
<td>
!Type Text You Want to Encode!<br>
<textarea name="encode" rows="5" cols="25"></textarea> ==> <textarea name="encoded" rows="5" cols="25"></textarea> </td>
</tr>
</table>
</form>

<br><br>
<form Action="(This Page)" method=post">
<table border="1">
<tr>
<td align="center"><input type="submit" Value="Decode"></td>
</tr>
<tr>
<td>
!Type Coded Text Here!<br>
<textarea name="decode" rows="5" cols="25"></textarea> ==> <textarea name="decoded" rows="5" cols="25"></textarea></td>
</tr>
</table>
</form>

 

Where it says (This page) i dont know what to put there i want it to do the code on this page

 

Thanks Jnerotrix

Link to comment
Share on other sites

You could just test it to see if it worked... but yes, that looks like it should be okay. Again, this will only work on machines with the font installed (Google "web safe fonts" for more info). You don't need the extension on the font though... just the name

Link to comment
Share on other sites

Do you have the font "installed"?

 

:)

 

<textarea name="encode" rows="5" cols="25" style="font-family:Tahoma"></textarea>

 

That works for me to change the font to Tahoma

 

So I would think

 

 

<textarea name="encode" rows="5" cols="25" style="font-family:criptick"></textarea>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.