|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Code helpthree sections combined into one web page I have a side page, a banner page and then the main page all formatted as one page. Now the question is on the main page I have hoover buttons which are hyperlinks to a page so that page opens in the main page frame. I have back and return buttons defined on the hyperlink pages when they hit back it takes them back to the main page frame no problem It is the return that is not working properly for me. the return has http://www.tomtest.com but what it does it bring up www.tomtest.com in the main page frame leaving the side page and the banner on the screen Is there any asp function that will clear the frame to go back to a site in full view? My code is in asp that was designed under front page here is the code I am using </head> <body> <form> <p align="center"> <input type="button" value="Print" Onclick="print()" ;> <input type="button" value="BACK!"onClick="history.back();"> <input type=button value="Return" onClick="goToURL()"></form> </p> </form> </body> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function goToURL() { window.location = "http://www.tomtest.com"; } // End --> </script> </HEAD> <BODY> </html> any ideas or thoughts? Thanks Tom
http://www.tomtest.com opens http://www.tomtest.com/voice-over/index.html so
something tells me you have a redirect and I can't see any frames in the latter Show quoteHide quote "Thomas R Grassi Jr" <thomasgra***@hotmail.com> wrote in message news:%23X$LFU8iJHA.4028@TK2MSFTNGP02.phx.gbl... >I have a page I designed that is a cant remember the correct name but it is >three sections combined into one web page > > I have a side page, a banner page and then the main page all formatted as > one page. > > Now the question is on the main page I have hoover buttons which are > hyperlinks to a page so that page opens in the main page frame. I have > back and return buttons defined on the hyperlink pages when they hit back > it takes them back to the main page frame no problem > It is the return that is not working properly for me. > > the return has http://www.tomtest.com but what it does it bring up > www.tomtest.com in the main page frame leaving the side page and the > banner on the screen > > Is there any asp function that will clear the frame to go back to a site > in full view? > > My code is in asp that was designed under front page > > here is the code I am using > > </head> > <body> > <form> > <p align="center"> > <input type="button" value="Print" Onclick="print()" ;> <input > type="button" value="BACK!"onClick="history.back();"> > <input type=button value="Return" onClick="goToURL()"></form> > </p> > </form> > </body> > <HEAD> > <SCRIPT LANGUAGE="JavaScript"> > <!-- Begin > function goToURL() { window.location = "http://www.tomtest.com"; } > // End --> > </script> > </HEAD> > <BODY> > > </html> > > > any ideas or thoughts? > > Thanks > > Tom > Trevor
I was not posting the actual site names because my site is not available for access yet. Waiting on DNS updates The Java code in my asp page has the return button defined. I am looking for some code that will bring the user back to the home page when they click return button Any ideas or help I will greatly appreciate it Thanks Tom Show quoteHide quote "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:OXFCRL9iJHA.2516@TK2MSFTNGP05.phx.gbl... > http://www.tomtest.com opens http://www.tomtest.com/voice-over/index.html > so something tells me you have a redirect and I can't see any frames in > the latter > > -- > Trevor Lawrence > Canberra > Web Site http://trevorl.mvps.org > > "Thomas R Grassi Jr" <thomasgra***@hotmail.com> wrote in message > news:%23X$LFU8iJHA.4028@TK2MSFTNGP02.phx.gbl... >>I have a page I designed that is a cant remember the correct name but it >>is three sections combined into one web page >> >> I have a side page, a banner page and then the main page all formatted as >> one page. >> >> Now the question is on the main page I have hoover buttons which are >> hyperlinks to a page so that page opens in the main page frame. I have >> back and return buttons defined on the hyperlink pages when they hit back >> it takes them back to the main page frame no problem >> It is the return that is not working properly for me. >> >> the return has http://www.tomtest.com but what it does it bring up >> www.tomtest.com in the main page frame leaving the side page and the >> banner on the screen >> >> Is there any asp function that will clear the frame to go back to a site >> in full view? >> >> My code is in asp that was designed under front page >> >> here is the code I am using >> >> </head> >> <body> >> <form> >> <p align="center"> >> <input type="button" value="Print" Onclick="print()" ;> <input >> type="button" value="BACK!"onClick="history.back();"> >> <input type=button value="Return" onClick="goToURL()"></form> >> </p> >> </form> >> </body> >> <HEAD> >> <SCRIPT LANGUAGE="JavaScript"> >> <!-- Begin >> function goToURL() { window.location = "http://www.tomtest.com"; } >> // End --> >> </script> >> </HEAD> >> <BODY> >> >> </html> >> >> >> any ideas or thoughts? >> >> Thanks >> >> Tom >> > > > 1) They is nothing in your code to indicate any ASP
- ASP is server side code processed before the page is rendered by the browser (so it can't be used to process a user selection in a page) 2) Your Html is malformed and used Javascript , not Java It should be <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function goToURL() { window.location = "http://www.tomtest.com"; } // End --> </script> </HEAD> <body> <form> <p align="center"> <input type="button" value="Print" Onclick="print()" ;> <input type="button" value="BACK!" onClick="history.back();"> <input type=button value="Return" onClick="goToURL()"></form> </p> </form> </body> </html> -- Show quoteHide quote_____________________________________________ SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] "Warning - Using the F1 Key will not break anything!" (-; _____________________________________________ "Thomas R Grassi Jr" <thomasgra***@hotmail.com> wrote in message news:%23X$LFU8iJHA.4028@TK2MSFTNGP02.phx.gbl... |I have a page I designed that is a cant remember the correct name but it is | three sections combined into one web page | | I have a side page, a banner page and then the main page all formatted as | one page. | | Now the question is on the main page I have hoover buttons which are | hyperlinks to a page so that page opens in the main page frame. I have back | and return buttons defined on the hyperlink pages when they hit back it | takes them back to the main page frame no problem | It is the return that is not working properly for me. | | the return has http://www.tomtest.com but what it does it bring up | www.tomtest.com in the main page frame leaving the side page and the banner | on the screen | | Is there any asp function that will clear the frame to go back to a site in | full view? | | My code is in asp that was designed under front page | | here is the code I am using | | </head> | <body> | <form> | <p align="center"> | <input type="button" value="Print" Onclick="print()" ;> <input type="button" | value="BACK!"onClick="history.back();"> | <input type=button value="Return" onClick="goToURL()"></form> | </p> | </form> | </body> | <HEAD> | <SCRIPT LANGUAGE="JavaScript"> | <!-- Begin | function goToURL() { window.location = "http://www.tomtest.com"; } | // End --> | </script> | </HEAD> | <BODY> | | </html> | | | any ideas or thoughts? | | Thanks | | Tom | |
Other interesting topics
|
|||||||||||||||||||||||