Jump to content

Home

I REALLY need help....


ZBomber

Recommended Posts

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

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

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

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! :D

Link to comment
Share on other sites

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! :D

 

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

<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

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

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. :D

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...