NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Using iframes

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-11-2006, 08:56 AM THREAD STARTER               #1 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue

Using iframes


I have never used iframes in my designs before, but I have the need to use it in one of my projects now. My question is, what are the negatives to using iframes? Are there any compatibility issues with browsers? Are there any particular issues or reasons not to use iframes? Thanks for any insight.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-11-2006, 10:27 AM   #2 (permalink)
988
olrayts riserb
Join Date: Apr 2004
Posts: 946
988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold
 



use php includes instead of using iframes.. spiders will have a hardtime crawling them.
__________________
http://www.travelmedical.info
988 is offline  
Old 03-11-2006, 10:32 AM THREAD STARTER               #3 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by cavinti
use php includes instead of using iframes.. spiders will have a hardtime crawling them.

Thanks, but that's like asking me to speak chinese :-)

I'll have to look for a "PHP includes" tutorial.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-11-2006, 10:38 AM   #4 (permalink)
988
olrayts riserb
Join Date: Apr 2004
Posts: 946
988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold
 



you have to change the main file to .php if your still using .html

and heres the code

<?php
include '--the link--';
?>
__________________
http://www.travelmedical.info
988 is offline  
Old 03-11-2006, 10:40 AM THREAD STARTER               #5 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
That's it?? Wow... I'll give it a go. Thanks a million.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-11-2006, 12:03 PM   #6 (permalink)
NamePros Regular
 
Chronos's Avatar
Join Date: Apr 2005
Posts: 263
Chronos will become famous soon enoughChronos will become famous soon enough
 



Anyway if you wanna try iframes go for this to ensure cross browser compatibility:

http://dynamicdrive.com/dynamicindex17/indexb.html


making sure there are text links to every page on your site and that every page has a relevant title, including content between the tags <iframes> </iframes>
__________________
%%- Word Press AUTO Content Generator: :talk:
THE END
Chronos is offline  
Old 03-11-2006, 12:51 PM   #7 (permalink)
Account Suspended
 
LeetPCUser's Avatar
Join Date: May 2005
Location: Whitewater, WI
Posts: 3,710
LeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to behold
 


AIDS/HIV
Another bad thing about IFrames is that you can't exactly get the horizontal scroll bar to dissapear in either ie or mozilla. There is always one way to get rid of it in each browser. The include is a good idea!
LeetPCUser is offline  
Old 03-11-2006, 01:39 PM THREAD STARTER               #8 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Okay, so I renamed the file with .php (instead of .html). I placed the code below in a table on the page.
Code:
<?php
include 'http://citruscountyre.listingsxpress.com';
?>
When I try to pull up the page, I get an error 'not found'.

Here is the HTML version with iframes
????: NamePros.com http://www.namepros.com/web-design-discussion/175691-using-iframes.html

Here is the PHP version with the include

What am I doing wrong?
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-11-2006, 05:37 PM   #9 (permalink)
988
olrayts riserb
Join Date: Apr 2004
Posts: 946
988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold
 



it seems that it is not pointing to the right link.. it has to point to the exact file.. where yours is redirecting to something..
__________________
http://www.travelmedical.info
988 is offline  
Old 03-11-2006, 09:33 PM THREAD STARTER               #10 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by cavinti
it seems that it is not pointing to the right link.. it has to point to the exact file.. where yours is redirecting to something..
There is only one link I can possibly put in, which is:
????: NamePros.com http://www.namepros.com/showthread.php?t=175691
http://citruscountyre.listingsxpress.com

It's the same link on both versions. The iframes one works, but the php include, although it is the exact same link, doesn't work. Strange...
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-11-2006, 11:05 PM   #11 (permalink)
988
olrayts riserb
Join Date: Apr 2004
Posts: 946
988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold988 is a splendid one to behold
 



try this

<?php
include 'http://citruscountyre.listingsxpress.com/listings/ListingsGrid.aspx';
?>

i see it might not work properly.. it might not show anything and if it does link within might not work properly.. the file i notice should be modified for it to work.. so i guess just leave the iframe
__________________
http://www.travelmedical.info
Last edited by 988; 03-11-2006 at 11:52 PM.
988 is offline  
Old 03-12-2006, 12:01 AM   #12 (permalink)
Senior Member
 
Xyzer's Avatar
Join Date: Aug 2005
Location: United Kindom
Posts: 1,502
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
 


Tsunami Relief AIDS/HIV
i hate them mate, they never work for me or go all pear sheaped.
Xyzer is offline  
Old 03-12-2006, 12:54 AM   #13 (permalink)
 
BillyConnite's Avatar
Join Date: Jul 2005
Location: Coffs H, Australia
Posts: 3,456
BillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond repute
 


