HTML - Jumping Within A Page - Not Working Correctly
For the life of me I can't seem to figure out why this page jump isn't working.
http://www.thegoheens.com/resources/test.html Any help is greatly appreciated. Thanks! Similar TutorialsIs there anyway to stop the page 'jumping to the top' when using a link like the below? <a href="#">karthi</a> .. I just want it to stay in the same position on the page & not jump to the top of the page every time a link like that is clicked. Hey all! I'm just starting to work on a site and already it's giving me a hard time. It's not much at the moment, but here's where I'm at http://comgardens.com/wandl/index.html If you hit the refresh button a couple of times you'll see that the content jumps, at least in Firefox, and I can't figure out why. Anyone have any ideas? Thanks!! I have an iframe in the middle of a page. I am trying to display another page within the iframe, but to start it a couple of paragraphs down, not at the top. So I have put an anchor into my iframe src, corresponding to an anchor name tag in my other page. The iframe scrolls itself ok, but the main body of the page also scrolls so that the top of the iframe is at the top of the screen, which is not what I intended. Is there a way to scroll just the iframe, with the top of the main page still at the top of the screen? <html> <body> <table> <tr> <td> table1 etc ... <table> <tr> <td> table2 etc ... <table> <tr> <td> <iframe src="another.html#marker"> </iframe> etc thanks Ok, I've tried everything I can think of, and I'm still getting a 'jumping header':\ The header is jumping from the Homepage, to the SubPages. When navigating to other Subpages, everything is fine; So, the problem is with the Homepage. http://www.khaus.com/sites/Asongo/html/ (click on About Us, then back to Home, and you'll see the 'jump') It must be in the code of the Homepage, so I've tried: - attaching the javascript - all the code for the top parts of the page are the same - rebuilding the page, with one of the interior pages format. Any help or suggestions, would be greatly appreciated. Thank you Reply With Quote Hello people my search field keeps jumping around on my shopping cart page. I have "HTML tidied" and I know I have errors...but I use shopify which uses liquid code along with HTML so the tidy is reading alot of errors produced by my liquid aswell as my own BUT would anyone know what would be the specific problem with the search form that just keeps moving around... oh yea it works fine on every other page except me shopping cart page...wtf... Any help or suggestions are appreciated, and thanks before hand. Here is the LINK >>http://www.chicityswag.com/cart password : whome i'm using 6 iframes in a page my page has scrolling whlie i click a link on top most iframe the page has been slide down the scroll bar comes to middle plz help me I have a quirky problem, and it exists with many of my sites. It involves Firefox browser, as well as Chrome. Here are the conditions of the website pages that have problems: 1. Page is fixed width, centered in the browser 2. Google AdSense is present on the page 3. Browser is either Firefox or Chrome. Internet Explorer doesn't present any problems. When the page with the above conditions is loaded, the page shows up at the RIGHT of the browser, then shifts to it's proper location in the center of the browser. This occurs every time a page with adsense is loaded, and can be irritating going page to page. An example for my site is he AdSense Page Shift Test Please use Firefox browser, maximized on a monitor with a greater width than 1024. There are five working tabs with examples, four of them have adsense on them. The one without adsense does NOT jump, and I'd like all the pages to emulate it. I"d appreciate any direction to solving the problem. Firefox and Chrome are rapidly increasing in popularity, and I'd like to solve this rather quirky problem. I want to know why the following code doesn't work correctly: Code: <table> <tr> <td rowspan="2">Square</td> <th colspan="2">Title</th> </tr> <tr> <td colspan="2">Information</td> </tr> <tr> <td colspan="3">Long description fits in here.</td> </tr> <tr> <td colspan="2">Why, oh why?</td> <td>pt</td> </tr> </table> It should make a table with three columns, the third column is only really used in the bottom line. Is this just a problem with the way html is read or what. I presume this isn't just a browser issue, but in any case I'm using Firefox 2. Cheers. Well, this is the first CSS layout i've made, the site right now is EXACTLY how I want it to look, but I think somethings not right... if I fill up where it says "How about some links? " too far, the footer goes to the top of the page, and the "Welcome" ends up in the navigation menu Here is the link I've just started changing my Tumblr page around to make it look more fancy! I put a nice background and such on it, then finally, after looking for hours, figured out how to make my posts container opaque, so that you could actually see the background. Well, when I made it opaque, it also made my posts opaque. So, now some of the photos I'm using on there are not extremely visible. I was just wondering if there's a way to make the post container opaque without making the post content opaque as well? Here's the link to my tumblr page, so you can get an idea of what I'm talking about. http://late-summers-thoughts.tumblr.com/ And I'm not totally sure that this is what you need, but this is the part of my coding where I made the whole thing opaque. div#content{filter: alpha(opacity=75); -moz-opacity:.75; opacity:.75; float:right; width:500px; padding:10px; padding-top: 0px; margin-right: 170px; background: #000000; } div#entry{ background-color:; margin-top:px; padding-top:10px; padding-bottom:10px; } Okay so I am working on a website and on the services page I used anchor tags to jump to places on the page. They all work great except for one. The page validates and I dont see anything any different from that markup to all the other markups I have done. It is up on a test server at www.vsncom.com/melkay/services.html The link thats not working is underneath the Electrical maintenance block and it is the link to go back to the top. Also on the entire site. The map page, contact, and services all shift slightly to the left. The pages all use the same css...any ideas? or is it just an optical illusion? Thank You, Matt It works correctly, but did I do it correctly to add color? I want the show/hide to be blue and the text to be red. <html> <head> <style type="text/css"> a.showandhide{ color: rgb(0,0,255); } body{ color: rgb(255,0,0); } </style> <title>Test hide thing from TIF T&C</title> </head> <body> <script type="text/javascript"> function showhide(id) { if(document.getElementById(id).style.display == 'none') { document.getElementById(id).style.display = 'block'; } else { document.getElementById(id).style.display = 'none' } } </script> <a href="javascript:void(0)" onclick="showhide('box')" class="showandhide">Show / Hide</a> <div id="box" style="display:none;"> Blah blah blah blah blah blah </div> </body> </html> 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 am having trouble getting everything to fit correctly on a page. Below is a picture of my page and the sections I have split it up into. As you can see, the problem lies in the banner on the right. It is longer than all of the other rows, but I can't split it up because it is a banner. The way I have set up my page is by creating a table and then each row is another table in side of the first table. I'm not sure if this is even correct. How do I go about setting up my page so that everything fits together (including the banner)? (this is a picture of what's wrong) Hey guys, I am not sure how to explain this correctly so I hope just seeing it and the page source can help explain it. On this page.. http://www.outdoorescapade.com/hiking.html About 3 quarters of the way down, if you click on the slide panel 'button' under lake louise and smith dorrien, it slides down but the text of 'slide panel' changes to being squished on the right hand side and the list on the left doesn't end where it is suppose to. It is pushed a bit down which I think is what is causing the text in the button to be messed up a little. I've checked it many times and even copied it from the other parts where I have used it on the page but it still does the same thing... Any ideas? Any help would be greatly appreciated. Thanks! As stated can anyone see where my "main" issue is this page... http://materialmaterial.com/products/sunshop/ I have checked it in FF, Chrome and Opera and there is problem with any of them but for some reason in Safari the entire content is thrown to the right of the main container. Also, it works fine throughout the rest of the site (which is in static HTML /the shop part is dynamic...) I am sure that it is a simple miscalculation in the CSS but I cannot find it... Any help would be humbly appreciated... Thanks Hi, I am using the following code to jump to a specific line of text when a link is clicked: <a href="#link_name">Click here</a> <a name="link_name">Jump to here</a> My question is this, is it possible to link to a specific line or piece of text on another page, as the above example only works on the same page. Thanks in advance, Rob. I have a link: <a href="#"><strong>IMPACT Study </strong> </a> I with the # it always want to jump to top of page. I know there is code that will prevent this, but i forgot what it is? Any help? thank, mac I've been running an ad on my site using the Google Double Click program since March with no problems. Suddenly this week, despite not even logging into Doubleclick or making any changes to the code on any of my pages, one of my larger ads is jumping outside of the space allotted for it and into my text. To make it even stranger, it will only do this periodically. IOW, sometimes the ads are being served correctly, but sometimes they get messed up. You can see this happening on this page: http://www.raw-food-health.net/NaturalCures.html Continue to hit refresh as my ads cycle until my large green/yellow square ad to the top left of the center column for "The Raw Food Lifestyle Ebook," appears. Keep hitting refresh over and over again. It might take a dozen times or more. I've seen this happen in firefox and Safari. I've cleared my cache. You'll see that sometimes it appears within its normal area, but sometimes it "jumps" out and partially covers the text to the right of it. Since I haven't done anything to my site or my doubleclick settings , I don't know what to make of this. I've already sought help on the Doubleclick forum, but the consensus there seems tobe that it is not a DC issue, but an HTML issue. You can see lengthy discussion about it here. Let me know if there are any other questions. Any help you could give me would be greatly appreciated. Thanks, Andrew So I'm making a very simple client side gallery using some xml and javascript. The page works fine in Firefox, Safari and Chrome. However it does not work at all in IE8, in either standard or compat mode. The page is at: http://elfguy.net/gallerytest.html?2 In IE the two big issues are that the images just don't load half the time, and that's really puzzling. The first image never loads when the page is loaded, and then when you hover over the images they sometimes load, and sometimes don't, for no apparent reason. The relevant code is: Code: parent.document.getElementById("gal_img").src = item[which].getElementsByTagName("url")[0].childNodes[0].nodeValue; The second issue is the left iframe does not scale to 95% of the height of the table after an image loads, as it should be, and I've tried adding height settings for every parent element, margin 0, padding 0, with no success. The relevant code is: Code: <table align="center" bgcolor="#B5B5BF" style="border: 2px black solid; vertical-align: middle;height: 95%;" width="95%"> <tr><td align="right" width="210" style="height: 95%;"> <iframe id="gal_frame" frameborder="0" scrolling="auto" width="200" style="height: 95%;"><a href="galleryparsetest.html?1">Click here for the thumbnail list</a></iframe> </td><td> I know the code is a not easy to read and I'm using tables but the page validates and works fine in every other browser. Anyone feels like tackling this I'd appreciate. |