Yes just considering that the dialog_start would be
the beginning part of your tabel then your inputs are
within that table elements itself.

Then you will need to close your tables thus I am 
assuming that is the reason for the dialog_end



>>> [EMAIL PROTECTED] 03/11/03 07:25AM >>>
OK...so I don't have to do anything "fancy". Just cut my code below
into two files. Like so:

<CFMODULE TEMPLATE="../CustomTags/dialog_start.cfm" TEXT="Whatever you
want to say" BXHEIGHT="100" BEWIDTH="200">
<input...
<input...
<input...
<CFMODULE TEMPLATE="../CustomTags/dialog_end.cfm">


??


On Tue, 11 Mar 2003 07:20:11 -0500, Randell B Adkins wrote:

> Sure.
> 
> You can call the CustomTag such as CF_MyTag or using CFModule:
> 
> CustomTag:
> <CF_MyTag Text="Whatever you want to say" bxheight=100 bxwidth=200>
> 
> CFMODULE TEMPLATE="../CustomTags/MyTag.cfm" TEXT="Whatever you want
to
> say" BXHEIGHT="100" BEWIDTH="200">
> 
> Just remember now in your custom tag that the values of TEXT,
BXHEIGHT
> and BXWIDTH should be
> referenced in the ATTRIBUTE Scope:
> ATTRIBUTE.TEXT
> ATTRIBUTE.BXHEIGHT
> ATTRIBUTE.BXWIDTH
> 
> The good thing about CFModule is the tag can reside anywhere.
> Using the CF_MyTag  approach, the tag must be in the custom tags
> directory
> specified in CF Administator.
> 
> 
> 
> >>> [EMAIL PROTECTED] 03/11/03 06:56AM >>>
> Hi,
> 
> I have a box that I created that appears multiple times in my
template.
> The only thing that gets modified is the text and the width in
pixels
> based on ths ize on my <input> box.
> 
> Is it possible to create a custom tag where I can enter in only the
> text and width measurements? For examle:
> 
> <dialog text="Date Created" width="156">
> <input ....
> <input ....
> <input ....
> </dialog>
> 
> The above would draw a box around the <input tags and insert the
text
> appropriately. Below is the code I current;y use.
> 
> 
> <!--- Start Date Created Box --->
> <table border="0" cellpadding="12" cellspacing="0" width="156">
>   <tr>
>     <td>
>       <table border="0" cellpadding="0" cellspacing="0">
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>tbxl.gif"
width="2"
> height="17" border="0"></td>
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>tbxm.gif"
width="12"
> height="17" border="0"></td>
>           <td class="dialoghead">&nbsp;Date&nbsp;Created&nbsp;</td>
>           <td width="156"><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>tbxm.gif"
width="100%"
> height="17" border="0"></td>
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>tbxr.gif"
width="2"
> height="17" border="0"></td>
>         </tr>
>         <tr>
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>mbxl.gif"
width="2"
> height="100%" border="0"></td>
>           <td colspan="3" width="100%" height="100%">
>             <table border="0" cellpadding="8" cellspacing="0">
>               <tr>
>                 <td class="binputtype">
>                               <input type="hidden" name="theTime"
> value="#now()#">
>                               <cfoutput>
>                               <input type="text" name="theTime"
> value="&nbsp;#DateFormat(todayDate, "dddd, mmmm dd, yyyy")#"
size="30"
> class="inputfield" READONLY>
>                               </cfoutput>
>                               </td>
>               </tr>
>             </table>
>           </td>
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>mbxr.gif"
width="2"
> height="100%" border="0"></td>
>         </tr>
>         <tr>
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>bbxl.gif"
width="2"
> height="2" border="0"></td>
>           <td colspan="3"><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>mbxb.gif"
width="100%"
> height="2" border="0"></td>
>           <td><img
> src="<cfoutput>#Request.App.image_root#</cfoutput>bbxr.gif"
width="2"
> height="2" border="0"></td>
>         </tr>
>       </table>
>     </td>
>   </tr>
> </table>
> <!--- End Date Created Box --->
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------
> Colonel Nathan R. Jessop
> Commanding Officer
> Marine Ground Forces
> Guatanamo Bay, Cuba
> ---------------------------------------------------
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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

Reply via email to