| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | 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) | |
![]() | Quote:
![]() 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 ![]() Best of luck, Rhett.
__________________ <?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?> | |
| |
| | #4 (permalink) | |
| NamePros Regular | I forgot, It is not frame, its iframe. Sorry, Quote:
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 | 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. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |