Konnichiwa, my people. It's been a while. And what have I been up to? I'll tell you?
SITEYou probably won't believe me but my GameMaker site, Nocturnal Engine, is sooo close to being complete. I am stuck with one small thing however. I am attempting to upgrade to an AJAX edit button. However my javascript code to actually create the div in which you are going to type is unyielding. However I am rather unfamiliar with this process, it's probably something silly.(Debbuging reveals that the script is actually executing onclick.)The code is as follows, plz halp meh: function open_edit(comment) { var edit_div=document.createElement('div'); edit_div.setAttribute("style","position:absolute;left:10px;top:10px;"); edit_div.innerHTML=comment; }LIFEI went to another hot tub party yesterday and got like 2 hours sleep so my pattern is pretty messed up. It was fun though. A lot of decent people and I girl I really like. We ended up staying in the tub from midnight till about 4 am, even eating pizzas and drinking in there xD.A convo I found fairly funny regarding this, I'm in bold, Ace02 isn't:It was fun though We stayed in the hot tub from like midnight till 4am :P Why on earth would you do that Why the hell not? :) It's a hot tub With other people in it Yeah Yeah ? ! Well you would sit around talking for that long at a party so why not do it in a hot tub? You soak in the oils of other people and become a prune Hah Fair enough. We were kind of tipsy anyway and nobody could be bothered to get out lol Man, I'm surprised I wasnt wasted lol That's about all for now. Thanks for reading. LOVE U GUYS ALL SOOOOO MUCH!! XXX[Viggy Poo]Hot tubs/funky javascript shiz
Posted by VigilantPsyche on July 28, 2008, 6:12 p.m.
Yay for drowning in a hot tube while beeing to drunk to realise!
Hahahaha@title
you don't type in the div, you replace the div with a textbox, and then revert
Your cat is on backwards.
I have no experience with creating elements, I would just edit the innerhtml of whatever the div is inside of o.0
Code tag broken again? =o
Bitch. ^_^