HTML - Anchor And Scroll Box
I'm creating an alphabetical search of products. I have a table with the letters of the alphabet and just below that table I have a scroll box with the list of products.
Each section of this list of product has an anchor that is called by the letter in the table. When the letter is clicked the scroll box scrolls to show the products with names starting with that letter. What I did so far is working. The problem is that the whole page of the website is moving up when I click a letter and not just the scroll box. How do I do to make just the scroll box to scroll? Similar TutorialsCan anyone help me out? I've set up a test site for a project where I have a scrollable table within an iFrame. Techincally, its an iFrame within an iFrame which gets you to a scrollable table I also added an auto-scroll with anchor-links. Everything finally works, but I really want to remove the horizontal-scroll bar that shows up, while keeping the vertical-scroll bar. (Upon testing, I found without the vertical-scroll bar, the anchor-links and auto-scroll don't work correctly.) here's the link to the test site: http://www.thegrandamerican.com/ here's the line of code I think is the correct place to make corrections: <iframe id="myiframe" name="myiframe" src="oprah june 09_news.htm" width="900" height="475" scrolling="yes" overflow-y: scroll></iframe> The hierarchy works as follows: index.htm > spotlight_news.htm > oprah june 09_news.htm The reason for all the iframes is to have elements on the higher pages that will stay in place, such as a music player and dynamic menu bar. other notes and associated files (for the auto scroll) a smooth-src-comments.js smooth.pack.js Thanks. - J Ive been looking EVERYWHERE for a site with a code for a scroll box with a trasparent scroll bar, Ive seen the code where I can edit the size of the box as well as the color of the box itself and I know how to do THAT. how do I make it where the code displays the scroll code as well so I can fully customize it? it seems that its always hidden.. Is there anyway to do a sort of "go to next anchor" link? ... and previous anchor? Hi all, I'm trying to embed a flash file on my page that will act as a link to another page (please see code below). However, for some reason it's not working. Can someone please tell me what I'm doing wrong or point me towards some documentation? <div class="promowrapper"> <a href="http://promos.kansan.com/summersplash"><embed width="955" height="60" src="http://media.kansan.com/static/images/SummerSplash.swf" /></a> </div> Thanks, Kansan Hello, I have a webpage with several html anchors. The anchor part works ok, but when I click on the links, I only goto to the part of the page with all the anchors (all anchors are gathered low in the page) and I wanted to know if there is any way of highlighting the specific anchor that the user has clicked on. Thank you. Hey guys, I'm really new to HTML coding so be nice. I'm trying create an anchor on a new page. Is this possible, I can create an anchor that jumps down a page, but I can't get it to work on a different page. I thought I had it, but it only worked in Safari, and wouldn't work in Firefox or IE. Any help would be greatly appreciated Using help from (http://www.echoecho.com/htmllinks08.htm) I added links to my page (http://laititudefestival.zxq.net/whosplaying.html) When clicked on the title 'Lake Stage' it should redirect you to the line up image lower down in the page. The link (http://laititudefestival.zxq.net/whosplaying.html#lake) appears in the address bar . It should move the page down but it dosent Please help Just give me one working example I would be very happy I could change text and so on ! Thanks , Sorry for English so i have these 3 files, frame.html, menu.html, and page.html frame.html sets up the frameset with menu.html on the left side and page.html on the right side. the page is very large and scrolls and has a bunch of named anchors in it, and the menu doesn't scroll so its always visible no matter where on the page you are. so u probably get the idea by now. normally if i want to have an anchor link in the page i would just say href="#anchorname", but instead i want to have links in the menu frame jump to anchors in the page frame, so that someone could browse the page very easily without having to scroll all the way back to the top for all the anchor links. is that possible, and how would i do it? Hi everybody, im new here. i've done lot of search and nothing solved my problem. here is my situation. I have 2 pages, in the first page i want to make a link to the second page but at a specific point in the second page. Here is my code: in the first page, i make this link: <a href="page2.html#70" class="Style1">linktopage2 (1)</a> in the second page at the point i want to link: <a name="70"></a> Did i forget something? right now when i click the link in the first page, it open the second but at the top of it and not at the point i want. someone have a better way to do what i want? thank you all!! mike How do I make an H1 heading (example: <h1>Business to Business</h1>) into a link that will jump to an anchor lower on the page? What is the code for this? HELP! Any help would be much appreciated Karen I would like to show some details in table format inside the anchor link, is this possible or not... Right this is not for the faint-hearted cos I'm going to make a real hash of explaining what I'm trying to do probably I'm using <a> tags to move the user around a single page, so for example: HTML Code: <a href="#room1">Room1</a> <a href="#room2">Room2</a> <a href="#room3">Room3</a> <a href="#room4">Room4</a> <div id="room1"> Some Content </div> <div id="room2"> Some Content </div> <div id="room3"> Some Content </div> <div id="room4"> Some Content </div> It works fine, but the browser places the viewing window right at the very start of the <div id=""> bit. I want to have it move to say 50px higher up. I can't move the <div> tags or set any margin or padding on them as this really messes up the page. Is there any way to move the browser window 50px back up after it has moved to the <div> position. Maybe using javascript? Any help really appreciated Hello, NVM. solved, delete please. Hi all, I have various anchors on my web-pages that do not actually load new pages..so they look like: Code: <a href="javascript:return false;" onclick="doSomething();">foobar</a> problem is, when a user clicks the anchor the anchor becomes 'selected' showing a box around the anchor..which I do not want..I'm no HTML/CSS guru and have no idea to fix it so that when anchor is 'selected' it does not 'show the box around it'..any tips on what I can do? (I suppose I could try and change it to use spans instead of anchors, but..then the 'mouse cursor' does not change properly when users hover over the anchor). ps. the website url: www.borrownet.com every menu link has this issue. im rather new to html coding so forgive me for being so nub at this. I have a website for my friend and i thought by making the navigation menu have a mouse over effect it would help make the website a lot more presentable. i used this technique to create the mouse over effect. i then used this technique to pre-cache the images onto the user's pc so that the images don't flash when first hovered over. everything seemed to work fine on my computer (i used firefox 3.x) but then i loaded up the page on internet explorer 8.x.. at first the image mouse hovers work fine but when the image is clicked the image dissapears and is replaced by text. i added a:name:visited to fix that issue but now after it is clicked the hover stops working.. is there any way to fix this? here is the website so you can open it with iexplorer and see what i mean.. just click any of the navigation buttons. Analog Knights Hi dudes, I am having a value in the hidden field of the form and i need to use the value of the hidden field as the source for the anchor tag href. How could this be possible. Suggest me a solution as quick as possible. Thanks & regards, Muthuselvan.N I am new to CSS and trying to crate a page with HTML/CSS. I want to display menu on left side and when user click on the menu item -> right side content should be displayed along with the Menu on the left side. Below is the sample code(this code may not be appropriate). Please suggest me how to make this code work correctly. HTML Code: <html> <head> <link rel="stylesheet" type="text/css" href="my.css" /> </head> <body> <div id="left-menu"> <a href="#" class="current">Hello</a> <a href="C:\xxx.html">Section 1</a> <a href="#">Section 2</a> <a href="#">Section 3</a> <a href="#">Section 4</a> <a href="#">Section 5</a> <a href="#">Section 6</a> <a href="#">Section 7</a> </div> </body> </html> my.css file --------------- #container { padding: 0; margin: 0; background-image: url(container.png); background-repeat: repeat-y; background-position: top left; } #left-menu { position: absolute; top: 220px; left: 0; width: 160px; height: 100%; border-top: 1px #9ad815 solid; border-bottom: 1px #9ad815 solid; } Thanks! Hello! I'm looking for a solution to this Iframe problem. I want to create an "anchor" for the iframe to land on. This is a picture explaining something like what I want: http://img188.imageshack.us/img188/6...etroublesf.gif The thing is, I want that "anchor" to be exactly x ammount of pixels. For example, to make an Iframe including a youtube video- i would do this: HTML Code: <iframe src ="http://www.youtube.com/watch?v=dMH0bHeiRNg" width="100%" height="500"> </iframe> This iframe would cause you to see the entire youtube page, and the first thing on the iframe that appears would be that youtube logo & navigation bar that says "home | videos | shows | ...ect" How would I make it so that the iframe default is already "Scrolled past" that? So the first thing that appears on the iframe is the video, rather than that youtube logo & navigaion bar? The part that I want removed is about 90 pixels. Is this even possible to do? :/ Especially on a page that is not your own without anchor tags? |