HTML - Link Back Dilemma
I guess I'm technically a noob. I've only half heartedly plied my feeble html skills for about 12 years. Right, well, a site I am working on has a rather long index page and several times along it there is a link to another page. They are all links to the same page and what I desire to do is allow my visitors to click on a link on that second page that will take them back to the same spot they were at on the index page. I know it's what the browser's back button does but I want to really "dumb it down" for the visitors. I can't seem to get the code and it's probably something so simple I'll kick myself, or... I'm just asking for something that can't be done
What am I missing? (besides a few marbles) Cheers, +Nathan Similar TutorialsHi, 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, 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 Hello Guys, I use Named Anchor to navigate within my webpage. Is there any way how one can navigate back to the clicked link from the destination? Normally the backspace works. But I would like to add a link at the destination and clicking this link would take me back to the clicked-link. Is this possible? I hope I made myself clear. If any of you can give me some advise about this issue, it would be much appreciated. Thanks in advance, Chuma P.S - I read in a site that using the <li> tag can do this. I am unsure how that works either. If any of you have any idea about this, please let me know. Thanks. I have a directory with thousands of links. I want to start exceeding 100/links/page, which would put me in "link farm" territory with Google. I want the links to remain live. The site is a directory. How can I establish my site, or code it, so that I won't get into trouble? Thanks very much for your help! Bengo Hello everyone. I hope someone here can help me, or at least tell me what I need to do can't be done! Here is my situation: I have a .war file that calls an index.html file from a shared directory. That works great, but unfortunately the c: drive on my server is running low on space, so the server admin wants my shared directories to be moved to the d: drive. I have modified the index.html file on the c: drive being accessed by my .war file to load another index.html file on the d: drive, but it is not working. I have tried <BODY onLoad="document.location.href='d:\index.html'"> and <SCRIPT LANGUAGE="JavaScript"><!-- function go_now () { location.href = "D:/index.html"; }//--> </SCRIPT></HEAD> <BODY onLoad="go_now ()"> Any ideas? Thanks! here is the story.. i have a form, after the user fills the form an email will be sent containing the user input to send the email, at the end of the form i used <input type="submit" ...> and the action of the form is "mailto:bla bla" now the problem is, i want to put an image instead of the submit button, if there is no submit button there is no form action, how can i send the email ??? i know two ways to send an email, in the action of a form & in the href of a link tag, is there another way to do that?? really appreciated 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 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 i was wondering what the code is for hypserlinking text to go to a certain part of a page 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 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 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 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. I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. 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. 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> Good morning world...I've got a problem. I work for a college updating web sites, and I don't have access to anything in the CSS that they setup before me (my administrators won't let me touch it), and I know very little of jQuery and javascript. To the point though, I want to add a "back to top" button that hovers around the bottom corner of the browser. Can I do it without being able to access the CSS that the college uses as its base? (I guess using HTML and HTML only)? 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 <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 |