HTML - How To 'go Back' To Previous Web Page Upon Log Out?
Yes, I searched, found nothing---
I have a pretty basic Forum. Users must log in to the Forum - from inside the Forum they can log in to their email accounts - it is seamless, it appears to the user that they are still in the Forum site, but they are actually in a different site--- The email client has a 'log out' button - I have code that will return the user to my forum: <script type="text/javascript"> <!-- document.location.href = "http://www.Your_Home_page/"; //--> </script> BUT, this doesn't work for me because it returns the user to the forum HOME PAGE, and they must log in again. In the same situation, if the user logs into the email client, and then rather than clicking on the 'Log Out' button, they hit the browser 'Back' button, it takes them straight back to the forum, without the need to log back in-- I would like to have code behind the 'Log Out' button that will do the same, take them straight back to the forum, not just log them out of the email client. make sense??? Thanks very much for your help!! Similar TutorialsSome mouses today have horizontal scroll, some call the tilt. It looks something like: http://www.htmlforums.com/attachment...1&d=1242556560 I noticed that many websites they code those horizontal scroll to go to next/prevous page. For example Discuz! forum system has this function. While you browse hundreds or thousands of posts separated into pages, the horizontal scroll can take you to previous page or next page.(not browser back/forward) How do I code like that? Or any examples? Not even sure what to call this actually... I received this message from a friend whose site I just put up. ---------------------------- When you click on say the Home Page, and then you click on something else then go back to the prvious page, it apparently displays the previous page on the home page for example. I was not able to recreate this on my computer, but apparently, [another] web developer said this is a fairly common problem. Do you know what he is referring to, and can it be fixed? ---------------------------- Here's the site in question. Nothing fancy, just individual HTML pages. http://www.soundadviceht.com/index.html I gotta admit, I have no earthly clue what he's talking about, unless he's relaying the message wrong? Any ideas what he's talking about? Hiii experts, I am creating 2 HTML pages when click on 1st page hyperlink, we will go to 2nd page 2nd page contains an image. when clicking on image i want to go to 1st page with new content and want to remove privious content. also when 2nd page open 1st page is visible but when cliking on image , new content should be visible on 1st page. please help me its urgent!! Hey guys, so right now i have a page that has some basic info and i have added a text box so the user can enter his/her name and a text box where they can enter in comments after hitting the submit button i want to post back the data the user entered into the text boxes to the SAME PAGE (indexJS.html) Right now after the user hits submit the page reloads but the data never is displayed. Can someone please tell me what i am leaving out or doing wrong Here is my code: Code: <html> <head> <title>My Page</title> <link rel="stylesheet" href="one.css" type="text/css"> <script src="tricks.js"></script> </head> <body> <div id="section2"> <h2>Add some comments</h2> <form action="indexJS.html" method="POST" id="eventform"> <table> <tr> <td class="name">Name:</td> <td> <input type="text" name="name" id="name"/> </td> </tr> <tr> <td class="label">Comment:</td> <td> <textarea name="comment" id="comment"></textarea> </td> </tr> <tr> <td> <input type="Submit" value="Submit button"/> </td> </tr> </table> </form> </div> <?php if( $_POST ) { ?> <ul> <?php foreach ($_POST as $k ) { ?> <li><?php=$k?> <?php } } ?> </body> </html> Hi, Is it possible in HTML to have a link that takes you back to the previous page you visited. But here's the catch....i want the back link on my pages to behave exactly as the BACK button in Internet Explorer (hope that makes sense). I have a link on my pages which is this: <font size="2"><a href="javascript: window.history.go(-1)">BACK</a></font> but this works in such a way that if you go to Page1, then Page2, then Page 3, then you click on BACK in page3...that takes you to Page2...if you then click on the BACK link on Page2, it takes you back to Page 3...when in fact I want it to go to Page 1.... Please urgently help. Thanks Hi all, I have a form with 4 pages, there are few checkbox in the 2nd page. The problem here is when the user fills in the 2nd form and moves on to the 3rd form, and in case if he comes back to the 2nd form using the back button on the browser, then how can i automatically check the checkboxes the user has already checked in the 2nd page of the form. Thanks James NT Hello, I dont know if someone had the same problems, but it seem to me that it is quite common. For a service I would offer my visitors to log in or register... Then after registering or logging in I would like to direct them back to the page where they had been diverted from. And the number of steps and the page are not always the same. Is there a way to "remember" the page name when click on register or login and at the end of the reg/log process go back there? Thanks Attila I have just started playing around with AJAX, and made a simple input text field that continuously suggests pages as the user types into the textfield. However, in most browsers, the browser also tries to do something similar, by displaying a list of similar queries for any input with the same name attribute... I end up with two lists of suggestions :-) Is there a way to prevent the browser suggestions from turning up? Robert Hi, I am trying to make a search form with textboxes and dropdowns. There are 3 options on the page however if on the third option that is a dropdown, i select number 3, another dropdown option is given. hope that makes sense please could someone point me in the right direction thanks I have another question. If you look at my main page he http://www.bestsellersworld.com On the section called "What's New", I have a book cover called "Should Old Acquaintance Be Dead". I would like to move that cover more over to the right. I have align="right" but it does not move over. How can I do that? Thanks. Hi i was wondering what the code is for hypserlinking text to go to a certain part of a page thanks I am programming a site and i am having a pag with thousnds of things on it, literally, so i want to have a bar up at the top that says "G" and it will take you down to the beginning of section "G" and then a back to top section. here is the site, it is very, very unfinished. Hi guys I would like to use "back" button like this: Code: <form> <input type=button value="Back" onCLick="history.back()"> </form> Can I replace this button with my own designed button? How can I do that? Hi, My client wants me to add a back to top link within a CSS scrollerble area. I can't seem to get it to work??!! Please check this out in i.e first as I haven't sorted it out in Firefox and safari yet. Link is here/ Many thanks, Louise Hi everybody. Can someone come up with code that will give me the same back function that Internet Explorer has at the top of their page ? Thanks Launchnet Hi there, Hope someone can help me out! i got a page that i am working on , and i have a frame in it which the links on the side of the page displays the contents of that link inside the frame box, now these links run from top to bottom of the page, which extend farther down than the frame box, i need a code that will bring the index page to the top of the page, but also open the frame of that link also, what i have is : <td width="150" height="20"><a href="toys.html" target="MainFrm">◊Toys and Games</a> this opens the toys.html in the frame but since this is the last link on the left side it is far down the page, and when you click it you dont even see that the frame changed, is there a way to place a code somewhere so that when someone clicks on it , it will actually bring the index page up to the top. so that the person can see the frame on top ? page is : http://www.busybeeretail.com/test thanks, Elaine I got into this about 5/6 years ago when I had to design a basic site for school so taught myself some CSS, we were using dreamweaver. I've been wanting to get back into it recently and was just wondering best way to do this? I was thinking about experimenting with maybe wordpress or another CMS. I'd like to get back into a bit of photoshop or fireworks as well not sure where I'll find the time but eventually maybe. Any suggestions would be much appreciated. <a href="javascript: history.go(-1)">Back</a> this does - on click go back to previous page right.. can you tell me equivalen code to go back automatically.. i.e. with a possible time delay thank you I am looking for a back button but there is a catch. I want to send an email newsletter, the newsletter will link to articles on a website. I want a back button that will return the user to the Outlook email they clicked from. Any suggestions? Thanks Brian Im using google analytics, just discovered it.. loving it. It gave me something to think about. My site.. it hasnt been tested with a Mac/safari browser.. now ive no idea why but i think it doesnt show up properly; that explains the bounce block part. So, could someone tell me how to code for safari? I tried googling but that lead to little.. and the old link generators 'see your site throught the eyes of a mac" are all long gone.. thank you for reading. |