Hello...I've been trying to find a way to randomly rotate 10 text links into 10 available positions. One any given page load there would only be 10 slots to be filled with 10 possible text entries. All done at random on any given pageload. Any help would be greatly appreciated.
The code for the template looks like this thus far.
<html>
<head>
<title>Preview</title>
<LINK rel='stylesheet' href='/css/dcStyle.css' type='text/css'></LINK>
<script language='JavaScript'>
function myclose() { document.close = myclose;} function myrefresh(){ if(window.name.indexOf('refreshed') < 0){ window.location.reload(); window.name += 'refreshed'}}
</script>
</head>
<body onLoad="myrefresh()" leftmargin='0' topmargin='0'>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MGM Sponsorship</title>
<STYLE TYPE="text/css">
a
{
color: #0033CC;
text-decoration: underline;
}
a:hover
{
color: #666666;
text-decoration: underline;
}
table.mgm
{
background-color:#E8D8C8;
border:1px solid #666666;
text-align: left;
}
.head
{
font-family: Tahoma, Arial;
font-size: 11px;
font-weight : bold;
color: #333333;
text-align: left;
padding-top: 5px;
padding-bottom: 3px;
margin: 0 auto;
}
.offer
{
font-family: Tahoma, Arial;
font-size: 11px;
font-weight : bold;
color: #131313;
text-align: left;
padding-bottom: 5px;
margin: 0 auto;
}
IMG.thumbnail {
border: 0pt;
padding: 0;
}
</STYLE>
</head>
<body>
<table class="mgm" width="160" cellpadding="6" cellspacing="0">
<tr>
<td>
<div class="offer">link 1</div>
<div class="offer">link 2</div>
<div class="offer">link 3</div>
<div class="offer">link 4</div>
<div class="offer">link 5</div>
<div class="offer">link 6</div>
<div class="offer">link 7</div>
<div class="offer">link 8</div>
<div class="offer">link 9</div>
<div class="offer">link 10</div>
</td>
</tr>
</table>
</body>
</html>
</body>
</html>
The code for the template looks like this thus far.
<html>
<head>
<title>Preview</title>
<LINK rel='stylesheet' href='/css/dcStyle.css' type='text/css'></LINK>
<script language='JavaScript'>
function myclose() { document.close = myclose;} function myrefresh(){ if(window.name.indexOf('refreshed') < 0){ window.location.reload(); window.name += 'refreshed'}}
</script>
</head>
<body onLoad="myrefresh()" leftmargin='0' topmargin='0'>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MGM Sponsorship</title>
<STYLE TYPE="text/css">
a
{
color: #0033CC;
text-decoration: underline;
}
a:hover
{
color: #666666;
text-decoration: underline;
}
table.mgm
{
background-color:#E8D8C8;
border:1px solid #666666;
text-align: left;
}
.head
{
font-family: Tahoma, Arial;
font-size: 11px;
font-weight : bold;
color: #333333;
text-align: left;
padding-top: 5px;
padding-bottom: 3px;
margin: 0 auto;
}
.offer
{
font-family: Tahoma, Arial;
font-size: 11px;
font-weight : bold;
color: #131313;
text-align: left;
padding-bottom: 5px;
margin: 0 auto;
}
IMG.thumbnail {
border: 0pt;
padding: 0;
}
</STYLE>
</head>
<body>
<table class="mgm" width="160" cellpadding="6" cellspacing="0">
<tr>
<td>
<div class="offer">link 1</div>
<div class="offer">link 2</div>
<div class="offer">link 3</div>
<div class="offer">link 4</div>
<div class="offer">link 5</div>
<div class="offer">link 6</div>
<div class="offer">link 7</div>
<div class="offer">link 8</div>
<div class="offer">link 9</div>
<div class="offer">link 10</div>
</td>
</tr>
</table>
</body>
</html>
</body>
</html>