Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
All requests | > | Horoscope birth chart | > | Request new recommendation | > | Featured requests | ||
by eswarresh - 7 months ago (2015-01-25) horoscope birth chart
+1 | I need to generate a chart for the horoscope given the birth day date. |
1. by jino - 7 months ago (2015-01-27) Reply
So What is your Exact requirement, The nice Chart or the database of the horospe based on date? if you are looking for the database, this could not be the right place dear.
2. by jino - 7 months ago (2015-01-27) Reply
So What is your Exact requirement, The nice Chart or the database of the horospe based on date? if you are looking for the database, this could not be the right place dear.
+1 | by Pierre FAUQUE 30 - 2 months ago (2015-06-25) Comment Hello, It's not easy to compute in javascript a complete chart with the position of all planets for a given date of birth. The Kepler's laws are complex and each planet has its own parameters. You can see an example for the computation of the sun position only for a given date in the mentioned package. But if you need to build an horoscope, you have just to determine the sun position to know the zodiacal sign (the zodiacal sign for a date is the sign in which the sun is in it for that date). If you only need that, maybe the package 366 will help you. Let me know if you have found a solution to your project. |
1. by Pierre FAUQUE Reply
- 2 months ago (2015-06-25)With that package you can write something like this (if 'birthdate' is the variable holding the concerned date) :
birthdate = new Date(year, month, day); switch(birthdate.getSign()) { case 'aries': horoscope = "horoscope for aries"; break; /and so on.../ case 'pisces': horoscope = "horoscope for pisces"; break;
} document.write(horoscope);
Recommend package | |
|