Oh here, I found an easier way if you have access to a server where you can host PHP scripts/create directories!
Copy this into a textfile, save it as "rotate.php" and upload into a directory with all the images you want to switch between. Then change the CSS to link to where you've updated rotate.php file:
This is way way simpler if you have space to host a PHP script. I tested this and it should work, but yeah I don't have enough time to go through S2 layers and write a step-by-step guide there.
no subject
Date: September 19th, 2012 05:44 pm (UTC)Oh here, I found an easier way if you have access to a server where you can host PHP scripts/create directories!
Copy this into a textfile, save it as "rotate.php" and upload into a directory with all the images you want to switch between. Then change the CSS to link to where you've updated rotate.php file:
#secondary /*sidebar image */ {
background-image:url(http://example.com/rotate/rotate.php);
}
This is way way simpler if you have space to host a PHP script. I tested this and it should work, but yeah I don't have enough time to go through S2 layers and write a step-by-step guide there.