I want <input> boxes. See below example:

--html--
<head>
<title></title>

--SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"--
<!--
        function changeContent(numb){
                con1 = "<input>";
                con2 = "<input><input>";
                con3 = "<input><input><input><input>";
                
                switch(numb){
                        case 1:
                                con = con1;
                                break;
                        case 2:
                                con = con2;
                                break;
                        case 3:
                                con = con3;
                                break;
                        default:
                                con = 'error';
                }
                
                if(document.all){
                        e = document.all.contentArea;
                }else{
                        e = document.getElementById("contentArea");
                }
                
                e.innerHTML = con;
        }
//-->
--/SCRIPT--
</head>

<body>

<table border="1" align="center">
        <!--- controls --->
        <tr>
                <td width="100" onclick="changeContent(1)">
                        Button 1
                </td>
                <td  width="100" onclick="changeContent(2)">
                        Button 2
                </td>
                <td  width="100" onclick="changeContent(3)">
                        Button 3
                </td>
        <tr>

        <!--- content --->
        <tr>
                <td vAlign="top" colspan="3" width="300" height="300">
                        <div id="contentArea" style="height : 300; width : 300; 
overflow : auto;padding-left : 1px;padding-right : 2px; padding-left : 2px;">
                                Starting content goes here
                        </div>
                </td>
        </tr>
<table>

</body>

--/html--


On Thu, 20 Mar 2003 15:17:08 -0500, [EMAIL PROTECTED] wrote:

> You really need to set up an example or send some code.  I have no idea what
> the hell your talking about :D
> 
> -----Original Message-----
> From: FlashGuy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 2:33 PM
> To: CF-Community
> Subject: RE: Using <div> ... <span>??
> 
> 
> On Thu, 20 Mar 2003 13:58:48 -0500, [EMAIL PROTECTED] wrote:
> 
> > Ok, what browsers does it need to work in?
> >
> Just IE.
> 
> > You could do your design with a table with a content div in the middle.
> > This should work in NN 6+ and IE 4 +.  Not sure what else.
> 
> Hmmm...the thing is in each "tab" will be <input> boxes to type in different
> information based on the "tab" selected. From this script I don't see how I
> can incorporate <input> 
> boxes. etc. etc.???
> 
>  
> > <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
> > <!--
> >     function changeContent(numb){
> >             con1 = "This is con 1";
> >             con2 = "This is con 2";
> >             con3 = "This is con 3";
> >             
> >             switch(numb){
> >                     case 1:
> >                             con = con1;
> >                             break;
> >                     case 2:
> >                             con = con2;
> >                             break;
> >                     case 3:
> >                             con = con3;
> >                             break;
> >                     default:
> >                             con = 'error';
> >             }
> >             
> >             if(document.all){
> >                     e = document.all.contentArea;
> >             }else{
> >                     e = document.getElementById("contentArea");
> >             }
> >             
> >             e.innerHTML = con;
> >     }
> > //-->
> > </SCRIPT>
> > 
> > <table border="1" align="center">
> >     <!--- controls --->
> >     <tr>
> >             <td width="100" onclick="changeContent(1)">
> >                     Button 1
> >             </td>
> >             <td  width="100" onclick="changeContent(2)">
> >                     Button 2
> >             </td>
> >             <td  width="100" onclick="changeContent(3)">
> >                     Button 3
> >             </td>
> >     <tr>
> > 
> >     <!--- content --->
> >     <tr>
> >             <td vAlign="top" colspan="3" width="300" height="300">
> >                     <div id="contentArea" style="height : 300; width :
> > 300; overflow : auto;padding-left : 1px;padding-right : 2px; padding-left
> :
> > 2px;">
> >                             Starting content goes here
> >                     </div>
> >             </td>
> >     </tr>
> > <table>
> > 
> > -----Original Message-----
> > From: FlashGuy [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 20, 2003 1:40 PM
> > To: CF-Community
> > Subject: Re: Using <div> ... <span>??
> > 
> > 
> > I don't think it does what I want it to. I looked at the code and there
> are
> > no <div> <iframes> or <span>
> > 
> > 
> > On Thu, 20 Mar 2003 13:14:08 -0500, SMR wrote:
> > 
> > > www.simplemessageboard.com has a sample of this.. download their "admin"
> > > module
> > > 
> > > ----- Original Message -----
> > > From: "FlashGuy" <[EMAIL PROTECTED]>
> > > To: "CF-Community" <[EMAIL PROTECTED]>
> > > Sent: Thursday, March 20, 2003 1:06 PM
> > > Subject: Re: Using <div> ... <span>??
> > > 
> > > 
> > > > Hi,
> > > >
> > > > How can I create a window within my form that would allow me to toggle
> > > between tabs displaying different content in each window?
> > > >
> > > > Like...
> > > >
> > > >
> > > > -------------------------------
> > > > |      Tab 1      |     Tab 2     |
> > > >
> > > > 
> > > 
> > 
> > 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to