ZBomber Posted January 5, 2005 Share Posted January 5, 2005 See, I've been workin on this site for a whiles now. I had to transfer 100+ pages to the new layout I made. DIAGRAM TIME! --------========== -IF1---===IF2===== --------========== --------%%%%%%% --------%TABLE%%% --------%%%%%%% --------%%%%%%% IF1 = Iframe window that has the menu IF2 = Iframe window that has the banner TABLE = Just a regular table that displays the text of the page. I made a mistake. I added the links last. You're probably thinking, "So?". Well, I didn't realize it, but whenever you click a link, it opens in that small iframe window where the menu is..... This is pissing me off so much. I spent hours on this, and now at the end, I find out it doesn't work. Is there anyway I can get the IFrame link to open up in a regular table? I really don't wanna edit the code of over 100 pages again.... Link to comment Share on other sites More sharing options...
Troopr-Undr-Fir Posted January 5, 2005 Share Posted January 5, 2005 well I know what you're saying, but could you copy and paste the code you're having troubles with. I think it has to do with your frameset code. Needs the info to helps ya EDIT: are you also using an editor? Link to comment Share on other sites More sharing options...
ZBomber Posted January 5, 2005 Author Share Posted January 5, 2005 I know the code to open it in another IFrame, but I want the link to open in just a regular table..... :-\ Link to comment Share on other sites More sharing options...
Troopr-Undr-Fir Posted January 5, 2005 Share Posted January 5, 2005 It shouldn't be able to "open up" in the table anyway Link to comment Share on other sites More sharing options...
ZBomber Posted January 5, 2005 Author Share Posted January 5, 2005 Ah, my friend taco just saved the day! ^_^ For those wondering: <a target="_parent" href="url"> Link to comment Share on other sites More sharing options...
Datheus Posted January 5, 2005 Share Posted January 5, 2005 Hum, was about to post that. Went back to refresh to make sure I wasn't going to be late to the party. Good thing I did. Though that's not HTML Strict DTD. But I don't think you care. Link to comment Share on other sites More sharing options...
Troopr-Undr-Fir Posted January 5, 2005 Share Posted January 5, 2005 Originally posted by ZBomber Ah, my friend taco just saved the day! ^_^ For those wondering: <a target="_parent" href="url"> Ahh yes, that would be why a link would not be a link Good work detective... Shall we pound back a few? Link to comment Share on other sites More sharing options...
ZBomber Posted January 5, 2005 Author Share Posted January 5, 2005 I know IFrames are crap, but I want the new layout up ASAP and don't have time to learn PHP just yet. Would it be all right I post a link to the site here once I uplaod it? I'm not trying to advertise, I just want people's opinions on the layout and stuff. Besides, I doubt most of you care about Aerosmith anyways. Link to comment Share on other sites More sharing options...
Datheus Posted January 5, 2005 Share Posted January 5, 2005 I think personal sites are okay, but forums are no-nos. Another guy posted a thread about his site recently. Check that to see if he was slapped on the wrist Link to comment Share on other sites More sharing options...
ZBomber Posted January 5, 2005 Author Share Posted January 5, 2005 Well, I have a link to forums, think it'll be all right as long as I don't directly link to the forums? Besides, I don't care about the forums, just want an opinion on the site layout. Link to comment Share on other sites More sharing options...
Troopr-Undr-Fir Posted January 5, 2005 Share Posted January 5, 2005 I enjoy ol' monkey lips But do any of us have time to learn PHP... I know I don't Link to comment Share on other sites More sharing options...
Datheus Posted January 5, 2005 Share Posted January 5, 2005 I'd just go ahead and post it. It's not like they'll rape you if they dislike the site, they'll just close the thread. Link to comment Share on other sites More sharing options...
ET Warrior Posted January 5, 2005 Share Posted January 5, 2005 And then I'll rape you, but that's just for fun. I won't do anything unless your site contains goat porn. Then I'll give Astrotoy the link before deleting it since I know he'll want it anyways. Link to comment Share on other sites More sharing options...
ZBomber Posted January 5, 2005 Author Share Posted January 5, 2005 Originally posted by ET Warrior And then I'll rape you, but that's just for fun. I won't do anything unless your site contains goat porn. Then I'll give Astrotoy the link before deleting it since I know he'll want it anyways. Lol. Nah, there's nothing bad on it. Just some Aerosmith pictures, lyrics, and a tut or two. I'll post a link tommarow, gotta add soem final touches before I release it. Link to comment Share on other sites More sharing options...
Samuel Dravis Posted January 5, 2005 Share Posted January 5, 2005 Originally posted by ZBomber I made a mistake. I added the links last. You're probably thinking, "So?". Well, I didn't realize it, but whenever you click a link, it opens in that small iframe window where the menu is..... Is there anyway I can get the IFrame link to open up in a regular table? I really don't wanna edit the code of over 100 pages again.... AFAIK, you have to name the content page in your menu document. <IFRAME NAME="content"> Then you can point the links to 'content': <A HREF="page.html" target="content"> Sorry if you know this already...btw, why would you use iframes for menus anyway? It would be easier just to use a normal frameset document. Judging by your illustration, it wouldn't be hard at all to set them up either. And tables must die. CSS 4 evar! Link to comment Share on other sites More sharing options...
ZBomber Posted January 6, 2005 Author Share Posted January 6, 2005 Originally posted by Samuel Dravis AFAIK, you have to name the content page in your menu document. <IFRAME NAME="content"> Then you can point the links to 'content': <A HREF="page.html" target="content"> Sorry if you know this already...btw, why would you use iframes for menus anyway? It would be easier just to use a normal frameset document. Judging by your illustration, it wouldn't be hard at all to set them up either. And tables must die. CSS 4 evar! Yes, I know that. But that only works if you have the content box set up as an IFrame, which I didn't. Link to comment Share on other sites More sharing options...
ZBomber Posted January 6, 2005 Author Share Posted January 6, 2005 Please tell me of any problem: http://www.thelastchild.net Some people have scrollbars on the banner, anyone know how to get rid of that? Link to comment Share on other sites More sharing options...
Samuel Dravis Posted January 6, 2005 Share Posted January 6, 2005 <IFRAME scrolling="no"> A couple of pages are missing, and the title image does not have an imagemap applied to it but I'm sure you already know about those. The link color might be changed to better contrast to the background - maybe a slightly lighter blue? Also, I recommend using CSS for at least your background and foreground colors. In the long run, it will be much easier to change the visual style. You may want to even let users select their own color scheme. Just stick the color values in a cookie and put a script on your site to let them change it easily. Link to comment Share on other sites More sharing options...
ZBomber Posted January 6, 2005 Author Share Posted January 6, 2005 Originally posted by Samuel Dravis <IFRAME scrolling="no"> A couple of pages are missing, but I'm sure you already know about those. The link color might be changed to better contrast to the background - maybe a slightly lighter blue? Also, I recommend using CSS for at least your background and foreground colors. In the long run, it will be much easier to change the visual style. You may want to even let users select their own color scheme. Just stick the color values in a cookie and put a script on your site to let them change it easily. What is CSS? I've heard it before, but I don't really know what it is. And thanks. Link to comment Share on other sites More sharing options...
Samuel Dravis Posted January 6, 2005 Share Posted January 6, 2005 Originally posted by ZBomber What is CSS? I've heard it before, but I don't really know what it is. And thanks. CSS is useful because one CSS document can be applied to many separate pages at once. This makes it very easy to change the colors, font sizes etc. on all your pages immediately. Some links: http://www.w3.org/Style/CSS/ http://www.w3schools.com/css/default.asp http://www.csszengarden.com/ http://glish.com/css/ Example: Say I have a CSS file called style.css. It resides in the same folder that my HTML pages are in. The file contains the following: BODY {background-color: black; color: white;} H1.ad {text-decoration: blink; color: blue; font-weight: 700;} Now, I link the CSS file to my HTML pages by adding this line to them: <LINK REL="stylesheet" URL="style.css" TYPE="text/css"> Then all my pages now have a black background and white body text. If they contain the element <H1 class="ad"> anything enclosed by it will be bolded, blue and it will blink on and off. You don't have to mess with any <FONT> tags at all, and you won't have to edit all your pages to make them fit with your new color scheme - just change the .css file. CSS also allow you to have complete control over where the elements are. For example, you can make an image sit 200 pixels from the left edge of the screen and 20 down with this (assuming your image code is <IMG SRC="img.png" class="banner">): IMG.banner {left: 200px; top: 20px;} As you can see, this is very useful. No more tables! And it was no problem at all. I like talking about this stuff. Link to comment Share on other sites More sharing options...
ZBomber Posted January 6, 2005 Author Share Posted January 6, 2005 Thats cool. Next time I do a mass-edit, I'll have to include that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.