Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
HTML
Hiding part of table dynamically with javascript - IE6 does notsupport div inside table.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jc, post: 3890872"] SharePoint designer warns me that IE6 does not support a DIV inside a Table. I need to be able to hide a big chunk of an HTML Table. If that chunck were under a DIV and had an ID, could hide the DIV with javascipt based on some other control we will check. Also, for some reason I can't seem to shrink the left column of a table. The table is automatically generated by SharePoint designer. I'm looking at the code, the stylesheet and the data int he cells and I don't see why. At the top of the left column is the text . Hospital The style sheet don't have anything special in them. Just a width and valign. Thanks for any help or information. <table border="0" width="100%"> <xsl:call-template name="dvt_1.body"> <xsl:with-param name="Rows" select="$Rows"/> </xsl:call-template> </table> </xsl:template> <xsl:template name="dvt_1.body"> <xsl:param name="Rows"/> <tr> <td class="ms-toolbar" nowrap=""> <table> <tr> <td width="99%" class="ms-toolbar" nowrap=""><IMG SRC="/_layouts/ images/blank.gif" width="1" height="18"/></td> <td class="ms-toolbar" nowrap=""> <SharePoint:SaveButton runat="server" ControlMode="New" id="savebutton1"/> </td> <td class="ms-separator"> </td> <td class="ms-toolbar" nowrap="" align="right"> <SharePoint:GoBackButton runat="server" ControlMode="New" id="gobackbutton1"/> </td> </tr> </table> </td> </tr> <tr> <td class="ms-toolbar" nowrap="" style="height: 28px"> <SharePoint:FormToolBar runat="server" ControlMode="New"/> </td> </tr> <xsl:call-template name="dvt_1.rowedit"> <xsl:with-param name="Pos" select="concat('_', position ())" /> </xsl:call-template> <tr> <td class="ms-toolbar" nowrap=""> <table> <tr> <td width="99%" class="ms-toolbar" nowrap=""><IMG SRC="/_layouts/ images/blank.gif" width="1" height="18"/></td> <td class="ms-toolbar" nowrap=""> <SharePoint:SaveButton runat="server" ControlMode="New" id="savebutton2"/> </td> <td class="ms-separator"> </td> <td class="ms-toolbar" nowrap="" align="right"> <SharePoint:GoBackButton runat="server" ControlMode="New" id="gobackbutton2"/> </td> </tr> </table> </td> </tr> </xsl:template> <xsl:template name="dvt_1.rowedit"> <xsl:param name="Pos" /> <tr> <td> <table border="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="style1" style="width: 205px"> <H3 class="ms-standardheader"> <nobr>Hospital<span class="ms-formvalidation"> *</span> </nobr> </H3> </td> <td width="400px" valign="top" class="ms-formbody"> <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="New" FieldName="Hospital" __designer:bind="{ddwrt:DataBind ('i',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims (string(@ID)),'@Hospital')}"/> <SharePoint:FieldDescription runat="server" id="ff1description {$Pos}" FieldName="Hospital" ControlMode="New"/> </td> </tr> .... Table continues. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
HTML
Hiding part of table dynamically with javascript - IE6 does notsupport div inside table.
Top