JesseToxik Posted April 24, 2013 Share Posted April 24, 2013 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. Link to comment https://forums.phpfreaks.com/topic/277231-is-this-possible-javascript-quote-of-the-day-365-days/ Share on other sites More sharing options...
requinix Posted April 24, 2013 Share Posted April 24, 2013 Actually yes. I take it you don't have PHP or some other server-side programming language? Link to comment https://forums.phpfreaks.com/topic/277231-is-this-possible-javascript-quote-of-the-day-365-days/#findComment-1426213 Share on other sites More sharing options...
JesseToxik Posted April 24, 2013 Author Share Posted April 24, 2013 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 https://forums.phpfreaks.com/topic/277231-is-this-possible-javascript-quote-of-the-day-365-days/#findComment-1426215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.