HTML - Can I Display Custom Error Page When User Clicks Broswer Buttons?
hello,
I'm working on a site with a lengthy online application. When a user begins the application he is told to use the back and forward buttons on our form (not on his browser). We find that users still accidentally use the browser buttons and when they do a "Webpage has expired" error page comes up. This error page is not part of our site and is a dead end. I'm not a programmer so I don't know the specifics. I take it as a given that that browser buttons cannot function normally in our application, but I'd like to know if there is a way to get control of the error page that comes up when users do click their browser buttons. If we can show them a page reminding them not to use the browser buttons and put a link there to get them back to the application it would be a big help. Thanks Similar TutorialsHi Is there a way to hide my url when a user clicks on a link on my page that directs them to another site? Basically I don't want other web-sites to see that visitors came from my website. Hi, Click here to download my custom button: http://www.mediafire.com/download.php?zzdly4idyzu Basically, the easiest way would be to just type Code: <input type="button" style="background-image: url('button.png');" /> But what if I want it to be resizable based on the value? It won't work after that. Can someone help me to create a better button? I myself am a beginner at html, and I was wondering if someone could (if possible) make it so that when a user clicks an image, the image will change to another image and will change back when someone clicks it again? I am looking for a way so that when a user clicks this: It turns into this: And back again when clicked again. I need this to show for all users too. So if a user on 1 computer clicks the button, it switches, and then a user on another comp sees the images clicked, and can click it to change it back to normal. Is there a way this is possible? In Javascript, PHP, or mysql? Thx I made a custom 404 error page and edited my .htaccess file with this Code: ErrorDocument 404 /error.html I've followed many different tutorials for this and nothing seemed to work. It still shows the default apache 404 page. Any suggestions? -Hartless Hi all I am trying to set up a custom 404 page for when a user visits a broken/error page. I have read several other pages telling me how to do it, and they all pretty much the same thing, however it isnt working. Keep getting this on the page when i enter a broken link: Not Found The requested URL /clients/index.htm was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I have set up a ht.access text document with the following code: ErrorDocument 404 error-page.html An error-page.html page has also been created. Now, am i even naming ht.access file right? Do i need any other code in the error-page.html to make it work? im going round in circles, getting nowhere, i hope someone can help!! Howdy I want to have a short .mp3 play when my site's main page loads. So, my index.html has <bgsound src="file.mp3"> and it works fine in IE7/8. It does not work, however in FFox. So, I did some research, and apparently FFox requires different code. So, this is what I have: <bgsound src="file.mp3"> <object data="file.mp3" type="application/x-mplayer2" width="0" height="0"> <param name="filename" value="file.mp3"> <param name="autostart" value="1"> <param name="playcount" value="1"> </object> Works in FFox just great. But what happens in IE8, is the .mp3 plays 2x. It's not a loop, the same .mp3 starts again about 1 sec. after the first, and plays with the first, about 1 sec. behind. Some people might think it is a cool effect, but not what I have in mind. So what's happening here is that the bgsound src code and the object code are both being triggered in IE8. Is there some code I can put in that will force IE to only look at <bgsound src="file.mp3"> and not the object data? Thanks in advance. Can someone take a look at my CSS and HTML and tell me why the layout lines up correctly in IE but not firefox? In IE the right side div (#content2) lines up beautifully with my header and left content div, but in firefox it is pushed to the bottom of the wrapper below the left content div. Can anyone give me a hand? Here's my CSS: PHP Code: }body { margin: 0; padding: 0; background-color: #FFFFFF; color: #000000; } #wrapper { width: 800px; background-color:#FFFFFF; position:relative; } #banner { width: 800px; height: 150px; background-color:#FFFFFF; border-style:dotted; border-width:2px; border-color:#660033; border-bottom-style:none; } #menu { width: 800px; height: 30px; background-color:#660033; color: White; padding-top: 4px; } #content { padding: 5px; float: left; width: 500px; line-height: 1.1em; text-align:justify; background-color:#FFFFFF; border-style:dotted; border-width:2px; border-color:#660033; border-top-style: none; } #content2 { padding: 5px; float:right; width: 300px; line-height: 1.4em; text-align:justify; background-color:#FFFFFF; border-style:dotted; border-width:2px; border-color:#660033; border-top-style: none; border-left-style: none; Here's the HTML to go along with it: HTML Code: <head> <link rel="stylesheet" href="layout.css"> <title></title> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </head> <body> <center> <div id="wrapper"> <div id="banner"></div> <div id="menu"><font class="menu"><a class="menu" href="meetMV.htm">link here</a> | <a class="menu" href="vid.htm"> Videos</a> | <a class="menu" href="pic.htm">link here</a> | <a class="menu" href="article.htm"> link here</a> | <a class="menu" href="coach.htm">link here</a></font></div> <div id="content"> <center><font class="header">Michael 411 Moment</font><br><font class="date">content here</font> <p><font class="content">content here</font></p></center> <hr> <center><font class="header">content here</font><br> <font class="date">By MVTL Staff 2007-01-29</font> </center> <font class="subHeader">content here</font> <p><input type="checkbox" name="opt1" id="chk1"><font class="content">content here</font><br> <input type="checkbox" NAME="opt2" id="chk2"><font class="content">content here</font><br> <input type="checkbox" NAME="opt3" ID="chk3"><font class="content">content here</font><br> <input type="checkbox" NAME="opt4" ID="chk4"><font class="content">content here</font><br> <input type="checkbox" NAME="opt3" ID="chk5"><font class="content">content here</font><br> <p><input type="submit" value="Submit" ID="Submit1" NAME="Submit1"></p> </div> <div id="content2"><font class="subHeader">Fast Fact</font><br> <font class="content">content here</font> </div> </div> </center> </body> Thanks in advance! Hi, This is my site: http://www.theticketsguide.com I want to know how to add text, buttons, images, etc to my home page header without adding it to my header on all other pages of my site. So, something similar to this: http://www.coveractionpro.com I'm using Wordpress's Thesis theme. Thank you very much, Brandon anyone knows a way to sign into google apps without involving a google hosted sign in page? somebody in a blog described same problem like "We're having a Google Apps mail service. And we want to create a gmail login form on our main site. The mail login page resides at mail.our_domain.com. And we're trying to create a form at www.our_domain.com pages to send the user to his gmail account. I've copied the whole html code from mail.our_domain.com and placed in www.our_domain.com pages. And when the form gets submitted it redirects to mail.our_domain.com displaying the login form with security warning that it is only safe to log in from there. " since i do not understand html or so i need help, lets say my domain is xy.com, how must the html code must look like to enter google apps mail directyl from my domainwebpage. Please help Hello I'm new to doing websites but recently I have come to understand that particularly Internet Explorer has lots of issues! I realized this after a design that I had evolved mainly testing between Firefox and Safari just went retarded in Internet Explorer, and now I'm not sure what to expect. Can anyone outline the main issues that set IE apart? And whether there is a way to circumvent them? Because for everything I've tried so far Firefox Safari and Omniweb all behave predictably and relatively the same. Thanks- Frustrated Fishpaws Hello Everyone, I have two pairs of jsp + servlet. The first jsp asks user to select an option from the drop down box and then on the click of submit button, passes this info to another servlet, who processes the data from db based on the input and displays the requested data in a table using second jsp page. My code is working but I'm trying to make my code look more appealing. Here is what the problem is: 1. The first page just has two drop down boxes with rest of the page blank. 2. Once the user selects the choice from first page, second page is displayed which does not anymore display what user chose in the drop down. What I want: is that initially the first page contains only drop down but as soon as the user hits the submit button, instead of loading a whole new page, the requested data is displayed right below the drop down boxes. Will this require to combine two jsp pages into one.....if yes, how do I make the table disappear the first time until some input is chosen. I know this is very basic html but as this is my first time, will appreciate the help. Thanks. Hi Guys, Just need a little help with my IFrame page. I have a basic layout page with the banner up the top, and my buttons running down the left hand side of the page. The rest of the page is an "IFRAME" to an external page. Basically the site im building is putting in a webcart wich has been outsourced. So you get all the cart stuff and you just have to build your site around it and embed it in a site. So anyway to my question, I need to link the buttons on the Index.html page to a page in the IFRAME page, then the user isnt reloading the same page with different main content just that iframe. Is there actually anyway of doing this? or am i just stuck creating different pages? Im also using dreamweaver 8 if this is any help. Thanks Is it possible to have some error text appear if a user is browsing your website with a certain browser using html/css or maybe java? An example being: If - The website is being browsed using Safari Then - SHOW error text = "This link won't work with the Safari browser." Else - DO NOT SHOW error text is that sort of thing viable or just a pipe dream at current? Thanks in advance. Regards, Stoney I am working on a page at the moment and I am trying to figure out the best way to let the user know what page they are on. For example... if they click services... maybe the leftnav would go Bold or I could write services on the Top of the page? I was wondering if I could edit the CSS to automate this? I doubt you can do this but just in case here is my css Code: body { margin:10px; background-color:#f0f0f0; font-family:verdana,arial,helvetica,sans-serif; font-size:18px; } #container { width:776px; margin:auto; background-image:url(../images/container-white-bg.png); box-shadow:#333 15px 15px 30px; } #banner { display:block; width:760px; height:120px; padding:8px 8px 0 8px; background-color:#066; } #top-nav { width:768px; height:81px; padding:8px 0 8px 8px; margin:0; list-style-type:none; background-color:#066; } #top-nav li { float:left; margin-right:8px; } #top-nav a,#top-nav span { position:relative; display:block; width:120px; height:81px; } #top-nav span { position:absolute; top:0; left:0; background-image:url(../images/gallery-banner.png); } #mcad {background-position:-8px -8px;} #nios {background-position:-134px -8px;} #moad {background-position:-260px -8px;} #scad {background-position:-386px -8px;} #clou {background-position:-512px -8px;} #what {background-position:-638px -8px;} #nav { float:left; width:120px; padding:0 8px; margin:0; list-style-type:none; background-color:#066; } #nav li { margin-bottom:2px; } #nav a { display:block; width:120px; padding:30px 0; font-family:arial,sans-serif; font-size:90%; font-weight:bold; color:#033; text-align:center; background-color:#699; } #nav a:visited { color:#000; } #nav a:hover { color:#fff; } #content { float:left; width:610px; padding:25px 15px 10px 15px; } #content p { margin:0 0 10px; font-size:90%; color:#000; } #services { font-size:110%; color:#000; } .text-indent { text-indent:20px; } .padding-bottom { padding-bottom:16px; } #footer { clear:both; line-height:30px; color:#000000; text-align:center; background-color:#066; } and here is an example page Contact us Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="language" content="english"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>MESH, Inc. - Contact us</title> <link rel="stylesheet" type="text/css" href="css/main.css"> </head> <body> <div id="container"> <img id="banner" src="images/topbanner.png" alt="top banner"> <ul id="top-nav"> <li><a href="mcad_project.html">mcad<span id="mcad"></span></a></li> <li><a href="niosh_project.html">niosh<span id="nios"></span></a></li> <li><a href="mcad_project.html">mcad<span id="moad"></span></a></li> <li><a href="mcad_project.html">mcad<span id="scad"></span></a></li> <li><a href="cloud_mapping.html">cloud<span id="clou"></span></a></li> <li><a href="#">what<span id="what"></span></a></li> </ul> <ul id="nav"> <li><a href="home.html">Home</a></li> <li><a href="products.html">Products</a></li> <li><a href="services.html">Engineering Services</a></li> <li><a href="projects.html">Projects</a></li> <li><a href="publications.html">Publications</a></li> <li><a href="contact_us.html">Contact Us</a></li> <li><a href="about_us.html">About Us</a></li> </ul> <div id="content"> <p>If you would like to get in touch with us about the services we can offer, please email us</p> <p> </p> <p>For general enquiry <a href="mailto:info@meshoxford.com">info@meshoxford.com</a></p> <p> </p> <p>For business development <a href="mailto:meshengineering@meshoxford.com">meshengineering@meshoxford.com</a></p> <p>or call us at 610-932-7754 </p> <p>MESH is located on 114 Barnsley Road, Oxford , PA 19363</p> <p> </p> </div><!-- end #content --> <div id="footer">Contact Us via phone 610-932-7754 or email <a href="mailto:info@meshoxford.com">info@meshoxford.com</a></div> </div><!-- end #container --> </body> </html> Thank you in advance M Hi, i'm an expereinced PC user, and am just getting into web design, thought you could help. I've got the basics of a website developed, i just need to get the difficult bits done now...just! I've split it up into two points... a) Basically I want users to add a page that I haven't got on my site, (for example, if my website was about bands, one could fill in a form with the title of the band and a few pieces of info. and then that information is taken and a page is created (the page has standard information the same as the rest of the pages, but the details the user entered are on the page)). b) Secondly I want to add to a page a text box one can type into, click submit (basically a review) and that typing be added to that page. I'm assuming some sort of database would be required, but im really not sure how to go about it. Any help would be great Many thanks Hello. I have a website all based in php-fusion, and before it, I had one based on php-nuke on the same address. Since I upgraded, every user who was automatically logged in the old site, when visits the new page, get a error message, because php-fusion is searching in his cookies info witch is mismatched, because it were made by Php-Nuke. So, I wanna create a welcome page, all in HTML, telling the user about the error and also telling him how to erase the mismatched cookies, and when he click in "proceed to home page", the site saves a cookie in his computer, and when he visit the page again, he will be automatically redirected to the home page. How can I do that? Hi, I'm new here and need a simple question answered: I have a store I am putting online, the store resides in a folder under the main folder so I need to have the index.htm in the main folder redirect the user to the index.htm in the store folder. I'm a bit rusty on my html skills, CRS is begining to raise it's ugly head, and can't for the life of me remember how to do it or find a reference to it. Hopefully this is something relatively simple. I am trying to make a page that contains a table that users can log into and add rows of information to the table. 1)How would I go about creating an editable table. 2)How would I go about saving the updates to the webpage so their changes appear the next time they log in. I was thinking this might have something to do with some PHP coding to write the changes but not sure. Thanks for all your help So here's my problem: I had to create an HTML newsletter for a client to send on a monthly basis. I've tested it in several browsers and everything seemed to be working fine, until she received a reply from one of her subscribers, (from an AOL account) with a screenshot of what the newsletter looked liked on her screen. Everything was wrong! The newsletter didn't display pictures at all, some HTML comments were showing up and extra characters and no spaces had been placed between the text. I'm pretty new to HTML and CSS, so I tried to keep it as simple as possible to not compromise browser compatibility. And in different computers and browsers it was working perfectly fine. But now with this, I've no clue how to fix it! Help?? to view the source code: www.offinterarts.org/newsletter.html |