Jump to content

Is this possible? [ Javascript quote of the day - 365 days ]


JesseToxik

Recommended Posts

Hey guys

 

 

I am currently updating my site and in all honestly I suck at javascript.

My site is located at http://vampire-news.webs.com .

At the top my main banner sits in the middle. 

I am truly considering moving my banner to the left side of the header and adding a quote of the day(or something else useful) to the right side to fill the gap.

I used to have a script that did this and it worked perfectly.

 

The issue I cannot think of a way around is a quote every day for 365 days.

Can javascript use get date() and use an array of 365 objects to display a different one each day?

Any help is appreciated.

If I made no sense I apologize.  :tease-01:

Sadly no. As I build my site I am using webs.com which does not support PHP(even their paid hosting does not support PHP).
But a PHP solution would be good. I may have found a javascript solution but once I build my site, buy a domain, and hosting I will switch to PHP.

My laptop is equipped with WAMP server so I can test any PHP codes you give me :)

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.