HTML - Iframe And A Horizontal Anchor.
I'm using a thin iFrame in one of my websites and an anchor to decide where it starts. The anchor only controls the vertical component of the webpage. Is there a way to specificy a horizontal anchor in pixels or location?
Similar TutorialsHello all! My 1st post. I have an iframe embedded on my webpage of a .html manual and I would like to be able to have the manual open to certain anchors within it when a given page on my website is visited. Here is the iframe code I have that will open up the manual but then the visitor has to scroll to the topic covered: <iframe name="FRAME1" src="../r6manual/TTM Mixer.14.05.html" width="1100" height="600" frameborder="0" ></iframe> Here is the anchor code on the TTM Mixer.14.05.html that I would like to be showing when the page is visited. <div class="Subhead"><a name="468813">Dynamics section</a></div> Thank you so much for your time, Matt. 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? 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 Is there a way to target an anchor in the main .html file from a flash movie inside an iframe? this.links.portfolio.onRelease = function(){ getURL("http://asdf.com/blah/xx.html#portfolio"); } is my current code in my flash movie that is inside an iframe, but that opens the link inside the iframe. Would something like target="_somethinghere" work? Like go up one level? Thanks. p.s.: I had a quick drink of grappa, sorry if this isn't very clear. I figured this out. Three hours of searching before posting, then 30 minutes later it is resolved. i have spent about 45min reading through alot of Iframe related threads but none of them have helped my problem. I have a website with iframes, on my index page i am trying to put an iframe into the content box so when you click the links up top it will load them without refreshing the whole page. So thats fine i put in my iframe code like this <iframe name="homeframe" width="780" height="250" border="0" frameborder="0" marginheight="0" padding="0" marginwidth="0" scrolling="auto"src="homeframe.html"> </iframe> And on the html document im trying to put into it "homeframe.html" it open up but it scrolls horizontally not vertically and all the writing goes onto 1 line horizontally. The width of my content box is 780px so i made the table in the homeframe.html document 780 so it wouldnt have the bar but it does. im stumped. thanks in advance. hi, i've a very simple html page, where i have an iframe. The problem is that i want to add some text below the iframe. however, my text keeps showing up on the right hand side of the iframe. i've looked at the tutorials discussing the tags available for iframe, but surprisingly, none seem to relevant to this. Code: <html> <body> <table border="0" cellspacing="10"> <table border="0" cellpadding="0" cellspacing="0" align="left"> <td valign="top"> <iframe src="mySource.jsp" height="700" width="600" frameborder="0" scrolling="auto"></iframe> </td> </table> This should be displayed below the iframe but actually gets displayed on the right </body> </html> any help / guidance in this will be much appreciated. thanks in advance! I have 2 IFrames on a page. I am going to end up with a long list of shows to catch-up on. Is there a way I can embed an IFrame with the list, and when you click on a show, you it will change the Playing Show http://tiny.cc/catchup <---The page I am referring to. Is there anyway to do a sort of "go to next anchor" link? ... and previous anchor? 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 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. 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 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 I would like to show some details in table format inside the anchor link, is this possible or not... 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? 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 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 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 |