Is there any way where onClick the history is not saved --- Dan Powderhill <[EMAIL PROTECTED]> wrote:
> Add it to the onClick event of the links to show and > hide the text? > > > > Dan > > www.diado.com > > > > ________________________________ > > From: neeraj gupta [mailto:[EMAIL PROTECTED] > Sent: 12 October 2004 09:41 > To: [EMAIL PROTECTED] > Subject: [AspClassicAnyQuestionIsOk] Plz Help me the > show/Hide problem > > > > 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_NA > ME"))%>?<%=strQueryString%>&show=1&LOADREQ=1');"><img > border="0" > src="<%=Request.Cookies("SITEART")%>/showdetails.gif"></a> <b>Show > page details</b> > > <% } else { %> > > > <a > href="javascript:goNextPage('<%=FormName%>','<%=getScript(Request.Server > Variables("SCRIPT_NAME"))%>?<%=strQueryString%>&show=1&LOADREQ=1');"><im > g > border="0" > src="<%=Request.Cookies("SITEART")%>/showdetails.gif"></a> <b>Show > page details</b> > > <% } > > }else{ > > if(IsNull(FormName)) { %> > > <a > href="javascript:goNext('<%=getScript(Request.ServerVariables("SCRIPT_NA > ME"))%>?<%=strQueryString%>&show=0&LOADREQ=1');"><img > border="0" > src="<%=Request.Cookies("SITEART")%>/hidedetails.gif"></a> <b>Hide > page details</b> > > <% } else { %> > > > <a > href="javascript:goNextPage('<%=FormName%>','<%=getScript(Request.Server > Variables("SCRIPT_NAME"))%>?<%=strQueryString%>&show=0&LOADREQ=1');"><im > g > border="0" > src="<%=Request.Cookies("SITEART")%>/hidedetails.gif"></a> <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 > > ADVERTISEMENT > click here > <http://us.ard.yahoo.com/SIG=1295g0d4l/M=294855.5468653.6549235.3001176/ > D=groups/S=1705006764:HM/EXP=1097656876/A=2376776/R=0/SIG=11ldm1jvc/*htt > p:/promotions.yahoo.com/ydomains2004/index.html> > > > <http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=group > s/S=:HM/A=2376776/rand=855757323> > > > > ________________________________ > > 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] > <mailto:[EMAIL PROTECTED] > subscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! > Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > === message truncated === ===== 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 --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/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/
