View Single Post
Old 11-09-2004, 08:53 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
here is a way ...
HTML Code:
<select title="Select a Font Size" name="fontsize" id="FontSize" style="width:75px" class="layoutMenu">
<script language="JavaScript">
<!--
for(i=10;i<20;i++){

  document.write('<option value="'+i+'px"'); 
  if(size==i+'px'){document.write(' selected');}  
  document.write('>'+i+'px</option>\n');

}
document.write('<option value="xx-large"');
if(size=='xx-large'){document.write(' selected');}
document.write('>xx-large</option>\n');

-->
</script>
</select>
i see you're using asp, why not just do this server-side?
__________________
Mike
sde is offline   Reply With Quote