HTML - How Do I Target A Link Inside A Frame From Within That Frame
Hey.
I have a frame and inside it there is a link. I want it to target an anchor called Code: <a name="anchor"></a> that is INSIDE it's own frame. I tried Code: <a href="#anchor"> but it tries to reload the entire page, and doesn't just "jump" to the anchor like it normally would. How do I do this? Thanks Similar TutorialsHi- Is there a way a frame target is screwed up? I have my frameset defined as <frameset rows="30, 83%" cols="1*" border="0"> <frame name="top" scrolling="no" marginwidth="10" marginheight="14" src="top.aspx"> <frameset rows="1*" cols="30%, 70%"> <frame name="left_target" scrolling="auto" marginwidth="10" marginheight="14" noresize src="left_meaning.aspx"> <frame name="right_target" scrolling="yes" marginwidth="10" marginheight="14" src="right_meaning.aspx"> </frameset> </frameset> and insde "right" frame, all <a> links have target to "left." But it load some external java script before so I assume that is where target is screwed up. But if i set hyperlink as follow: <A target="left_target" href="http://www.yahoo.com">aa</a> that the target set here should override whatever that comes before it, shouldn't it? Thanks for your help My boss has an html form supplied to him by a catalog company that can be implemented into my bosses site. The form is a search form for products in this company's catalog and the output of the form opens at this companys site. Is there a way I can force the results into another framed page of two rows. I want the output of the seach form to go to the second row of the frame. My bosses companys logo will be in the first row of the frame so people can return to my bosses homepage. Hope I have been clear. Thanks, Libman Started By LIBMAN on Mar 9, 2007 at 11:39:16 AM Hi there, I was wondering if anyone knows how to centre an image link in another frame (yes I know frames are bad but its an old website I am updating) i have <a href="picturelink" target="mainframe"> <img src="thumbnail" border="0"></a> I have tried everything from class="center" to editing the original frameset and the original page loaded into the window but I can't get the jpeg file to load up centred and so I was hoping someone might be able to help as I don't want to link all the pictures to seperate html documents with only a centred image in... Thanks for any help. Hello I have I-Framed another webpage into my webpage, but I would like the iframed content move to the left. Some of the content on the right is not showing right now, if it would move to the left, it will be perfect. Would this be possible? if so how? Best Regards! hi everyone.. i created a page that contains frames.. the problem is that the navigation frame has hyperlinks and when i click on them, the page opens inside the navigation frame!! i need it to open inside the home page.. how can i do it? I use XSLT to create a html document, and I'm not THAT familiar with html I want to divide my html page in 2 frames via a frameset. For many reasons I only want ONE html document at the end. I want to create totally new html code in the source URL of a frame, this may sound funny, so here is an example: This is how it normaly looks if I'm correct: HTML Code: <frameset cols="400,*" frameborder="yes" border="5"> <frame name = "leftF" src = "2.html"> <frame name = "rightF" src = "3.html"> </frameset> This is something like I want it to be(because I only want 1 html document): HTML Code: <frameset cols="400,*" frameborder="yes" border=5> <frame name = "leftF" src = "<html><body>This is the 1st frame</body></html>"> <frame name = "rightF" src = "<html><body>This is the 2nd frame</body></html>l"> </frameset> I've tried the above without any success. Does anyone know how to do this, or does anyone have an other suggestion (I don't HAVE to use a frameset, but I don't know any other possibility ). Thank you. How i create a frame type space( which is scrollable ) similar to seperate window inside a webpage ? Hi! I am using Dreamweaver 8 to develope my site. I have broken the page in three pieces(frames) So that the top frame shows the title, the left frame is for links that I want to show as flash movies in the right frame. I have studied the help file and I have looked on the web and I can't find an explanation that I can understand on how to do this. I believe the clickable link should be an href but I don't know how to code it. Can someone explain this to me? Thanks in Advance! Paul Hi All, I have created two html files. One is for frame which displays the other html file inside it. I have a javascript code for retriving values from a xml file.[this works perfect]. In frame.html[where the frame is created], I have created three buttons [button names:starters, appetiters,maincourse to display hotel menu items]. When I click on the button it should call a javascript file and the result of the javascript file should be displayed inside the frame. What should I do for that? I need to sub,it my proj tomorrow. Please help. hi everybody; I have intruduction page with img map and my main page uses frame. at the introduction page I link pages and when user click on it it shoud go to main.htm which uses frame and at main frame I want to show that content page. for example at introduction page I have an image with map and links products, contact and about me. and I have one main.htm with frame that menu and content part. at content part, productpage, about me page and contact page can be shown. at the main page, everything is ok when use click products it shows product page at content frame but problem is at introduction page. when use click product or any other link I can not show it directly. is there any way for it by html? I can not use dynamic development languages, just html hello everybody! I want to know if is possible to: set a link to another page which has an inline frame (e.x. name="I1") and change the inline frame source. Thanks I have a page containing 3 frames as follows; Code: <frameset rows="130,*" border="0"> <frame src="project01_head.htm" name="header" scrolling="no"c/> <frameset cols="150,*"> <frame src="project01_links.htm" name="links" frameborder="0"/> <frame src="project01_home.htm" name="content" frameborder="0"/> </frameset> </frameset> When the user clicks any link except the "home" link in the "links" frame, I want the page selected to be displayed in such a way that it takes up the "links" AND "content" frames. How do I do this? I can make the target frame "content" easily enough, I do this for the "home" page only. How do I make the target frame for a link page the "links+content" frame? I want the "links" frame to disappear when all links (except home) are selected and reappear only when the user returns home. Okay, with frames, whenever there is a link that you want to open up in the parent browser rather than inside the frame, all you have to add to the link code is "target="_parent"". However, for INPUT BUTTONS(not links) this doesn't seem to be the case. This is my input button code: HTML Code: <input id="button" type="button" value="Submit!"> the input button is INSIDE A FRAME, and because of that, when I click on it- the link goes inside the frame... how do I make it so the input button links to the PARENT browser? hey guys, im looking for a way of cutting down the amount the visitor to my site has to download, as well and speed of loading betweens pages, ive attached an image of how to site looks so far, i have rows of links on eith side, on the top, and a row going down the center i wish to display in. If the user clicks on a link from anyside i would like only the center text to change and leave the links and header, saveing on size of the web pages on the server and the amount the user has to download i looked around and found frames would be an answer but there god dam confusing and it seems they come attached with a scroll bar where as i would like the page to simply feed downwards is there any way of keeping the outer part like a template and like i said just have the links replace the text with what ever the topic? i am using iframe concept in my website ,But it is not working Here is the code: <iframe name="downlineframe" height="400" width="100%" frameborder="0" src="http://nyoil1.ning.com" ></iframe> if i give http://nyoil1.com,it is working well,if i give http://nyoil1.ning.com na its not working.... hmm I asked for help in getting a big frame over the site content and I got here help .(by the way thanks)(I dont mean frames... What I meant was to put the content in some kind of a big frame likse div...) Code: <html> <head> <style type="text/css"> html, body { background: blue; } * { margin: 0; padding: 0; border: 1; } #container { width: 885px; margin: 0px auto; /*centers #container*/ padding: 5px; background: black; } </style> </head> <body> <div id="container"> </div> </body> </html> it helped but then I found another problem : I used this code for puting a frame the i can scroll over something but now it doesn't work Code: <b style="overflow:auto; height: 640px; width=292px;" class="sotableup" align="left"> </b style> And now it doesn't work. Any ideas? I wanted to put some kind of a big frame ( not with frames ) around the web content so that the sides would be clear without any content on it. I tried alot of stuff but nothing helps like: BG(nothing) l bla bla l BG(nothing) BG(nothing) l bla bla l BG(nothing) BG(nothing) l bla bla l BG(nothing) Ok call me slow but I am starting to move to a non-frame web site structure now and I am going to be getting away from tables except to display tabular data. Most of my sites have a header image and a menu that I want to stay constant from page-to-page. Also, I assume I want to lay-out my pages using styles and divs. Can someone point me to a resource that discusses these things. Thanks a ton in advance~ Hey Guys - I need to make a real basic page with a frameset-like element. I need the top part of the page to remain stationary, and the bottom scroll underneath it - so that the top part of the page stays on stop of whatever the user is looking at. Should I do this with frames, or is there another method that I am unaware of? Thanks! |