On a previous post, I was asking how to get a Speech Bubble Generator I ripped from a website to generate pictures. This time, I'm asking how to code the page which has the speech bubble you generated on it. I coded my own Speech Bubble Generator. I got it to generate through habboemotion.com's "bubble.php" file which is what I'm looking for.
here is the JavaScript I coded:
If you see, I put habboemotion.com's bubble.php url so it could generate the speech bubbles. It works pretty good, I just wanna figure out how to code that bubble.php page into generating that image onto my site. Does anyone know how to code this page?Code:/* the function that gathers all the info */ function submitBubblegen() { var country = document.getElementById('country').value; var habbo = document.getElementById('habbo').value; var text = escape(document.getElementById('text').value); var format = document.getElementById('format').value; var habbo_avatar = "http://habboemotion.com/usable/bubble/bubble.php?habbo="+habbo+"&country="+country+"&text="+text+"&format="+format+""; var habbourl = document.getElementById('habbourl').value = habbo_avatar; var habboimg = document.getElementById('habboimg').src = habbo_avatar; }





Reply With Quote




