Rotating Ajax Includes

Display a different page within your web page depending on what day it is.

About This Script

Show different content depending on the day. Paste the code below where you want it to appear on your page. Replace the links with whatever your would like to display.

Demo

Code

<!-- jQuery is required if you're not already using it --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <noscript>Rotating content provided by <a href=\"http://www.top-site-list.com\">Top Site List Planet</a></noscript> <div id="rotatingContent"></div> <script> $(function(){ var url; var now = new Date(); switch (now.getDay()) { case 1: // Page for Monday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/monday.html'; break; case 2: // Page for Tuesday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/tuesday.html'; break; case 3: // Page for Wednesday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/wednesday.html'; break; case 4: // Page for Thursday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/thursday.html'; break; case 5: // Page for Friday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/friday.html'; break; case 6: // Page for Saturday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/saturday.html'; break; default: case 7: // Page for Sunday url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/sunday.html'; break; } $("#rotatingContent").load(url); }); </script>
More scripts

Do you want to expose your site to millions?
Do you want to be ranked higher in Google?
Do you want to be known as the best site in your niche?

Then look no further. Add your site in 3 simple steps. Sign up, Add your site and Start receiving votes! It only takes 10 seconds!

Sign Up to Top Site List Planet Now!

Login with one of these social networks...

Sign in with FacebookSign in with TwitterSign in with Google+Sign in with Yahoo!Sign in with LinkedIn

or create an account with your email...

Login To An Existing Account