Wildlife Parkinson's Disease Parkinson's Disease
EDIT: NVM my post lol, sorry.
BillyConnite is offline  
Old 03-12-2006, 02:27 AM   #14 (permalink)
NamePros Regular
 
Chronos's Avatar
Join Date: Apr 2005
Posts: 263
Chronos will become famous soon enoughChronos will become famous soon enough
 



Originally Posted by TheComputerGeek247
Another bad thing about IFrames is that you can't exactly get the horizontal scroll bar to dissapear in either ie or mozilla. There is always one way to get rid of it in each browser. The include is a good idea!

Get displayed Iframes in mozilla without horizontal scrollabar is matter of bad ccs designing.

Mozilla browser have a bug regarding width and height displaying incorrectly 100% size but that can be fixed by adding "min-width:auto; width:100%;"

IE doesn not understand min-width or min-height so you can even specify 800px or whatever other measure to get rid of that scrollbar.

Code:
<?php
include 'http://citruscountyre.listingsxpress.com/listings/ListingsGrid.aspx';
?>
php include does not work properly on windows servers despite they have php support.... as ASP for apaches has poor performance in linux platforms.

I assume you are on Windows because the ASPX extension, in which case you need to use ASP OR SSI include instead of PHP include REANAMING THE file as ASP, ASPX or SHTML depending

Code:
<!-- #INCLUDE FILE="listings/ListingsGrid.aspx" -->
if the file is in you own webspace try again the php this way
????: NamePros.com http://www.namepros.com/showthread.php?t=175691

Code:
<?php
include '/listings/ListingsGrid.aspx';
?>
but insisting, Windows Servers are not fully compatible with php coding.
__________________
%%- Word Press AUTO Content Generator: :talk:
THE END
Chronos is offline  
Old 03-12-2006, 07:23 AM THREAD STARTER               #15 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
THANK YOU ALL for your help. I really appreciate the time you took to work this out. I've added rep to everyone I could.

Chronos, thanks for the insight on Windows server & php. The page I'm trying to pull up is in fact on a Windows server, but it's an external system I'm trying to integrate into my client's real estate website.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-12-2006, 09:04 AM   #16 (permalink)
Senior Member
 
Xyzer's Avatar
Join Date: Aug 2005
Location: United Kindom
Posts: 1,502
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
 


Tsunami Relief AIDS/HIV
For some reason when i edited my browser (arent i stupd) all the sites ever since with frames have gone all wrong, thats why i dont use that browser any more.
Xyzer is offline  
Old 03-12-2006, 10:39 AM   #17 (permalink)
zackweiler
Guest
Posts: n/a
 



If I wanted a hyperlink to open a page in an iFrame, but the hyperlink was outside of the iFrame...Could I? Is that possible?

www.cherreysexhaust.com/media.htm is the page I'm working on. I want to be able to click those "customer cars, visitors cars, wallpaper, etc" and load each of their pages in the iFrame to the right of them (where it says "coming soon").
Anyone know of a tutorial that could help me?
 
Old 03-13-2006, 07:16 AM   #18 (permalink)
Account Suspended
 
LeetPCUser's Avatar
Join Date: May 2005
Location: Whitewater, WI
Posts: 3,710
LeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to behold
 


AIDS/HIV
Is the link working now or are you still having problems?
LeetPCUser is offline  
Old 03-13-2006, 08:21 AM THREAD STARTER               #19 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by TheComputerGeek247
Is the link working now or are you still having problems?
The iframe version is working perfectly. Just couldn't get the php version to work.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 03-13-2006, 08:53 AM   #20 (permalink)
Account Suspended
 
LeetPCUser's Avatar
Join Date: May 2005
Location: Whitewater, WI
Posts: 3,710
LeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to beholdLeetPCUser is a splendid one to behold
 


AIDS/HIV
It is because in your include statement I see it calling JS and having this page called:

http://citruscountyre.com/listings/L...ame=ourhomes.x

This is actually not a page and this is the one it is trying to load. You need to load this:

http://citruscountyre.listingsxpress.com/ourhomes

Look at the source on both pages. You will note it is loading two entirely different pages.
LeetPCUser is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
iframes issue - help! james3k Web Design Discussion 8 01-25-2006 02:57 PM
Iframes combs84 Web Design Discussion 8 11-08-2005 03:20 PM
Includes? iFrames? Brinnie Programming 1 08-08-2005 02:17 PM
Iframes and form elements in Flash OJay Graphic Design / Flash 3 04-18-2005 05:43 AM
javascript link for multiple iframes onlymu Programming 0 07-06-2004 02:04 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:08 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger