HTML - Frame Nightmare
I am having troubles with frame navigation...I have 2 sites with the same frameset configuration of a topFrame and a lower mainFrame. I want a link on the mainFrame of site A to open a page in the mainFrame of site B. The page that I want to open is located on site B but whenever I click on the link in site A it opens in the mainFrame of site A. I know that specifying the target as _parent will take it out of the frame it's in, but how do I target it to open in the mainFrame of site B?
Similar TutorialsHi 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. 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 A friend asked me to help validate their code. Like a mug I said yes. How hard could it be? Then I found that FrontPage does not appear to use CSS (gulp) and is steam-powered or something. Aarghh! Well - I sure bit off more than I could chew this time. I figure I'll add a CSS external file, let's say main.css, and reference it in the header. There are dozens of errors of course, things that no sane person has seen before... Like for example a 'microsoftborder'. Hmm, no wonder FrontPage died! Anyway, my friend can't change now, the site is too big and complicated. We just need to get some important pages to validate - like the index page for example. The first job is a whole-page border she has: it's a 5px gold border, stepped in by 5px, all round the page. That all fails miserably in validation as it's got stuff like [bordercolordark="#c0c0c0"] etc. Yikes. So I want to strip that out and put something sensible in the CSS. Anyone tell me what the CSS code for a whole-page 5px border is, stepped in 5px all round, please? You'll be helping a poor FrontPage victim. RIP is all I can say. nevermind, problem solved 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 I have welcome page which code is like this, This page will display after login page. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:t="http://myfaces.apache.org/tomahawk" > <frameset rows="26%,*" border="0" frameborder="0"> <frame name="f1" src="heading.jsf" scrolling="no" noresize="noresize" /> <frameset cols="25%,*"> <frame name="f2" src="menuTree.jsf" scrolling="no" noresize="noresize" /> <frame name="f3" src="body.jsf" scrolling="auto" noresize="noresize" /> </frameset> </frameset> </html> I have one command button in body.xhtml page, after clicking that button, i want to dipaly login page again without any frame, ie. i want to display that page entire screen, but in my case its displaying only in body page. How to solve this problem, Regards, Vinutha. 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! 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? 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 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.... 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~ Could someone give me some assistance on sizing a frame correctly? On the following page, I cannot seem to get the height of the background (behind the form) sized properly, leaving the line through the submit button. http://www.sutherlandlegal.com/contactus/index.html Appreciate any help... Greetings to all. I have been trying to sort this problem for a very long time. I have 2 frames on my web page, one is the contents. Can I link to a specific part of another frame? I don't think HTML allows this - or does it? Help please. Hi What i would like is for a frame to show a website and then the user scowl around the frame and resizing it, the user then clicks on a button which displays the frame in the same position and it is the same size, but without the resize and scowling position options. How can i do this? Thanks Code: <?php if (file_exists("install.php")) { die('You are seeing this message because either you haven\'t ran the install file yet, and can do so <a href="install.php">here</a>, or already have, and <strong>must delete it</strong>.'); } if (!isset($_GET['info'])) { $preconfig_db_unnecessary = true; } require 'config.php'; $menufile = (KU_STATICMENU) ? 'menu.html' : 'menu.php'; $menusize = (KU_MENUTYPE == 'normal') ? '30px' : '10%'; $mainsize = 100-$menusize . '%'; header("Expires: Mon, 1 Jan 2030 05:00:00 GMT"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title><?php echo KU_NAME; ?></title> <link rel="shortcut icon" href="<?php echo KU_WEBPATH; ?>/favicon.ico" /> <style type="text/css"> body, html { width: 100%; height: 100%; margin: 0; padding: 0; overflow: auto; } #menu { position: absolute; left: 0px; top: 0px; margin: 0; padding: 0; border: 0px; height: 100%; width: <?php echo $menusize; ?>; } #main { position: absolute; left: <?php echo $menusize; ?>; top: 0px; border: 0px; height: 100%; width: <?php echo $mainsize; ?>; } </style> </head> <?php if (isset($_GET['info'])) { require KU_ROOTDIR . 'inc/functions.php'; echo '<body>'; echo '<h1>General info:</h1><ul>'; echo '<li>Version: kusaba x ' . KU_VERSION . '</li>'; $bans = $tc_db->GetOne("SELECT COUNT(*) FROM `".KU_DBPREFIX."banlist`"); echo '<li>Active bans: ' . $bans . '</li>'; $wordfilters = $tc_db->GetOne("SELECT COUNT(*) FROM `".KU_DBPREFIX."wordfilter`"); echo '<li>Wordfilters: ' . $wordfilters . '</li>'; echo '<li>Modules loaded: '; $modules = modules_list(); if (count($modules) > 0) { $moduleslist = ''; foreach ($modules as $module) { $moduleslist .= $module . ', '; } echo substr($moduleslist, 0, -2); } else { echo 'none'; } echo '</li>'; echo '</ul>'; echo '</body></html>'; die(); } ?> <body> <iframe src="<?php echo $menufile; ?>" name="menu" id="menu"> <a href="<?php echo KU_WEBPATH . '/' . $menufile; ?>"><?php echo KU_NAME; ?></a> </iframe> <iframe src="news.php" name="main" id="main"> <a href="<?php echo KU_WEBPATH;?>/news.php"><?php echo KU_NAME; ?> Navigation</a> </iframe> </body> </html> Okay so this is the code for the index.php page, what it does is displays a menu frame on the left at 15% of the page, and then the content page on the rest of it. What I would like it to do is instead of using 15% for the right frame I would like to use 180pixels instead, and the left frame should take up the remainder of the page. This frame is different for me though as it uses the stylesheet to supply it's width, height, border, and ect. Hi, I am using frames, THe HTML file I am using does not seem to navigate away from this page when I click on one of the links contained in the frame eventhough it points to a different HTML file. What, in the frame def makes a particular frame element a master, i.e. always present. There are then sub frames which I would like to appear and dissapear depending on which link is clicked. Any help on this would be great, thanks. |