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:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.