The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

form problem by Spisefisken 2002-06-17 08:02:10
I have a little problem with some forms. I want to change the size of a dropdown box My code a little bit like this:
<html>
<head>
<base href="http://rise.intra.mobilix.dk/reports/default.html">
<title>Fixed Reporting</title>
<script>
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="_blank";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_blank";};
if (ref != "") {land(loc,target);}
}
</script>
</head>
<body bgcolor="#FFFFFF" onload="init()" topmargin="0"
leftmargin="0" link="#FF6600" vlink="#FF6600" alink="#FF6600">
<script language="JavaScript" src="intranetsite/orange.js"></script>
<script language="JavaScript" src="intranetsite/navcond.js"></script>
<script language="JavaScript" src="intranetsite/menu.js"></script>
< p>< font face="Arial">< br>
< /font>
< blockquote>
  <_h1>Existing  Fixed Reporting - Figures<_/h1>
  < table border="0" width="100%" cellspacing="0" cellpadding="0">
    < tr>
      < td width="50%">
        < H4>< font face="Arial">Weekly figures - < font color="#FF6600">All< /font> segments< /font>< /H4>
        <form action="intranetsite/dummy" method="POST">
          < p align="left"><select size="1" name="choice" tabindex="1" onChange="jump(this.form)">
            <option>Mobile</option>
            <option value="intranetsite/mobile_activations.htm">Activations</option>
            <option value="intranetsite/mobile_deactivations.htm">Deactivations</option>
            <option value="intranetsite/mobile_closing_base.htm">Closing
            base</option>
            <option value="intranetsite/mobile_act__deact___cb.htm">Acts,
            deacts & closing base</option>
          </select>
          < /font>
        </form>
      < /td>
    < /tr>
  < /table>
< /blockquote>

</body>

</html>
Where should I change something in order to change the size of the dropdown?
[ Reply ]
  I would think by Llyr2002-06-17 08:05:22
    I can't find an attribute that works. by Spisefisken2002-06-17 08:17:25
  its in the <select> tag by FireballMatt2002-06-17 08:10:00
    That made it higher. I need to change the width by Spisefisken2002-06-17 08:15:03
  To change the size of the select ... by aix tom2002-06-17 08:15:46
    I can't manage the correct size with by Spisefisken2002-06-17 08:19:30
  width by scoot_442002-06-17 08:21:38
  I've got it. by aix tom2002-06-17 08:23:13
    Beautiful, just beautiful. Works like a charm by Spisefisken2002-06-17 08:49:05
  Select width is not an option... by Lord Jester2002-06-17 08:28:14

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)