Frame Check Layout?

How do I create a frame set like the one at cruciallimit.com

I viewd his source and noticed that he has a frame check script. how do I achive this?

The main thing i want to know is how he makes the screen center on the middle frame if you are on a lower res then 1024x768. If you are on 800x600 the site does’t start at the top frame it centers on the middle one. How does he do this?

Hey Sintax!!

Your talking bout his main flash page right?

Well you have 3 framesets.

Left, main and right.

You create a table for the main frame and u set it to
100% width and 100% height.

Then you set your frames to relative.

Cick on the main frame and type in the dimensions of your flash movie, so that way the middle frame will consistantly stay that size.

Hope this helps, reagarding the script check, i have no idea!!

=)

Ya see i do that and it works on 1024x768. the problem is on a 800x600 resolution the left and right frame stay and you have to scroll left to right to see the content. I want it to center on the middle frame like crucial limts does not the side spacer frames.

scrolling=“NO” noresize

try puttin that in your frame src

also try this when you set up the sizing are you using this syntax for the sizing

rows=“80,*,80”

The star will tell that frame to use up what ever space is left. thus the resizing area. and the noresize and scrolling=“no” tells the fram src to not resize and do not show the scroll bars. Let me know if you get what I am saying.

Personally I don´t like frames, so my advice for you is to use tables.

Create a table with 100% height and width. Insert a new table inside with the dimension of your page based on 800x600 resolution, something like 780x400 or 780x440 max. Align this last table in center-midle of the first table.

Use this code on the body:

< BODY bgcolor="WHITE" marginheight="0" marginwidth="0" 
border="no" topmargin="0" leftmargin="0" rightmargin="0" >

I think that´s the best way to go:-\

Yeah I agree the only way I use frames is if there is something heavy that I do not want to have to load repeatedly. Be sure not to index your your frame src pages. Search engine will pick them up and serve them outside the frame. and if your nav is in another frame they will have a page with no nav and it will look weird.

As you guys where posting i managed to fake the effect with relative tables. It doens’t do exactly what I want it to do but it works enough.

Edit: I know all about the problems with frames and such. I hate frames more then anybody.

Am i the only one that likes Frames :sigh:

Ive never had a problem with them =)

Though I don’t use them very often, I don’t have a problem with frames. Frames have saved my butt more than once . When I first started, we had to use frames because of long d/l times with Flash navigation, back when residential broadband was a myth yet to happen.

The reason most don’t like frames, is because if they aren’t just right, as said above, they can be irritating at best.

Rev

If used right, frames are perfectly fine.

But unfortunately there are many sites that use them wrong, and give frames a bad bad name.

I personally like iFrames :beam:

Another project I’m working on is using frames. It is really amking me mad. I might just put it in a fixed pop up window isntead. yea it is that bad that i would use a pop up window.

you ask for problems if you use frames wrong. frames are good for certain situations but some use frames as a bail out for tables. The indexing thing is the most common mistake with frames.

Ok, sorry for skipping over your first problem.

To make centered frames like that you will need to define relative frame sizes.

Since you have worked with frames I am assuming you know what a frameset tag is.

In that frameset tag you have to define the about of colums (cols), in a case like that it will be 3 cols.

Those cols have to have defined widths.

You can do that like this…

<frameset cols="*,middleWidth,*">

Now… what the ‘*’ is is this…

A ‘’ character is a “relative-sized” frame and is interpreted as a request to give the frame all remaining space. If there exist multiple relative-sized frames, the remaining space is divided evenly among them. If there is a value in front of the '’, that frame gets that much more relative space. “2*,*” would give 2/3 of the space to the first frame, and 1/3 to the second, etc, etc.

Ya I knew all of that I was just being lazy. When I looked at a site that had the code I wanted it all made sense. I was looking at the layout all wrong. Insted of 5 frames(left,top,middle,bottom,right) all I needed was 3 frames (left,middle,right) at a relative size which can just as easily be done in a table.

Oh… well… uhhh… ok then, best be on your way then…LOL :beam:

No No thanks for the help. I wish I hadn’t been so lazy. A little more research on my own and I had it. Hopefully this thread hellps someone else at least.:wink:

Hopefully :slight_smile:

But just for the heck of it. What problems were you having with frames where you got tired of it and opened it up in a new window?

The problem is to get the effect I want I have to have no scroll turned on. But I might need it to scroll on a smaller screen. so a fixed sized popup might be the answer. i ahven’t made the switch yet so we will see.

Well why don’t you set it to auto???

<FRAME SCROLLING="auto">

That sets it so that if it doesn’t need to scroll it won’t, but if it does, it will. You have have “yes”, “no”, or “auto” in there.

I’ll give it a try but it might mess up my frame alignments.