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 > Programming
Reload this Page Rep - Insert frame full length

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-26-2006, 02:45 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: May 2005
Posts: 747
kslup_k is a glorious beacon of lightkslup_k is a glorious beacon of lightkslup_k is a glorious beacon of lightkslup_k is a glorious beacon of lightkslup_k is a glorious beacon of light
 



Rep - Insert frame full length


Hello

lets say i have a frame in my website, showing another website inside the frame.

and if the other website is vertically long, can we have the frame to extend to the same length of that other website, and extending the length of my own website too?

So basically i would like to get rid of the vertical scrolling bar if the other site is a long one.

Please let me know.
Thanks
__________________
:alien: --> 21 LLL.US for sale; Take a look. <-- :alien:
kslup_k is offline  
Old 03-26-2006, 02:54 AM   #2 (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
Originally Posted by kslup_k
Hello

lets say i have a frame in my website, showing another website inside the frame.

and if the other website is vertically long, can we have the frame to extend to the same length of that other website, and extending the length of my own website too?

So basically i would like to get rid of the vertical scrolling bar if the other site is a long one.

Please let me know.
Thanks
I'm sorry to say, that this is actually impossible!

I've tried for ages to do the same thing (as I needed it once too), but no matter where I looked, the best you can find is to create the iframe 100% of YOUR website's height using javascript, as with iframes you can't simply put a 'height=100%' in there

Well I hope someone can prove me wrong though

????: NamePros.com http://www.namepros.com/programming/180627-rep-insert-frame-full-length.html
Best of luck,
Rhett.
BillyConnite is offline  
Old 03-26-2006, 02:57 AM   #3 (permalink)
Senior Member
Join Date: Mar 2004
Posts: 1,402
primacomputer is a jewel in the roughprimacomputer is a jewel in the roughprimacomputer is a jewel in the rough
 



<frameset rows="100,*">
<frame src="myheader.html" >
<frame src="http://othersite.com/page.html">
</frameset>
primacomputer is offline  
Old 03-26-2006, 03:23 AM THREAD STARTER               #4 (permalink)
NamePros Regular
Join Date: May 2005
Posts: 747
kslup_k is a glorious beacon of lightkslup_k is a glorious beacon of lightkslup_k is a glorious beacon of lightkslup_k is a glorious beacon of lightkslup_k is a glorious beacon of light
 



I forgot,

It is not frame, its iframe.

Sorry,

Originally Posted by BillyConnite
as with iframes you can't simply put a 'height=100%' in there

Best of luck,
????: NamePros.com http://www.namepros.com/showthread.php?t=180627
Rhett.
You can put height=100% with iframes, but doing so would me the iframe extend 100% according YOUR website, not the TARGET website.

What i want is to adjust according to the TARGET website.

let me know.
Thanks
__________________
:alien: --> 21 LLL.US for sale; Take a look. <-- :alien:
kslup_k is offline  
Old 03-26-2006, 09:02 AM   #5 (permalink)
Senior Member
Join Date: Mar 2004
Posts: 1,402
primacomputer is a jewel in the roughprimacomputer is a jewel in the roughprimacomputer is a jewel in the rough
 



You would need to calculate the length of the page you're framing and adjust the hight of your iframe accordingly. This is pretty straight forward in basic situations but can get quite complicated. This really isn't what iframes are designed for, as is evident by the fact that this would be trivial of cross domain/frame scripting had no restrictions.
primacomputer is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 04:46 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