p3rv wrote: ↑Thu Oct 04, 2012 1:33 pm
The Erotic Audio Challenge - Eye Candy
Download
Description:
Here's something you can customize and watch while you're listening to some of my audio files. Zip file contains 9 animated gif examples and 1 html file.
Size:
17.49 MB
Webtease Link:
http://www.milovana.com/webteases/showt ... p?id=18439
How to customize The Erotic Audio Challenge - Eye Candy
Change the refresh setting
Open index.html with notepad or whatever text editor you use
default: (refreshes every 10 seconds)
Code: Select all
<meta http-equiv="refresh" content="10">
modified: (refreshes every 5 seconds)
Code: Select all
<meta http-equiv="refresh" content="5">
Remove
Code: Select all
<meta http-equiv="refresh" content="10">
to disable page from refreshing
Replacing the animated gifs
Replace 1.gif, 2.gif, 3.gif, etc. under the gifs folder with your own gifs named 1.gif, 2.gif, 3.gif, etc.
Example gifs:
http://www.mediafire.com/?4dbbj7mpy3wfjoh
Change how the gifs are displayed
Open index.html with notepad or whatever text editor you use
default: (3 across and 3 down)
Code: Select all
var a=[];while(a.length <9) { var n = Math.round(Math.random() * 8) + 1; if (a.indexOf(n)==-1) a.push(n);}for (var i=0; i<9; i++) {document.write('<td><img src="gifs/' + a[i] + '.gif"></td>');if (i==2 || i==5) document.write('</tr><tr>');}
modifed: (4 across and 3 down)
Code: Select all
var a=[];while(a.length <12) { var n = Math.round(Math.random() * 11) + 1; if (a.indexOf(n)==-1) a.push(n);}for (var i=0; i<12; i++) {document.write('<td><img src="gifs/' + a[i] + '.gif"></td>');if (i==3 || i==7) document.write('</tr><tr>');}
modifed: (4 across and 4 down)
Code: Select all
var a=[];while(a.length <16) { var n = Math.round(Math.random() * 15) + 1; if (a.indexOf(n)==-1) a.push(n);}for (var i=0; i<16; i++) {document.write('<td><img src="gifs/' + a[i] + '.gif"></td>');if (i==3 || i==7 || i==11) document.write('</tr><tr>');}
Adding more gifs
Add more gifs to the gifs folder and make sure their names are incremental (1.gif - 40.gif)
Open index.html with notepad or whatever text editor you use
default: (displays 9 gifs named 1.gif - 9.gif)
Code: Select all
var n = Math.round(Math.random() * 8) + 1;
modified: (displays 9 random gifs named 1.gif - 40.gif)
Code: Select all
var n = Math.round(Math.random() * 39) + 1;
Centering the gifs
default: (default alignment)
Code: Select all
document.write('<td><img src="gifs/' + a[i] + '.gif"></td>');
modified: (centers the gif horizontally and vertically)
Code: Select all
document.write('<td align="center" valign="middle"><img src="gifs/' + a[i] + '.gif"></td>');
Please feel free to post your modifications or gif packs