I have a page that checks for the browser type and then diplays either 1. <div>'s for microsoft 2. <layer>'s for netscape for 1 everything is cool. the divs expand and collapse, however, for 2 they just show up and disappear. How can I get the layers to expand and collapse like divs? example of netscape code... function ShowHide_WaitList () { if (document.layers.WaitList.visibility == "hide") { document.layers.WaitList.visibility = "inherit"; } else { document.layers.WaitList.visibility = "hide"; } } <tr> <th width="100%" align="left"> <form> <input type="button" name="WaitList" value="Show/Hide Waiting List" onclick="javascript:ShowHide_WaitList()"> </form> </th> </TR> <ilayer id="WaitList" visibility="hide" z-index="7"> <TR> <td width="100%"> <TABLE width="100%" align="center" border="0"> <cfif IsDefined("list_wait")> <tr> <th>Term</th> <th>Department</th> <th>Course</th> <th>Section</th> <th>Description</th> </tr> <cfset bgcolor6=""> <cfoutput query="sr_wait_list"> <cfif bgcolor6 is "#RowColor2#"> <cfset bgcolor6 = "#RowColor1#"> <cfelse> <cfset bgcolor6 = "#RowColor2#"> </cfif> <tr bgcolor="#bgcolor6#"> <td>#term_id#</td> <td>#dept_id#</td> <td>#crse_id#</td> <td>#sect_id#</td> <td>#descr_label#</td> </tr> <cfset list_wait=1> </cfoutput> <cfelse> <tr align="center"> <td colspan="5"> Not on the Wait List for any future courses. </td> </tr> </cfif> </table> </td> </tr> </ilayer> Thanks, Steven D Dworman ------------------------------------------------------------------------- Web Consultant Systems Administrator ComSpec International - http://www.comspec-intnl.com phone: 248.647.8841 cell: 734.972.9676 ------------------------------------------------------------------------- EMPOWER-XL ***Software for Higher Education*** http://www.empower-xl.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists