 |
 |
Moving frames question: check out my kick-butt site
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status:
Offline
|
|
Take one look at this site I am building, resize your window, and you will see my problem. Check it out: My site in progress
I can't get the frames to hold their size to prevent content from shifting out of place- I don't know if there is a fix. The only thing I can think of is to make it two horizontal frames.
Thanks in advance.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Feb 2003
Location: NY²
Status:
Offline
|
|
in your index.html page (with the frames code) you have your rows and cols set. if you change these it will work.
Code:
<frameset border="0" frameborder="no" framespacing="0" rows="154,*">
<frame name="title" scrolling="no" src="title.html">
<frameset border="0" cols="149,*" frameborder="no" framespacing="0" rows="395">
<frame name="navigation" scrolling="no" src="navigation.html">
<frame name="content" noresize scrolling="no" src="news.html">
</frameset>
<noframes>
the first frameset, you had the rows set with two numbers. i changed it to 154 and *. meaning first frame 154 and the rest of the page for the other frame. that stopped the vertical moving of the two bottom frames.
then the second frameset i changed it to cols 149 and *. that stopped the horizontal scrolling.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status:
Offline
|
|
Thanks man!!! Wow, you are my new hero- it really works! I was afraid I was going to have to redo the entire site as a single html page for each subpage i wanted to feature. I'm glad there are people like you in the mac world.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Feb 2002
Location: NJ, USA
Status:
Offline
|
|
Originally posted by Miniryu:
Thanks man!!! Wow, you are my new hero- it really works! I was afraid I was going to have to redo the entire site as a single html page for each subpage i wanted to feature. I'm glad there are people like you in the mac world.
Chi Psi is a fraternity for men, right? I'm not trying to be rude, but there's a whole lot of pink going on there, or if you prefer, "lavender".
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status:
Offline
|
|
Originally posted by spacefreak:
Chi Psi is a fraternity for men, right? I'm not trying to be rude, but there's a whole lot of pink going on there, or if you prefer, "lavender".
The fraternity's colors are purple and gold, and I needed an accent for purple. Since the graphics were done in illustrator and the text is css, it wouldn't be hard to switch the lavendar and purple in the "folder" and navigation elements. The lavandar was better for transparency in my opinion, but I'll ask the brothers what they think before going though any trouble. Nice tip!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by Miniryu:
I was afraid I was going to have to redo the entire site as a single html page for each subpage i wanted to feature. I'm glad there are people like you in the mac world.
Could you possibly just use SSI instead? It would be a lot cleaner (ignoring any of the shortcomings of frames).
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status:
Offline
|
|
Originally posted by Synotic:
Could you possibly just use SSI instead? It would be a lot cleaner (ignoring any of the shortcomings of frames).
I don't know anything about SSI. I love the sound of anything cleaner, and I hate frames. Where can I read more?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by Miniryu:
I don't know anything about SSI. I love the sound of anything cleaner, and I hate frames. Where can I read more?
Server-side includes basically let you include information on the server side instead of the client side with frames. I think there quite a few things you can do with them but the basic code for including something like a header is as follows:
<!--#include file="header.html" -->
Since the include is in an HTML comment, it shouldn't cause any problems if SSI doesn't work for whatever reason. If you decide to use SSI, then you should change the file extensions of your HTML files to 'shtml' so that the server knows how to parse them. While looking into them before, I came up on this link. There are probably better resources out there, but I was just looking for the basic code.
If you're doing this for a school and planning on hosting it on a school servers, they might not have SSI enabled for your account... I don't know about your webmaster, but I was able to request it with positive results. I also don't think that .mac allows SSI, but it might.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|