Capture code here: press Select All then COPY the contents
Before publishing change gEMDIR to GEMDIR or the script will not load properly!
I have made notes in codes below and it will effect functionality!
Use the Select All choice above to copy code!
Using Trellix or CSB to build your site:
Place this script into an Insert > HTML (webgem in Trellix)
Adjust code: change ^gEMDIR/ to ^GEMDIR/
Then insert photo file into Webcomponents (Gem files )
Make sure capitalization is same as you used in the code (step 2)!
Example: calendar.gif is not the same as Calendar.gif or CALENDAR.gif. The images in the code must match the true image names (which can NOT have spaces or symbols in them.)
NOT using Trellix or CSB to build your site:
Place this script into your web page.
REMOVE the ^GEMDIR/ from code.
Upload your image directly to your site using FTP program.
Change ORANGE items to your quote.
Change BLUE item to your image if you want to use one.
Note: If you do not want to use an image, then REMOVE <img src="^GEMDIR/calendar.gif"> from the script.
Change GREEN item to your header.
QUOTE of the MONTH script
Can be used for tips, sales, specials, themes, etc.
var today_obj=new Date()
var tips=new Array()
//Update Header above the quote and and input an image if you want one
var tiptitle='<img src="^GEMDIR/calendar.gif"> <b>Quote of the month:</b><br>'
//Input your quotes. One for each month
tips='Type January here'
tips='Type February here'
tips='Type March here'
tips='Type April here'
tips='Type May here'
tips='Type June here'
tips='Type July here'
tips='Type August here'
tips='Type September here'
tips='Type October here'
tips='Type November here'
tips='Type December here'