If we can add this post to the first one will be great, so people can find the link. Thanks. : )
Here it is with most of the changes we mentioned. @Tientai
alternative view will come soon hopefully, but until then no reason not to post the already working version.
So link is here:http://bright-hall.net/WWG/WWGCalc.html
We will make a site in the future there, but for now its nice to have the calc up and running, so people can use it. : )
I added what we mentioned already. Animals show on the left now, the lines of the Resulting Hexagram are hidden by default, they show up if they change or if we click "Show All Lines". We can see the stems on the place of the animals by clicking to show the stems.
There are 2 ways to input Hexagrams.
- We can click Upper and Lower Trigrams to Select Them.
- We can choose a number of Hexagram and it will show it
Changing lines we add by clicking the space after the line. Hidden lines will show up on the left os Self/Others if there are any.
And we can generate random Hexagram.
All is dynamic so there isn't need to refresh the site.
For the BaZi date and hour, the month is selected first, just the way controls work in HTML5.
Check it, let me know if you want some improvements.
What I'm currently working on:
Chinese Terms for all lines.
Alternative view for @Tientai
Moving the code to PHP and compressing the JS after, it will load faster, but the code will be unreadable.
Have idea to add the gods later as well(Hostile God etc.) as lately we talk about them a lot.
If you have visual problems try ctrl + + and ctrl + -. as sometimes on some resolution that may fix it.
Let me know about impressions/possible problems and enjoy. : )