Old 05-18-2005   #1 (permalink)
Registered User
 
ViciOuS's Avatar
 
Join Date: Apr 2005
Posts: 82

Iframe and Expandable Content Boxes are evil !

Evil I say !

I'm trying to make iframes for my main content box (which auto-expands) so I can have all my main links open up in the content box, but theres this tiny (huge) problem i'm having.

You see, I don't want any scroll bars on my content box. It seems that no matter what I do, or how I set up the content box/iframe, I still get scroll bars.

I could turn off scrolling for the iframe but then it just cuts out the rest of the iframe page being displayed.

I need the iframe to expand along with the content box itself.

Does anyone know how to solve this problem?
ViciOuS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-18-2005   #2 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,073
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Unfortunately iframes do not support relative expanding sizes - you need to define an exact set of dimensions in pixels. If you want to exclude the menu code from the main page, though, how about just using a normal table cell and then adding the content via a PHP INCLUDE?
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-18-2005   #3 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
Iframes should be avoided at all costs, they are I believe obselete according to the HTML standards, and many platforms still no not like them.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-18-2005   #4 (permalink)
Registered User
 
ViciOuS's Avatar
 
Join Date: Apr 2005
Posts: 82

Quote:
Originally Posted by Man1c M0g
If you want to exclude the menu code from the main page, though, how about just using a normal table cell and then adding the content via a PHP INCLUDE?
Yeah, I was planning on doing that but for the main content in the middle I guess I can just make it a set size.

Quote:
Originally Posted by Order
Iframes should be avoided at all costs, they are I believe obselete according to the HTML standards, and many platforms still no not like them.
Is there any other way of making all my links open up in the middle content box without using iframes?.. I think I would rather not use iframes at all like you said.
ViciOuS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-18-2005   #5 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
why not use seperate pages, why keep it on one page?

This is quite a big thing that many new webmasters do not know/care about, but it is important as you learn, since later on it will be whether you are hired or not.

It is called SEO, or Search Engine Optimization, and it is a science of it's own. It is always better to have seperate pages, Iframes break a lot of search engines.. I would not worry about having iframes at all, just reuse the design on each page.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-18-2005   #6 (permalink)
Registered User
 
ViciOuS's Avatar
 
Join Date: Apr 2005
Posts: 82

Hmm, wont that take longer for each page to load though?.. and besides, the site that i'm working on is for a very small community, or should i say a group of good friends. I was hoping to make it a faster, more efficient site then a really popular/active site.

Then again I really hate iframes, I need a solution. You got any more info on this "SEO" you speak of?
ViciOuS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-19-2005   #7 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
SEO would really confuse you, it still does me to an extent, and I have been using it for almost a month, I only know a few points.. it is quite an advanced subject..

To have seperate pages would not really slow the site down too much, since at first visit the images are cached in the visitors browser, so on the next page, the cached images are loaded, not re-downloaded.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-22-2005   #8 (permalink)
Registered User
 
ViciOuS's Avatar
 
Join Date: Apr 2005
Posts: 82

Hmm, well, I was looking at snecx.com the other day (I just happened to see there awesome affiliate on BioRust) and I read an article about his "FAUX Browser Check" trick, or whatever you would like to call it. I figured, I only use 2 iframes on my site, one for the main content and one for the shoutbox. If I use this trick of his, I can let people know that there browser is outdated and that my site is not ment for viewing with outdated browsers like IE.

Personally, I could care less about the amount of visitors i get from this project. So I guess I would'nt need any SEO.

I got my html and css validated today (Weeeewww !) so, with that and the faux browser check, i'm sure things will work out wonderfully.

BioRUST ROCKS !!
ViciOuS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting 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
Forum Jump


All times are GMT +1. The time now is 05:14 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT