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:

<!-- begin free daily horoscope script -->
<script type="text/javascript" language="JavaScript">
/* Please modify value of 'sign' according to your needs. Valid values are: Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces. The value for the day's overview is: General. */
var sign="Sagittarius";

/* This is your unique id, sent to you by email */
var id=1;

/* Do not modify anything from here on */
var url='http://www.eastrolog.com/';
document.write('<sc'+'ript type="text/javascript" language="JavaScript"');
document.write(' src="'+url);
<noscript> <a href='http://www.eastrolog.com/' target='_blank'>Free Horoscopes</a> </noscript>
<!-- end 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 - Free Daily 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

Horoscopes, Astrology Predictions
Love Astrology & Relationships