Design Question

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply

Should I use an iframe for the content?

Yes, for the whole right column
1
14%
Yes, but only for the main content (bottom part)
1
14%
No, keep it as it is
5
71%
 
Total votes: 7

User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Design Question

Post by vigge89 »

I have no idea if I should use an iframe for he main content of my site.
What do you think? Should i use an iframe for "news"-section, iframe for the whole right column or leave it as it is?

Screenshot of how it looks right now (with no iframes):
Image

Right now, the page increases in size like normal pages do, but if im going to use iframes, i will set the height for it to be leveled with the left column (menu part), or maybe 20,40,50 or 60 pixels more..

And also, Comments on the design, colors, layout, text etc. are welcome :D
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

Just do what you are happy doing. Not all browsers support <iframes> but the benefits are you don't have to muck around with <framesets>. More browsers (but not all) support <framesets> than <iframes>.

Iframes and/or framesets are ok if they work with the design. I've never been happy with any of the framed sites I've done and always tend to create 'normal' scrolling page content.

Just try a few things out and see what you think works.
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

right now im not using any framesets or anything, but I think they'll make the site more compact, which the idea of the design was at the beginning. And also, then my upload script will work ;)
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

I wouldn't go anywhere near frames.

What about an overflow property?

Code: Select all

.scrolling_box 
&#123;
    width: 200px;
    height: 200px;
    overflow: auto;
&#125;
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

Yeah that's a good point. You could always use a <div> and set it's overflow property to scroll or auto. That way you get your scrolly window without having to use either iframes or framesets.
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

well, to late now, already changed it to iframes to test, and i found it good, so i think im gonna stick to that. Unluckly, my hosts FTP is down right now, so i can't upload the redesigned site yet.
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

overflow looks like a good idea for what im doing, can you point me to a:
a) tutorial
b) link with an example of it
c) sample code

-thanks-
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

LiLpunkSkateR wrote:overflow looks like a good idea for what im doing, can you point me to a:
a) tutorial
b) link with an example of it
c) sample code

-thanks-
Variety of CSS & other tutorials here: http://www.w3schools.com/ although I'm not sure if there's anything specifically about overflow.

Do you know the style syntax? The code posted defines a css class. That can go in a stylesheet or be embedded in a the document <head >. Stick a class="name" tags to apply the style.

You can stick it inline, ie within the tag, with style="width: 200px; height: 200px; overflow: auto;".

Which option you choose depends on how often you use the style. If it's applied on a variety of pages you'd stick it in a stylesheet. If it's used just once you'd maybe stick it inline.
maniac9
Forum Commoner
Posts: 55
Joined: Fri Aug 01, 2003 12:27 am
Location: Arkansas, USA
Contact:

Post by maniac9 »

The only problem I see with using overflow is with those browsers that have poor CSS support - but either way you do it, a majority of current browsers will work. My personal design moto is "If they're running windows 3.1 with Netscape 2, then they are used to pages not working correctly"
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

maniac9 wrote:The only problem I see with using overflow is with those browsers that have poor CSS support - but either way you do it, a majority of current browsers will work. My personal design moto is "If they're running windows 3.1 with Netscape 2, then they are used to pages not working correctly"
lol, nice moto, i'll keep that in mind :D :P
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

the only browser that you might want to consider that isn't netscape 6x+, opera 9+ or ie 5+ is lynx, which is text only. and that's just because some unix users use that to check what's new on a site. treason i don't say netscape 4.x at this point is the same as to why i wonder by people still code specifically for ie... both have had end of life announcements
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

http://www.armyhosting.net/vigge/index.php
Well, FTP works now, so i uploaded the site, check it out :D
Not finished yet, still much work left
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

"Your IP: ***********" that can scare some people who don't know how the web works ;)
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

LiLpunkSkateR wrote:"Your IP: ***********" that can scare some people who don't know how the web works ;)
i know :P
but i want it there cuz then i dont have to open ipcfg each time to check it :P
Post Reply