-
Author
-
February 15, 2017 at 23:19 #153151
Christianjude
ParticipantHello. 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>
<!– 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>"” + Jan[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 1) document.write(“<center><i>"” + Feb[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 2) document.write(“<center><i>"” + Mar[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 3) document.write(“<center><i>"” + Apr[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 4) document.write(“<center><i>"” + May[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 5) document.write(“<center><i>"” + Jun[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 6) document.write(“<center><i>"” + Jul[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 7) document.write(“<center><i>"” + Aug[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 8) document.write(“<center><i>"” + Sep[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 9) document.write(“<center><i>"” + Oct[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 10) document.write(“<center><i>"” + Nov[now.getDate()] + “"</i></center>”)
if (now.getMonth() == 11) document.write(“<center><i>"” + Dec[now.getDate()] + “"</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.
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.