HTML - Back (and Forward) Toolbar Button Help
Hi there,
I'm coding a html website with two frames (one top, one bottom). From the homepage, when the user clicks a link, both the top and the frame the link's in change. when my user is on that new page and click the back button in the toolbar, only the top frame (title) changes, but not the bottom one. So, for the 2nd page, I need a way to make the toolbar's back button move the viewer two steps instead of one. Is that possible? thank you, RandomNameHTML Similar TutorialsHi All, I am writing with a question. When you leave a website from a link and then hit the back button to revisit the original webpage how do you get the original webpage to not reload? THe original webpage should not refresh unless you hit the refresh button... I thought by default it would not. Does this make sense?? Any ideas? can someone provide me with a working html code for my blogspot so that i can go back and go forward pages ): ive tried like a dozen if not more codes but not one of them work the 'go back' thing shows up but it doesnt actually work help please 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 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 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? 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'm currently building a website for my jewelry and I have run into a simple, but aggravating problem. Should I include a back button? A back button would be the same a clicking on home, but are my visitors going to to know that? This is what it would look like with out a back button: http://i91.photobucket.com/albums/k3...backbutton.gif This is what it would look like with the back button: http://i91.photobucket.com/albums/k3...backbutton.gif 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 Hi I want to be able to turn the image that reads 'back' on the page below into a "back button" that automatically makes the browser go back a page, just like the back button within the browser. How do i do this? http://www.richardjohntaylor.com/bil...hotoerror.html I am building this intranet for our employees at work. I am not a programmer, nor anykind of web professional, and I'm building this as an amateur. I have very basic knowledge of HTML and a bit of CSS, and that's pretty much it. Once the thing is ready to be released, it will have to be updated on a regular basis, and by people whose background and function have nothing to do with scripting (in fact, I cannot take care of it myself all the time since I'm leaving for Europe soon). Therefore, I resigned to using MS Word 2007 as the html editor, since it's the only software anyone can usen here to update the files without having to learn how to code (I haven't found any freeware that didn't require prior html knowledge and the company will not pay for a software liscence of any kind). I know MS word is basically the worst thing one can use to build a website, but I couldn't find any better for this scenario. Now I'm encountering a bit of a problem with the website, specifically with frames. The website (which is a frameset) is divided in two sections: a menu on the left (frame_menu), which is static should remain there all the time, and a frame to the right (frame_main) displaying the pages contents. Now, when a user clicks on a link in frame_menu, the content (page A) displays in frame_main, which is what I want. Then if someone clicks on a link in the page A in frame_main that links to another page (page B), it will open gain in frame_main, replacing the page A that was there. So far, this is the behavior I want, and the frame properties were set for this. The problem comes when the back button is used. If you are on page B, and then click the back button, you will come back to page A, in frame_main (so far still good), but any subsequent link the user will click after using the back button, whether it's a link in frame_menu or frame_main, will open in a new window, even though the default for opening links of the frame is set to frame_main as the target! This renders the frameset completely useless, and the whole frameset has to be closed and reloaded to function properly again. I know frames are deprecated. The only alternative I have found was to use CSS to simulate frames. However, from what I have read (and tell me if I am mistaken), it only simulates the fact that you have a "fixed" menu on every page, but the menu is NOT a separate html file, and has to be part of every page on the website. This makes the updating of the menu very tedious, as it has to be changed on every page of the website, were an item to be added to it. This is why I used frames to begin with: no need to update every page to add something to your menu, just update the menu.html file and voila. So I would like to know if you have any workaround for this problem. Any suggestion is appreciated. This was all tested with IE8. It's the only browser provided to the employees, I cannot use another one. This is part of the code (generated by MS Word of course) that contains the frametset <frameset framespacing=0 frameborder=0 border=0 cols="215,1*"> <frame name="frame_menu" src="file:///\\sv050\GROUPS\AGT\AGT-CDS\AGT-CDS-CR\helper\html\menu.htm" scrolling=no> <frame name="frame_main" src="file:///\\sv050\GROUPS\AGT\AGT-CDS\AGT-CDS-CR\helper\html\home.htm"> <noframes> <body lang=EN-US style='tab-interval:36.0pt'> <div class=WordSection1> <p class=MsoNormal style='margin-bottom:10.0pt;line-height:115%'><span style='font-size:11.0pt;line-height:115%'>This page uses frames, but your browser doesn't support them.<o:p></o:p></span></p> </div> </body> </noframes> </frameset> If the entire script of the frameset.html is needed, tell me and I'll post it. Thanks in advance, Guill Hi, I am creating a site in HTML using Dreamweaver. I use rollover buttons to navigate the site which are normally grey but white when rolled over. I have found that when I press the BACK button the button I had previously clicked is white and not grey. Try it out for yourself: http://www.RandAM.org/RichardAsh/ Once the problematic button is rolled over it works normally. Is there a way to stop this from happening? thanks, R I have an html document (not a webpage) which I'm converting into a .pdf. I've created it before without any issue but now I'm noticing that when I click on the back button (after clicking on an internal link) that it does one of two things... It either a) returns me to the top of the document or b) takes me to some arbitrary spot in the document. Neither one being where I or my clients need to get back to. Anybody experience this or have a fix? Thanks, Hunter I have a solution with ajax where I send POST-information via <a href> like this: Code: <form name="myForm" action="GoHere.php" method="POST"> <input type="hidden" name="myVariable" value="thevalueiwanttosubmit"> <a href="GoHere.php" onclick="myForm.submit(); return false;">Click here</a> </form> There's also a paginate system with page numbers at the bottom. When I press an item I go to another page with more details. When I press the Back-button in Mozilla everything works fine, but in Explorer I start from page number 1 instead of the page I originally came from. How do I get Explorer to remember the page number? Do I have to change the javascript somehow? Hi All, I want to hide the toolbar, menubar, scrollbar and statusbar of Internet Explorer when I launch my application. Earlier I did this using Code: window.open(self.location,'mywin','width=485, height=340, location=no,menubar=no,toolbar=no,status=no,scrollbars=no'); And I was launching my application from another window hypherlink using window.open but now, I want to luanch my application directly by giving the URL in the addressbar of IE. Once the page get loaded I want the same formats to be applied like I gave in the window.open But I am not sure of acheiving that. Can anyone advise me some solutions? Thanks Suren Hi Guys, I have designed a website for a client, however some of her users have complained about the background color of the forms to be the same color as the text, which makes it impossible to read. I have traced this problem and nailed it down to being the Google ToolBar. Without the toolbar With the toolbar Here is my code: HTML Code: <form action="contact.php" method="post" onsubmit="return formCheck(this);"> <body topmargin="0" leftmargin="0" style="font-family:verdana;"> <table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/topbkg.gif"> <tr> <td width="10%"><img border="0" src="images/topleft.gif" width="154" height="137"></td> <td width="90%" background="images/topbkg.gif"><div align="center"><img src="images/title.gif"><br><br><br><br></div></td> <td width="10%" align="right"><img border="0" src="images/toplogo.gif" width="191" height="137"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="1%" background="images/sidebkg.gif" valign="top"><br> <!-- Start of Menu --> <a href="index.html"><img border="0" src="images/button_h.gif"></a><br> <a href="about.html"><img border="0" src="images/button_ab.gif"></a><br> <a href="agents.html"><img border="0" src="images/button_a.gif"></a><br> <a href="http://www.realestate.co.nz/offices/16429"><img border="0" src="images/button_l.gif"></a><br> <a href="location.html"><img border="0" src="images/button_lo.gif"></a><br> <img border="0" src="images/button_c.gif"><br> <!-- End of Menu --> <td width="99%" valign="top" style="padding: 20px;"> <div align="center"><font size="6">Contact Us</font><br><br> Use the form below for a general enquiry.<br>If you want to contact a specific agent, please check the "Agents" page.<br><br> <table width="55%" border="0" cellpadding="0" cellspacing="0" summary=""> <tr> <td align="right" bgcolor="#FCF9D0"><br>Your Full Name: </td> <td align="left" bgcolor="#FCF9D0"><br><input type="text" name="Name" style="font-family:Verdana; background-color:#004040; border-color:#FCF9D0; color:#FCF9D0;" size="30"></td> </tr> <tr> <td align="right" bgcolor="#FCF9D0">Your Phone Number: </td> <td align="left" bgcolor="#FCF9D0"><input type="text" name="Phone" style="font-family:Verdana; background-color:#004040; border-color:#FCF9D0; color:#FCF9D0;" size="30"></td> </tr> <tr> <td align="right" bgcolor="#FCF9D0">Your Email Address: </td> <td align="left" bgcolor="#FCF9D0"><input type="text" name="Email" style="font-family:Verdana; background-color:#004040; border-color:#FCF9D0; color:#FCF9D0;" size="30"></td> </tr> <tr align="center"> <td colspan="2" bgcolor="#FCF9D0" align="center"><br>Comments/Questions/Enqiries</td> </tr> <tr> <td colspan="2" bgcolor="#FCF9D0" align="center"><textarea name="Comments" style="font-family:Verdana; background-color:#004040; border:none; color:#FCF9D0;" cols="50" rows="8"></textarea><br><br></td> </tr> </table><div align="center"><br><input type="submit" value=" Email Form "> <input type="hidden" name="subject" value="Website Comment/Question"> <input type="hidden" name="sort" value="Name,Number,Email, ,Comments"> <input type="hidden" name="success_page" value="contact_d.html"> </form> </tr> Is there anyone that might be able to help me out? I am at the end of my wits with this problem, and I can't seem to knock it on the head. Thank you in advance, Lord Top Cat I am using firefox version 3.0. I want to update it but i facing one problem after updating. I want to use some google toolbar but updated version doesn't sport it. Some one help me in this problem. Hi, I've got three buttons on a page and basically all I'm trying to do is put a BACK button as one of the three. But I'm having difficulties getting it to work. Code: <form name="reservationinfo" action="reservationcollected.php" method="post"> <input type="hidden" name="reservationID" value="<? echo $reservationID; ?>"> <center> <table width="400" border="0" cellspacing="5"> <tr> <td><input type="submit" value= "Reservation Collected" class="button" name="submit"></td> <td><input type="submit" value='Cancel Reservation' onclick="reservationinfo.action='admincancelreservation.php'; return true;"></td> <td><input type="submit" value='Back' onclick="reservationinfo.action='history.go(-1)'; return true;"></td> </tr> </table> </center> </form> The solutions Ive been trying either take me to reservationcollected.php OR says history.go(-1) CANNOT BE DISPLAYED. Any ideas? Cheers Okay so recently I updated my website so the URL for my home page is now: http://www.benellett.com/index.php However I would either like to somehow make that page show up as just the base website: http://www.benellett.com/ or have the benellett.com page forward to the /index.php page. Preferably I want benellett.com/index.php to be the "home" page like it would be if it were index.html (like my old website in the link). Thanks a lot! Hi Guys, I was on my site when I decided to add a forward slash at the end of my index page and all the css dissapeared. Does anyone know why this happens and how one can resolve it ? |