Page 2 of 6

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 5:39 am
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:

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 7:19 am
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).

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 7:28 am
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.

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 7:54 am
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.

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 8:00 am
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 $$ +---------------------------------------+ 
$$ | . . . . . . . . . . . . . . . . . . . |

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 8:04 am
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?

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 9:31 am
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 $$ +---------------------------------------+ $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . , . . . . . , . . . . . , . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . , . . . . . , . . . . . , . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . , . . . . . , . . . . . , . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ | . . . . . . . . . . . . . . . . . . . | $$ +---------------------------------------+

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 10:32 am
by HermanHiddema
@tj86430, @murksomat: How about now?

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 10:42 am
by tj86430
HermanHiddema wrote:@tj86430, @murksomat: How about now?

Seems to work now, thanks!

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 10:58 am
by murksomat
HermanHiddema wrote:@tj86430, @murksomat: How about now?

Thanks, it works!

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 11:52 am
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.

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 4:15 pm
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.

Re: HTML+JavaScript diagram builder

Posted: Thu Mar 21, 2013 11:11 pm
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.

Re: HTML+JavaScript diagram builder

Posted: Fri Mar 22, 2013 12:29 am
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.

Re: HTML+JavaScript diagram builder

Posted: Fri Mar 22, 2013 12:55 am
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.