eAstrolog.com Logo

Using the Horoscope Script

WeBuilder 2015 code editor
eAstrolog.com is built with love and WeBuilder: web coding made easy, efficient and fun!

Activate and Customize The Horoscope Script

The Horoscope Script Code

The code looks like this:

<!-- Free daily horoscope script version 2.2 -->
<script type="text/javascript" language="JavaScript">
/* The value of 'sign' can be: Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces (the 12 Sun Signs), and General (for the day's overview). */
var sign="Sagittarius";

/* Put your unique id here (which you have received by email). */
var id=1;

/* Do not change anything from here on. Copy the code exactly. */
var url='http://www.eastrolog.com/';
document.write('<sc'+'ript type="text/javascript" language="JavaScript"');
document.write(' src="'+url);
<noscript>If you can see this, JavaScript is disabled in your browser. You can read the <a href='http://www.eastrolog.com/free-daily-horoscopes/' target='_blank'>eAstrolog.com daily horoscope here</a>.</noscript>
<!-- End of the free daily horoscope script -->

Inserting the Code

Copy the code in the box below an paste it in your page(s), anywhere between "<body>" and "</body>" tags, where you want the horoscope to appear.

Customizing the Horoscope Script

You only have to modify the values shown above in RED. The first one tells the script what to show (the horoscope for a specific sign or the overview horoscope of the day), and the second one is your unique ID that will be emailed to you after we have processed your request.

The text it generates looks like this:

<P CLASS="date">January 1, 2002</P>

<P CLASS="horoscope">Your taste for adventure and ambition this morning will be obvious for a group of friends with whom you have spent the New Year's party.</P>

<P CLASS="horoscope">You will initiate a short trip to the mountains. You are advised to dampen down your enthusiasm and take into account other people's ideas, too. At the same time, you are advised to be more of a diplomat and avoid controversies with your loved one.</P>

<P CLASS="horoscope">By courtesy of eAstrolog.com. Related article: Free Monthly Horoscopes.</P>

Notice the styles used for formatting the text. You can easily customize the formatting by defining the two styles ("date" and "horoscope") using CSS.

Three Simple Steps:

  1. See the features of the free horoscope script.
  2. Read about using the free horoscope script.
  3. Request your activation ID for the free horoscope script.


Using the Free Horoscope Script
Activating and Customizing