if(gNoMenu==false && pageID!=-10 && IsPrint==0) {       
                                                        
if(Application("HIDESHOWDETAILSTOGGLE")==1) {           
                                                                                       
                                         
                                                                var isPagedetails =
parseInt(ctCom1.getUserinfo(PID,"PAGEDETAILS"));
                                                                
if(isNaN(isPagedetails)) isPagedetails =1;
                                                                var strQueryString = 
new
String(Request.QueryString);
                                                                
if(IsNull(strQueryString)) strQueryString =
"1=1";
                                                                else {
                                                                        strQueryString 
=
strQueryString.replace(/&show=0/gi,"");
                                                                        strQueryString 
=
strQueryString.replace(/&show=1/gi,"");
                                                                        strQueryString 
=
strQueryString.replace(/&LOADREQ=1/gi,"");
                                                                        strQueryString 
= urldecode(strQueryString);
                                                                        strQueryString 
=
strQueryString.replace(/'/gi,"\\'");                                                   
                 
                                                                }
                                                                if(isPagedetails == 0){
                                                                        
if(IsNull(FormName)) { %>
                                                                                <a
href="javascript:goNext('<%=getScript(Request.ServerVariables("SCRIPT_NAME"))%>?<%=strQueryString%>&show=1&LOADREQ=1');"><img
border="0"
src="<%=Request.Cookies("SITEART")%>/showdetails.gif"></a>&nbsp;<b>Show
page details</b>
                                                                        <% } else { %> 
                                                                 
                                                                                <a
href="javascript:goNextPage('<%=FormName%>','<%=getScript(Request.ServerVariables("SCRIPT_NAME"))%>?<%=strQueryString%>&show=1&LOADREQ=1');"><img
border="0"
src="<%=Request.Cookies("SITEART")%>/showdetails.gif"></a>&nbsp;<b>Show
page details</b>
                                                                        <% } 
                                                                }else{
                                                                        
if(IsNull(FormName)) { %>
                                                                                <a
href="javascript:goNext('<%=getScript(Request.ServerVariables("SCRIPT_NAME"))%>?<%=strQueryString%>&show=0&LOADREQ=1');"><img
border="0"
src="<%=Request.Cookies("SITEART")%>/hidedetails.gif"></a>&nbsp;<b>Hide
page details</b>
                                                                        <% } else { %> 
                                                                 
                                                                                <a
href="javascript:goNextPage('<%=FormName%>','<%=getScript(Request.ServerVariables("SCRIPT_NAME"))%>?<%=strQueryString%>&show=0&LOADREQ=1');"><img
border="0"
src="<%=Request.Cookies("SITEART")%>/hidedetails.gif"></a>&nbsp;<b>Hide
page details</b>                                                                       
         
                                                                        <% } %>
                                                                        <BR>
                                                                        <BR>    
                                                                        <%             
                                         
                                                                        
if(pageText!="" && !IsNull(pageText)){ 
                                                                                
pageText=pageText.replace(/\x0a/gi,"<br>");     
                                                                
                                                                        }              
 
                                                                        
Response.Write(pageText);                                                       
                                                                }                      
                                         
                                                        }
                                                }               







HIDESHOWDETAILSTOGGLE == means a toggle setting which
shows the links on the all the pages if =1
LOADREQ = used to execute database queries
goNext() = a function written to execute the page
given in quotes.



now i have the sam doubt how do i add the javascript
which u gave

=====
Neeraj Gupta 
software trainee 
Kenexa Technologies 
3rd FLOOR UMA AISHWARYA HOUSE 
HYDERABAD 500062
email: [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to