Page 2 of 2
Re: Diagrams
Posted: Wed Apr 21, 2010 4:08 pm
by apetresc
Oh cool, yeah. I just registered ten minutes ago and saw this thread and figured it was still relevant, being used to the glacial pace of improvement at GD and all

I guess Kirby must have handrolled something similar all by himself

Sweet!
Re: Diagrams
Posted: Wed Apr 21, 2010 5:06 pm
by fwiffo
Yeah, Kirby used a clever javascript hack to do the job. I had suggested the idea of using javascript elsewhere, but I don't know if he got the idea from me or came up with it himself.
Re: Diagrams
Posted: Wed Apr 21, 2010 7:31 pm
by Kirby
fwiffo wrote:Yeah, Kirby used a clever javascript hack to do the job. I had suggested the idea of using javascript elsewhere, but I don't know if he got the idea from me or came up with it himself.
Well, mostly the idea came from trial and error. :-p First I just made a basic html file to see how sltxt2png worked. I thought it would be straightforward to use the bbcode, but it didn't seem to work right. After that, I played with it a bit.
There's still a bug in the caption code, which unkx80 brought up. I'm going to fix that now.