Jump to content

Recommended Posts

Posted

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.

Posted

How are you going to "generate" the pictures? Are users going to upload them?

Posted
How are you going to "generate" the pictures? Are users going to upload them?

 

 

no the pictures will be already set for them. once they put their name in the picture will be their all ready

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...