This topic has 5 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #153151
     Christianjude
    Participant

    Hello. I am trying to embed a daily qoute to my website on the (tips-quotes-resources) but it is not working.

    Here is the code provided from the website quote I want to embed on the page.

     

    STEP 1: Insert the code below between the <head> and </head> of the document. This is located at the top, and is the same place where you would put meta tags. (Note: This will work on pages with MOST other Javascript.)

    <!– PLACE THIS JAVASCRIPT BELOW IN THE HEAD OF YOUR DOCUMENT –>
    <script language=”JavaScript” type=”text/javascript” src=”http://www.inspirationline.com/daily-quote.js”></script&gt;
    <!– END SCRIPT FOR HEAD –>

     

    STEP 2: Insert the following code —into a table— anywhere below the <body> of your document

     

    <script language=”JavaScript” type=”text/javascript”>
    document.write(“<Font color=’#333366′ size=2 Face=’arial’>”)
    document.write(“<center><B><font color=’#990099′>Daily Inspirational Quote For ” + dayName[now.getDay()] + “, ” + monName[now.getMonth()] + ” ” + now.getDate() + “, ” + now.getFullYear() + “.</B></font></center><BR>” )
    document.write(“<Font size=4>”)
    if (now.getMonth() == 0) document.write(“<center><i>&quot;” + Jan[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 1) document.write(“<center><i>&quot;” + Feb[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 2) document.write(“<center><i>&quot;” + Mar[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 3) document.write(“<center><i>&quot;” + Apr[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 4) document.write(“<center><i>&quot;” + May[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 5) document.write(“<center><i>&quot;” + Jun[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 6) document.write(“<center><i>&quot;” + Jul[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 7) document.write(“<center><i>&quot;” + Aug[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 8) document.write(“<center><i>&quot;” + Sep[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 9) document.write(“<center><i>&quot;” + Oct[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 10) document.write(“<center><i>&quot;” + Nov[now.getDate()] + “&quot;</i></center>”)
    if (now.getMonth() == 11) document.write(“<center><i>&quot;” + Dec[now.getDate()] + “&quot;</i></center>”)
    document.write(“</Font>”)
    document.write(“<P align=’center’><B><a href=’http://www.inspirationline.com’><font color=’#990099′>Find Extra Encouragement from Inspiration Line HERE</font></a></B></P>”)
    document.write(“<P align=’center’><B><a href=’http://www.inspirationline.com/advertising.htm’><font color=’#990099′ Face=’arial’ size=1> Add Inspiring Daily Quotes to YOUR Website </font></a></B></P>”)
    document.write(“</Font>”) </script>

     

    STEP 3: That’s it … our “Daily Inspirational Quote Generator” should now display on your site.

    It is working perfectly on my portfolio here. It was simple to do.

    http://www.christianjudemendoza.com/myportfolio/test/

    But when I try to do the same on the Kleo theme it doesn’t work.

    How can I embed this daily Quote to this page. I tried the Raw Javascript Module, Raw HTML module, Classic Mode. etc nothing seems to work. I know there must be a simple solution.

    #153233
     Laura
    Moderator
    Not marked as solution
    #153234
     Christianjude
    Participant
    Not marked as solution
    #153459
     Laura
    Moderator
    Not marked as solution
    #153462
     Christianjude
    Participant
    Not marked as solution
    #153636
     Laura
    Moderator
    Not marked as solution
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?