1. put your <cfform> and </cfform> tags nested before the <tr> (it wont
take up any space)


<table cellpadding="0" cellspacing="0" border="0">
        <cfform action="#cgi.script_name#" method="GET" name="redirect">
                <tr align="left">
                        <td>

2. I don't know :)

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 

-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 8:39 AM
To: CF-Talk
Subject: OT: <cfform...<input and maximize/minimize javascript menu


Hi,

For the life of me I can't figure this out. I have two problems. First,
there is extra whitespace between the <cfform>'s and the first <div> tag
for the expanding menu. How can I 
get rid of this!!!

Second, under the <a href> links for the maximize/minimize there is
extra whitespace (I assume room for the dropdown) but I've seen others
where the text below "floats" and 
butts up nicely based on the menu selection.

Please HeLp!

I've pulled half my hair out on this one.


<style>
        .formfield {border: 1px ;border-style:solid;
border-color:#999999; padding: 1px; margin: 6px; font-size: 12px; color:
#000000}
        .formbuttons {font-family:arial, verdana, helvetica,
sanserif;font-weight:normal;font-size:10px; } </style>

<script language=javascript>
<!-- begin hiding

NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

function popUp(boxName,on) {
  if (on) {
    if (NS4) {
      document.layers[boxName].visibility = "show";
    } else {
      document.all[boxName].style.visibility = "visible";
    }
  } else {
    if (NS4) {
      document.layers[boxName].visibility = "hide";
    } else {
      document.all[boxName].style.visibility = "hidden";
    }
  }
}

// end hiding -->
</script>

</head>

<body>

<cfoutput>
<table cellpadding="0" cellspacing="0" border="0">
<tr align="left">
<td>
<cfform action="#cgi.script_name#" method="GET" name="redirect">
        <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
        <td>
                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td>&nbsp;&nbsp;<input class="formfield"
type="text" name="redirect" value="" size="8" maxlength="15"
class="dirlinks"></td>
                        <td align="right"><input class="formbuttons"
type="hidden" name="defined" value=""><input class="formbuttons"
type="submit" value="Jump" class="dirlinks" 
name="results"></td>
                </tr>
                </table>
        </td>
        </tr>
        </table>
</cfform>
</td>
<td>
<cfform action="filenav.cfm" method="GET" enablecab="Yes" name="mask">
        <table cellpadding="0" cellspacing="0" border="0">
        <tr>
                <td>&nbsp;&nbsp;<input class="formfield" type="text"
name="filter" value="" size="4" maxlength="8" class="dirlinks"></td>
                <td align="right"><input class="formbuttons"
type="hidden" name="maskdefined" value=""><input class="formbuttons"
type="submit" value="Filter" class="dirlinks"></td>
        </tr>
        </table>
</cfform>
</td>
</tr>
</table>
</cfoutput>

<div id="control" style="position:relative;visibility:visible">
<a href="javascript:popUp('code',true);">Expand</a>
<a href="javascript:popUp('code',false);">Minimize</a>
</div>

<div id="code"
style="position:relative;visibility:hidden;background:white;">
<cfoutput>
<table border="0" cellpadding="0" cellspacing="0">
        <tr align="center">
                <td>
                        <br>
                        <a href="fileactions/folder-new.cfm"
target="display">New</a>&nbsp;
                        <a href="fileactions/folder-rename.cfm"
target="display">Old</a>
                </td>
        </tr>
</table>
</cfoutput>
</div>

<p>It comes in the night, a flying sphere emitting red and blue lights
that 
attacks villagers in this poor region, extensively burning those victims
it does 
not kill. At least that's what panic-stricken villagers say. At least
seven 
people have died of unexplained injuries in the past week in Uttar
Pradesh 
state.</p>



______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to