HTML+JavaScript diagram builder

For discussing go computing, software announcements, etc.
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: HTML+JavaScript diagram builder

Post by HermanHiddema »

daal wrote:This is really very good. Next step is to integrate it into L19...


Yes, this is one of the goals of the project. Because it is completely written in HTML+JS, it can easily be integrated into any site via some sort of overlay or popup. Good option both for L19 and for Sensei's Library. :tmbup:
lobotommy
Lives in gote
Posts: 408
Joined: Thu Jul 29, 2010 2:01 am
Rank: EGF 3kyu
GD Posts: 0
Universal go server handle: tommyray (1d/2d)
Location: Poland, Gliwice
Has thanked: 127 times
Been thanked: 94 times

Re: HTML+JavaScript diagram builder

Post by lobotommy »

Hi Herman, very nice thing :)

However does not work on mobile WebKit internet browsers (ipad/iphone, android phones/tablets probably too because everything are webkit now).
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: HTML+JavaScript diagram builder

Post by ez4u »

Still no action on the iPad. The drop-down lists for labels and moves do drop down when touched. However, nothing else on the page reacts, not even the 'show help' tab.
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: HTML+JavaScript diagram builder

Post by HermanHiddema »

ez4u wrote:Still no action on the iPad. The drop-down lists for labels and moves do drop down when touched. However, nothing else on the page reacts, not even the 'show help' tab.


Just to make sure: Did you do a reload on the page? Otherwise it might use a cached version.
User avatar
murksomat
Beginner
Posts: 11
Joined: Thu Sep 23, 2010 6:10 am
Rank: 2k
GD Posts: 0
KGS: murksomat
Location: Germany
Has thanked: 4 times

Re: HTML+JavaScript diagram builder

Post by murksomat »

HermanHiddema wrote:@xed_over: I've added a "show help" tab at the top.

@murksomat: I see what you mean. Fixed!



Thanks but,I forgot the word "NO". I can't use the output, because there are NO linefeeds!

After pasting, it looks like this

Code: Select all

$$W $$ +---------------------------------------+ $$ | . . . . . . . . . . . . . . . . . . . | $$ 


and I need:

Code: Select all

$$W $$ +---------------------------------------+ 
$$ | . . . . . . . . . . . . . . . . . . . |
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: HTML+JavaScript diagram builder

Post by HermanHiddema »

murksomat wrote:
HermanHiddema wrote:@xed_over: I've added a "show help" tab at the top.

@murksomat: I see what you mean. Fixed!



Thanks but,I forgot the word "NO". I can't use the output, because there are NO linefeeds!

After pasting, it looks like this

Code: Select all

$$W $$ +---------------------------------------+ $$ | . . . . . . . . . . . . . . . . . . . | $$ 


and I need:

Code: Select all

$$W $$ +---------------------------------------+ 
$$ | . . . . . . . . . . . . . . . . . . . |


Yes, I understood, I saw the same behaviour. I added linefeeds and it works now with Firefox under Linux (Ubuntu 12.10) on my system. Did you reload?
tj86430
Gosei
Posts: 1348
Joined: Wed Apr 28, 2010 12:42 am
Rank: FGA 7k GoR 1297
GD Posts: 0
Location: Finland
Has thanked: 49 times
Been thanked: 129 times

Re: HTML+JavaScript diagram builder

Post by tj86430 »

HermanHiddema wrote:
murksomat wrote:
HermanHiddema wrote:@xed_over: I've added a "show help" tab at the top.

@murksomat: I see what you mean. Fixed!



Thanks but,I forgot the word "NO". I can't use the output, because there are NO linefeeds!

After pasting, it looks like this

Code: Select all

$$W $$ +---------------------------------------+ $$ | . . . . . . . . . . . . . . . . . . . | $$ 


and I need:

Code: Select all

$$W $$ +---------------------------------------+ 
$$ | . . . . . . . . . . . . . . . . . . . |


