is there a way to make a dynamic text event on wix.com

i'm making a website on wix.com and would like to dynamically take and change some text in a box to reflect the date.
I was hoping to make like a months calendar and if the date is within that range take and display the data.
for example:
<script type="javascript">
<!--
var triggerDate=new Date()
triggerDate.setFullYear(2006,08,01)
var today = new Date()
if (today=>triggerDate)
{
document.write('The text from your inserted paragraph goes here')
}
//-->
</script>

Open in new window


anyone know of a way to do it on there?
bbimisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I think you might be best off checking the marketplae for a widget that is already made for this http://www.wix.com/app-market/all.  A google calendar perhaps https://www.wix.com/support/html5/wix-app-market/apps-made-by-wix/faq/can-i-add-a-calendar-1 Otherwise, making your own might mean digging into the api http://dev.wix.com/docs/.

What you could do with javacript perhaps is take a series of dates that are in li or div tags and perhaps build something out.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bbimisAuthor Commented:
not what i was looking for but pointed me in the right direction. thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.