trib4lmaniac
05-05-2004, 12:51 PM
I have always wondered why eBay allows javascript in the descriptions, but I'm glad the do because it's quite funny changing this and that. This thread is to get you all to post scripts for eBay to 'spice up' your descriptions. You don't have to really list anything, just go to preview description (step 5) and you can see what the script has done.
btw mousefollowers etc. are boring they've been done thousands of times on ebay. I want crazy things.
P.S. the ebay logo is document.images[2] i think ;) heres my short but weird contribution<script type="text/javascript">
<!--
var colors=["red", "yellow", "blue", "green"];
var altcolors=["blue", "green","red", "yellow"];
var all=document.getElementsByTagName("*");
function changeIt(){
for(i=0;i<all.length;i++)
{
all[i].style.color=colors[i%colors.length];
all[i].style.background=altcolors[i%colors.length];
}
}
window.onload=changeIt;
//-->
</script>
btw mousefollowers etc. are boring they've been done thousands of times on ebay. I want crazy things.
P.S. the ebay logo is document.images[2] i think ;) heres my short but weird contribution<script type="text/javascript">
<!--
var colors=["red", "yellow", "blue", "green"];
var altcolors=["blue", "green","red", "yellow"];
var all=document.getElementsByTagName("*");
function changeIt(){
for(i=0;i<all.length;i++)
{
all[i].style.color=colors[i%colors.length];
all[i].style.background=altcolors[i%colors.length];
}
}
window.onload=changeIt;
//-->
</script>