Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Moving frames question: check out my kick-butt site

Moving frames question: check out my kick-butt site
Thread Tools
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status: Offline
Reply With Quote
Sep 23, 2004, 09:15 PM
 
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.

"Sing it again, rookie beyach."
My website
     
mdc
Addicted to MacNN
Join Date: Feb 2003
Location: NY²
Status: Offline
Reply With Quote
Sep 24, 2004, 01:25 AM
 
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.
     
Miniryu  (op)
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status: Offline
Reply With Quote
Sep 24, 2004, 11:29 PM
 
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.

"Sing it again, rookie beyach."
My website
     
Addicted to MacNN
Join Date: Feb 2002
Location: NJ, USA
Status: Offline
Reply With Quote
Sep 24, 2004, 11:36 PM
 
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".
     
Miniryu  (op)
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status: Offline
Reply With Quote
Sep 25, 2004, 01:18 AM
 
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!

"Sing it again, rookie beyach."
My website
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Sep 25, 2004, 11:12 AM
 
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).
     
Miniryu  (op)
Mac Elite
Join Date: Oct 1999
Location: Walnut Creek, California
Status: Offline
Reply With Quote
Sep 25, 2004, 01:00 PM
 
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?

"Sing it again, rookie beyach."
My website
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Sep 25, 2004, 01:44 PM
 
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.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2