Help - Search - Members - Calendar
Full Version: why dont this work :-(
Forums > Resource Center > Graphics Help > Graphics Help Resolved Topics
adoggydog195
this is supposed to make the cursor change every second:

<script>
// mousechanging speed
var speed = 1;
// transition time
var duration = 0;
var cursors = new Array()
// cursor urls
cursors[0] = 'crosshair';
cursors[1] = 'move';
cursors[2] = 'pointer';
// preload
var preload = new Cursor();
for (var i = 0; i < cursors.length; i++) {
preload[i] = new Cursor();
preload[i].src = cursors[i];
}
function start() {
document.write('<style type="text/css">body {cursor:'+preload[0].src+'}</style>');
}
</script>
<body onload="start()">

y dont it work sad.gif
Princess_sarsa
hum i duno...is this the right topic for this, tho?
dasturbd
dont know...you should ask in xanga help though
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.