Jump to content

How can I integrate a type of signature system


fufu

Recommended Posts

Let me start off with the code.

 

 

<script type="text/javascript">

        function j(a) {
            if (a == null || a == ""){document.getElementById('k').innerHTML = 'Dont get Balrog angry -pic-';return false;}
            if (a.length < 4) { document.getElementById('k').innerHTML = 'A valid IGN is between 4 and 12 characters.';return false;}
            var b = "http://UNKNOWN.HELIOHOST.COM" + a + ".png";
            document.getElementById("k").innerHTML = "<img src="+ b +">";
            document.getElementById("bbcode").value = "[img=" + b + "]";
            document.getElementById("directcode").value = b;
            document.getElementById("htmlcode").value = "<img src='"+ b +"' height='100' width='400'>";
            document.getElementById("CC").style.display = 'block';
        }
    </script>
    <form onsubmit='var _c=document.getElementById("ign").value;j(_c);clicky.log("/signature-generator.aspx#ign="+_c, "Signature generation for "+_c);return false;'>
        <h3>Enter your IGN</h3>

        <div id="iggy">
                <label>
                <input type="text" name="ign" maxlength="12" id="ign" disabled='true' />
                </label>
        </div>
      <div>
            <input type='button' onclick='j(document.getElementById("ign").value);return false;' id='pushme' value='You dont have JavaScript.' disabled='true' />
        </div>
</form>
    <div id="kCont"><span id="k"></span></div>
    <br />

<div id="CC">
    <h3>Forum/BBCode</h3>

    <input type="text" id="bbcode" />
    <h3>HTML</h3>
    <input type="text" id="htmlcode" />
    <h3>Direct Link</h3>
    <input type="text" id="directcode" />
</div>
<script type="text/javascript">
    function a() { var aac=document.getElementById('ign'); var aab=document.getElementById('pushme'); aab.value = 'Push button!';aac.disabled=false; aab.disabled=false; }a();
</script></td>

 

This is an old code I used, in a asp.net site which, got delete, I want to bring it back using this site, so what I'm saying is, how can I make this generator generate pictures. I remember that ,

var b = "http://UNKNOWN.HELIOHOST.COM" + a + ".png";

will create pictures, I'm really at a lost, please help.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...