| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: May 2005
Posts: 747
![]() ![]() ![]() ![]() ![]() | 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: |
| |
| | #2 (permalink) | ||||
![]() Join Date: Jul 2005 Location: Coffs H, Australia
Posts: 3,456
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() 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.
__________________ Free Forums / GoDaddy Coupon Codes (NEW DOMAIN!) / Free Arcade Script / <?='Your computer is '.(1?fine:broken).'.'?> | ||||
| |
| | THREAD STARTER #4 (permalink) | ||||
| NamePros Regular Join Date: May 2005
Posts: 747
![]() ![]() ![]() ![]() ![]() | I forgot, It is not frame, its iframe. Sorry,
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: | ||||
| |
| | #5 (permalink) |
| Senior Member Join Date: Mar 2004
Posts: 1,402
![]() ![]() ![]() | 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. |
| |