Yes, I understood, I saw the same behaviour. I added linefeeds and it works now with Firefox under Linux (Ubuntu 12.10) on my system. Did you reload?

I just tried (with reload) on OS/X & Firefox, and no lf's here either:

$$B $$ +---------------------------------------+ $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . , . . . . . , . . . . . , . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . , . . . . . , . . . . . , . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . , . . . . . , . . . . . , . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ +---------------------------------------+
Offending ad removed
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: HTML+JavaScript diagram builder

Post by HermanHiddema »

@tj86430, @murksomat: How about now?
tj86430
Gosei
Posts: 1348
Joined: Wed Apr 28, 2010 12:42 am
Rank: FGA 7k GoR 1297
GD Posts: 0
Location: Finland
Has thanked: 49 times
Been thanked: 129 times

Re: HTML+JavaScript diagram builder

Post by tj86430 »

HermanHiddema wrote:@tj86430, @murksomat: How about now?

Seems to work now, thanks!
Offending ad removed
User avatar
murksomat
Beginner
Posts: 11
Joined: Thu Sep 23, 2010 6:10 am
Rank: 2k
GD Posts: 0
KGS: murksomat
Location: Germany
Has thanked: 4 times

Re: HTML+JavaScript diagram builder

Post by murksomat »

HermanHiddema wrote:@tj86430, @murksomat: How about now?

Thanks, it works!
User avatar
LocoRon
Lives with ko
Posts: 292
Joined: Tue Aug 10, 2010 1:04 pm
Rank: 1 kyu
GD Posts: 0
KGS: LocoRon
Has thanked: 92 times
Been thanked: 80 times

Re: HTML+JavaScript diagram builder

Post by LocoRon »

lobotommy wrote:However does not work on mobile WebKit internet browsers (ipad/iphone, android phones/tablets probably too because everything are webkit now).


Actually, I just tried it on my Android phone, using two different browsers (both the stock browser and Dolphin browser). It worked 95% in each of them. The only thing that doesn't work is the area select overlay.
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: HTML+JavaScript diagram builder

Post by ez4u »

HermanHiddema wrote:
ez4u wrote:Still no action on the iPad. The drop-down lists for labels and moves do drop down when touched. However, nothing else on the page reacts, not even the 'show help' tab.


Just to make sure: Did you do a reload on the page? Otherwise it might use a cached version.

Yes I did. I also tried using Chrome, Opera Mini, Atomic Web Browser, and Mercury (iOS alternatives). None work.
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: HTML+JavaScript diagram builder

Post by Kirby »

ez4u wrote:
HermanHiddema wrote:
ez4u wrote:Still no action on the iPad. The drop-down lists for labels and moves do drop down when touched. However, nothing else on the page reacts, not even the 'show help' tab.


Just to make sure: Did you do a reload on the page? Otherwise it might use a cached version.

Yes I did. I also tried using Chrome, Opera Mini, Atomic Web Browser, and Mercury (iOS alternatives). None work.


Maybe you can try spoofing the useragent with mercury (i think it has a setting for this). I don't know if it'd make a difference, though.
be immersed
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: HTML+JavaScript diagram builder

Post by ez4u »

Kirby wrote:...
Maybe you can try spoofing the useragent with mercury (i think it has a setting for this). I don't know if it'd make a difference, though.

Good idea, however, it did not work.
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
tj86430
Gosei
Posts: 1348
Joined: Wed Apr 28, 2010 12:42 am
Rank: FGA 7k GoR 1297
GD Posts: 0
Location: Finland
Has thanked: 49 times
Been thanked: 129 times

Re: HTML+JavaScript diagram builder

Post by tj86430 »

One more suggestion: How about adding the "prisoners": line (or did I miss that too)?

I also noticed some strange behaviour if you add a couple of stones and then change the color, but I will investigate further and provide a more precise report later.
Offending ad removed
Post Reply