That worked!
Thanks
On Wed, 14 Aug 2002 08:50:39 -0400, Tony Weeg wrote:
> here ya go....does this do what you want?
>
> ===========================================
>
>
> <script>
> 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";
> }
> }
> }
> </script>
> <cfoutput>
> <table cellpadding="0" cellspacing="0" border="0">
> <cfform action="#cgi.script_name#" method="GET" name="redirect">
> <tr align="left">
> <td>
> <table width="100%" cellpadding="0" cellspacing="0" border="0">
> <tr>
> <td>
> <table cellpadding="0" cellspacing="0" border="0">
> <tr>
> <td> <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></cfform>
> </table>
> </td>
> <td>
> <table cellpadding="0" cellspacing="0" border="0">
> <cfform action="filenav.cfm" method="GET" enablecab="no" name="mask">
> <tr>
> <td> <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>
> </td>
> </tr>
> </cfform>
> </table>
> </cfoutput>
> <span id="control" style="position:relative;visibility:visible"><a
> href="javascript:popUp('code',true);">Expand</a> <a
> href="javascript:popUp('code',false);">Minimize</a></span>
> <cfoutput>
> <table border="0" cellpadding="0" cellspacing="0">
> <tr align="center">
> <td>
> <span id="code"
> style="position:relative;visibility:hidden;background:white;"><a
> href="fileactions/folder-new.cfm" target="display">New</a> <a
> href="fileactions/folder-rename.cfm" target="display">Old</a></span>
> </td>
> </tr>
> </table>
> </cfoutput>
>
> <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>
>
>
>
>
>
>
> ===========================================
>
> ..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:42 AM
> To: CF-Talk
> Subject: OT: **UPDATE** <cfform...<input and maximize/minimize
> javascript menu
>
>
> Sorry, the JS was not present in my previous email. Paste the below
> between the <script> tags.
>
> See below:
>
> 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";
> }
> }
> }
>
>
>
>
>
______________________________________________________________________
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