Jump to content

ediger

Members
  • Posts

    16
  • Joined

  • Last visited

ediger's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. well I tried gave the PHP solution a shot, but my office has a lot of restrictions put on the network, making it more hassle than its worth. However, after playing around for a bit, I have come up with a solution that works well enough.First, I have links to outside pages that will open up a new window a generate a frameset. One frame is 62px and the bottom takes up the rest. Like I said, the top frame basically just says you are viewing a page outside of the site you originated in. To do so, I used this code from Javascript source and made a few slight alterations (just enough to make the frames look/act like I want). <!-- Beginfunction loadFrames(page1, page2) {framecode = "<frameset rows='62px,*' id='outsidepage'>"+ "<frame src='" + page1 + "' noresize>"+ "<frame src='" + page2 + "' noresize>"+ "</frameset>";page = window.open("");page.document.open();page.document.write(framecode);page.document.close();}// End --> I wasn't able to make anything that gets rid of the frameset while keeping the bottom area, but instead, I used this code to shrink the frames to 0%, 100%; <script LANGUAGE="JavaScript"><!-- function ChangeSize() { top.outsidepage.rows = "0%,*"; }//--></SCRIPT> Works like a charm
  2. Don't worry, you didn't come off as condescending .Thanks for the help, I'm just about to take off for the day but I'll give that a shot tomorrow.
  3. that's what I would normally do, but this layout works a little different. I'll do my best to explain it.The site I am working on links to a lot of policies/guidelines/etc. that are on other websites. When someone gos to one of these pages through a link on my site, I have the external site open up in a new window, in a frame taking up a majority of the page. The page that loads in the top frame is the exact same page each time. It's simply a bar that takes up the top 100px of the screen saying "You are viewing a page outside of blah blah..... Click here to remove frame... Click here to go back to the last page."Is there some way I could 'store' (for lack of a better term) the URL of the site that loaded into the bottom frame? Setting the target to _top would be the easiest, but like I said, I need the bottom frame to load fullscreen, not the top frame or some other pre-determined page. I'm fairly new the Javascript, so a lot of the time I'll know exactly what I want to accomplish, I just dont know enough of the script. It seems to me, though, that the link in the top frame needs to be a variable that is assigned to the URL of the lower frame, however that would be done.
  4. I know it is fairly simple to break out of frames using JS, but I was wondering if it's possible to make a slight alteration.All of the scripts I have seen involved either automatic frame breaking or clicking on a link to get rid of a frame. For what I am looking to do, I need to use a link. The only snag is, the link is in the frame I want to disappear. I know something like this has to be possible. In the end, what I am looking for is an effect similar to Google image search where you can view a thumbnail of the image and info in the top frame, with a link to close the top frame, and the actual page in the bottom.Any suggestions?
  5. I have a page set up to open links to outside pages in a new window with frames. One frame is the external page and the other frame is a header saying "You are currently viewing a page outside... blah blah... CLICK HERE TO VIEW page full screen. I used a code from the javascript source to get create the frame pages when a link is clicked and modified it slightly to get the frames to disappear. My only problem is, the page always loads in a new window. That's fine for opening the new pages, but when I'm simply getting rid of the frame, I'd like it to stay in the same window. <!-- This script and many more are available free online at --><!-- The JavaScript Source!! http://javascript.internet.com --><!-- Beginfunction unloadFrames(page1, page2) {framecode = "<frameset rows='0%,100%'>"+ "<frame src='" + page1 + "'>"+ "<frame src='" + page2 + "'>"+ "</frameset>";page = window.open("");page.document.open();page.document.write(framecode);page.document.close();}// End --> If anyone can see something that I'm passing over, please let me know. I know very little about javascripting and am actually kind of suprised I manged to get that much to work. Also, if anyone has any better ideas on how to do this, I'm open.
  6. Just a quick question. I have a site that has to refer people to other sites fairly frequently. Right now I have all of the links set up to open these pages in new windows. This is fine and dandy, but I was wondering if anyone knew how to make a link load a page in a frame in a new page a la Google image search. I don't want a new window to pop up, and I currently dont use frames, so basically, I'm looking for a link to load the new page in the same window, only with a bar at the top saying "Click here to return to previous page" or something to that effect. Any ideas?
  7. Hi. I am currently making a site using tables and came across a question. I was simply wondering if anyone knows how I can get the same nav bar to appear on every page. There could be a lot of pages in the end, and I would rather not go through every page and change the same link in each one if something gets changed.The table is 3 rows by 3 columns, with the navigation bar in the middle cell. I don't know if that helps anyone, but I thought I'd mention it.
  8. yeah, I've got everything working more or less flawlessly on Firefox, but Internet Explorer is still giving me issues.One other design I'm playing around with uses a top navigation. I've currently got a header and the navbar up at the top and a footer at the bottom. Is there anyway to make a layer that fills all the space between the navbar and the footer and will resize with the browser window?
  9. alright. after weeks of tweeking and modifying my initial design, I've just about finished the visual aspect of the website I am working on. Everything looks as it should and functions as it should, except for one layer. I have a left hand navigation with my main content to the right of it. I have the main content area set up so it will be fluid on all browsers at any resolution. The main content area consists of 4 layers inside of each other (I followed a tutorial at CSS Play) so this will work correctly in IE. The layer resizes properly when I resize the browser window, but once the minimum width is reached, the layers drop down below the navigation layer.Could anyone explain to me how I would keep the main content beside the navigation at all times and simply go off the side of the screen?
  10. ediger

    layout issues

    I'm trying to build a page right now that has a left hand navigation system and a header, pretty basic. The only problem is, I know next to nothing about layers and CSS (I havent done much web design in years). Right now, the main content layer always shows up lined up along the left and stretches to the far right. I want to know if there is a way to get this layer to be flush up against the right hand side of the nav layer, and go to about 20 px away from the scroll bar.this is the code I am using so farCSS: body{margin: 0px 0px 0px 0px;}#page{position: absolute;z-index: 1;height: 100%;width: 100%;padding: 25px 25px 25px 25px;}#header{position: absolute;z-index: 2;float: left;width: 100%height: 150px;border-bottom: 2px solid #CEB926;}#navigation{position: absolute;z-index: 2;float: left;height: 350px;width: 210px;top: 175px;border: 1px solid #CEB926;}#main{position: absolute;z-index: 2;float: left;top: 175px;left: 235px;width: 100%;padding: 10px 10px 10px 10px;border: 1px solid #CEB926;} HTML: <body><div id="page"> <div id="header"> <!--TITLE IMAGE--> </div> <div id="navigation"> <!--LINKS--> </div> <div id="main"> <!--MAIN BODY CONTENT--> </div> </div></body>
  11. ediger

    Linked Styles

    I thought that may well be the case. Oh well...thanks anyway
  12. ediger

    Linked Styles

    basically, I've got about 10 sections of text that are all in the same style on the same page. I want to know if there is a way for all of those sections of text to be hyperlinked to the same thing, without putting the link HTML everytime.Like I said, this seems like it may be a long shot, but I thought I'd see.
  13. ediger

    Linked Styles

    ok, I have one more quick question I hope someone can help me with here.On the site I am making, there are a few policies that need to be put up. These are rather long documents, so I have put a table of contents at the top with anchored links to the section headers. By these section headers, there is a link to go back to the top. .topofpage{font-family: arial;font-size: 10;font-color: #336600;font-weight: bold;font-style: italic;text-align: right;text-transform: lowercase;} That is the style I have set up for the links. Pretty basic.What I am wondering, is there something I could put in there to make any text in the 'topofpage' style linked to something? Seems like it could be a long shot, but I thought I'd throw it out there.
  14. ediger

    Bullet Colours

    alright, thanks a lot.
×
×
  • Create New...