Please help getting EidoGo to work in our HTML&CSS-project

For discussing go computing, software announcements, etc.
Post Reply
User avatar
Ember
Lives with ko
Posts: 286
Joined: Sun May 09, 2010 5:32 am
Rank: EGF 3-4k - KGS 2-3k
GD Posts: 0
Online playing schedule: A schedule..? When hell freezes over... maybe. ^^;
Location: Germany
Has thanked: 146 times
Been thanked: 81 times

Please help getting EidoGo to work in our HTML&CSS-project

Post by Ember »

Hello everybody,

a friend and I are making a Go-related webpage for one of our university courses (HTML&CSS). It includes some stuff about the origins of Go, useful links for beginners, some Hikaru no Go and of course the rules, among others. The part explaining the rules is some of my part of the work and I want to make it a bit more interesting by making it interactive, just like in Hiroki Mori's Go course (but not that extensive ;-) ).

For this, I wanted to use EidoGo as it is open source and seemed very easy to use. On the website there even is an instruction - but it doesn't work for me..

What seems weird to me (as somebody who before this course didn't know anything about HTML or CSS) is that the instruction says nothing about defining
<div class="eidogo-player-auto" [...]

and
<div class="eidogo-player-problem" [...]

in the CSS-file. Is that the source of the problem? What am I missing?

I know that some people use EidoGo in their Blogs and websites, how did you do that?

Any help is appreciated! :)
Image
User avatar
fwiffo
Gosei
Posts: 1435
Joined: Tue Apr 20, 2010 6:22 am
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Location: California
Has thanked: 49 times
Been thanked: 168 times

Re: Please help getting EidoGo to work in our HTML&CSS-proje

Post by fwiffo »

The reason the classes are there is to tell the eidogo javascript where to insert the players in the page. You don't need to add any additional styles to them; EidoGo will put the players inside those <div> tags and style them accordingly. You just have to include the eidogo javascript and stylesheet in the <head> tag of the page.

You can add extra styles for those divs in your own stylesheet, however, if you want to do something like center them or add extra borders or something.
User avatar
Ember
Lives with ko
Posts: 286
Joined: Sun May 09, 2010 5:32 am
Rank: EGF 3-4k - KGS 2-3k
GD Posts: 0
Online playing schedule: A schedule..? When hell freezes over... maybe. ^^;
Location: Germany
Has thanked: 146 times
Been thanked: 81 times

Re: Please help getting EidoGo to work in our HTML&CSS-proje

Post by Ember »

fwiffo wrote:The reason the classes are there is to tell the eidogo javascript where to insert the players in the page. You don't need to add any additional styles to them; EidoGo will put the players inside those <div> tags and style them accordingly. You just have to include the eidogo javascript and stylesheet in the <head> tag of the page.

You can add extra styles for those divs in your own stylesheet, however, if you want to do something like center them or add extra borders or something.


Hello fwiffo,

sorry for the late reply.

Thank you for clarifying this! I guess, I need to have a closer look at this subject.. ;)
Well EidoGo still doesn't work and I made the pages without it and only with diagrammes. Tried to make it as interactive as it is possible using this way. :D

Although I guess that I won't redo all the pages I planned to use it on if I would get EidoGo to work now (did I mention that the deadline is approaching? ;) ), I'm still interested in what went wrong.

I guess I'll have another calm look at the subject in 2 weeks when I (finally) have more free time and report back then. But if anyone has an idea or a hint, I'd appreciate it!
Image
noodley
Dies in gote
Posts: 28
Joined: Mon Jul 05, 2010 9:59 am
Rank: KGS 13 kyu
GD Posts: 0
KGS: noodley
Location: California
Has thanked: 3 times
Been thanked: 2 times

Re: Please help getting EidoGo to work in our HTML&CSS-proje

Post by noodley »

Can you make the HTML page that isn't running eidogo properly accessible? Debugging problems like this is much easier with a concrete example of the error you are getting.
User avatar
fwiffo
Gosei
Posts: 1435
Joined: Tue Apr 20, 2010 6:22 am
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
Location: California
Has thanked: 49 times
Been thanked: 168 times

Re: Please help getting EidoGo to work in our HTML&CSS-proje

Post by fwiffo »

Yeah, without seeing the code/markup you've got, it's hard to say what the exact problem could be.
Post Reply