Good Morning People
I am trying to re-write some pages. I currently have a Insert, edit and delete on same page in different layers. I have decided to make them all seperate pages but have them to feed through an Iframe. My problem is I have a statement that show different layers if the recordset is empty. I want to change this where it will display my Insert page instead of the insert layer. I do not know what the proper or where to place the code. You will notice that I took out the insert layer show. I just do not know where to put or the code to reference the insert page. Please advise.
<body onload=javascript:<%If Recordset1.EOF and Recordset1.BOF then%>MM_showHideLayers('laySelect','','hide','layUpdate','','hide')<%else%>;MM_showHideLayers('laySelect','','show','layUpdate','','hide','layInsert','','hide')<%end if%>;MM_preloadImages('Templates/RecordNavBar/first_sunken.gif','Templates/RecordNavBar/last_sunken.gif','Templates/RecordNavBar/previous_sunken.gif','Templates/RecordNavBar/next_sunken.gif')>
<div id="laySelect" style="position:absolute; left:25px; top:25px; width:509px; height:340px; z-index:3; visibility: visible;">
I am trying to re-write some pages. I currently have a Insert, edit and delete on same page in different layers. I have decided to make them all seperate pages but have them to feed through an Iframe. My problem is I have a statement that show different layers if the recordset is empty. I want to change this where it will display my Insert page instead of the insert layer. I do not know what the proper or where to place the code. You will notice that I took out the insert layer show. I just do not know where to put or the code to reference the insert page. Please advise.
<body onload=javascript:<%If Recordset1.EOF and Recordset1.BOF then%>MM_showHideLayers('laySelect','','hide','layUpdate','','hide')<%else%>;MM_showHideLayers('laySelect','','show','layUpdate','','hide','layInsert','','hide')<%end if%>;MM_preloadImages('Templates/RecordNavBar/first_sunken.gif','Templates/RecordNavBar/last_sunken.gif','Templates/RecordNavBar/previous_sunken.gif','Templates/RecordNavBar/next_sunken.gif')>
<div id="laySelect" style="position:absolute; left:25px; top:25px; width:509px; height:340px; z-index:3; visibility: visible;">