The-Ensemble
07-26-2006, 08:38 PM
I created a scheme with a random image generator (via javascript/html) inside it.
and something seems to making the spacers just go so the forums are full width. i can't get them to go to the size i want is there something in this code that could effect the spacers?:
<script language="JavaScript">
<!-- HIDE FROM INCOMPATIBLE BROWSERS
document.writeln('<td'+' border=0 ><img src="'+xoxo[choice]+'" align=right height=253 width=486 border=0 ><'+'/td>');
// STOP HIDING FROM INCOMPATIBLE BROWSERS -->
</script>
-----------------------------------
<script language="JavaScript" type="text/javascript">
<!-- HIDE FROM INCOMPATIBLE BROWSERS
var ic = 2;
var xoxo = new Array(ic);
xoxo[0] = "";
xoxo[1] = "";
function pickRandom(range) {
if (Math.random) {
return Math.round(Math.random() * (range-1));
}
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
var choice = pickRandom(ic);
// STOP HIDING FROM INCOMPATIBLE BROWSERS --></script>
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
and something seems to making the spacers just go so the forums are full width. i can't get them to go to the size i want is there something in this code that could effect the spacers?:
<script language="JavaScript">
<!-- HIDE FROM INCOMPATIBLE BROWSERS
document.writeln('<td'+' border=0 ><img src="'+xoxo[choice]+'" align=right height=253 width=486 border=0 ><'+'/td>');
// STOP HIDING FROM INCOMPATIBLE BROWSERS -->
</script>
-----------------------------------
<script language="JavaScript" type="text/javascript">
<!-- HIDE FROM INCOMPATIBLE BROWSERS
var ic = 2;
var xoxo = new Array(ic);
xoxo[0] = "";
xoxo[1] = "";
function pickRandom(range) {
if (Math.random) {
return Math.round(Math.random() * (range-1));
}
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
var choice = pickRandom(ic);
// STOP HIDING FROM INCOMPATIBLE BROWSERS --></script>
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>