There are many scripts which allow you to rotate banners, ad-blocks and canned paragraphs. This scripts provide you with lot of features such as statistics, split testing, cloaked links, etc. You may have a beautiful admin panel to control your campaigns…
But sometimes, all you need is rotate some content at your page. And you can implement it quick and simple without installation of a professional script.
Let’s suppose you have a main web-page where you’d like to rotate some content on.
You can create a number of files with the HTML-snippets to rotate them at your page: page1.html, page2.html, page3.html, page4.html …
page1.html: |
| <a href="http://digg.com/submit?phase=2&url=http://askmichel.icoder.com/2006/10/30/content-rotation/ &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/digg.png" width="80" height="70" /></a><br />Digg.com |
page2.html: |
| <a href="http://del.icio.us/post?url=http://askmichel.icoder.com/2006/10/30/content-rotation/ &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/delicious.png" width="80" height="80" /></a><br />del.icio.us |
page3.html: |
| <a href="http://reddit.com/submit?url=http://askmichel.icoder.com/2006/10/30/content-rotation/ &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/reddit.png" width="90" height="90" /></a><br />reddit.com |
page4.html: |
| <a href="http://co.mments.com/track?url=http://askmichel.icoder.com/2006/10/30/content-rotation/ &title=Content+rotation"> <img border="0" src="/wp-content/plugins/sociable/images/co.mments.gif" width="80" height="80" /></a><br />co.mments.com |
(more…)