473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Dynamically Resize Frames

1. Is there a way to have a frame automatically expand based on the size of
the content that fills it? Specifically, I have a <table> used for layout
purposes that comprises the content of a "framed page"; that table is
injected at runtime (via Literal control) into the framed page. How can I
cause the frame to expand/contract so that the entire table and only the
table is displayed - without scrollbars?

2. If my objective in item 1 above is not possible, how can the size of a
frame in a frameset be specified by code-behind logic?

Thanks!
Nov 18 '05 #1
1 1657
Use <iframe>.

Eliyahu

"Guadala Harry" <GM**@NoSpam.com> wrote in message
news:u6**************@TK2MSFTNGP14.phx.gbl...
1. Is there a way to have a frame automatically expand based on the size of the content that fills it? Specifically, I have a <table> used for layout
purposes that comprises the content of a "framed page"; that table is
injected at runtime (via Literal control) into the framed page. How can I
cause the frame to expand/contract so that the entire table and only the
table is displayed - without scrollbars?

2. If my objective in item 1 above is not possible, how can the size of a
frame in a frameset be specified by code-behind logic?

Thanks!

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sticky | last post by:
I really need some help - i have already pulled out 1/2 my hear and the rest is following quickly..... I am designing a page containing an iFrame, the contents of which are selected dynamically...
1
by: Martin | last post by:
There seems to be some strange behaviour when trying to get the scrollHeight and scrollTop of an iframe in IE6. I have tried several ways of getting these values when the iframe is written into...
1
by: SAN CAZIANO | last post by:
how can i resize the column of a table and add both the scrollbar to it ?
4
by: xzzy | last post by:
VS 2003, code behind is C# Situation: 1. a webpage has 4 frames: TOP LEFT RIGHT BOTTOM
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
1
by: wanwan | last post by:
I couldn't figure out how to resize an animated gif without losing the animation. Please help
9
by: DL | last post by:
That is, for an iframe with onload attribute to preset a width and height then depending on the length of its content to auto-expand instead of scrolling. The following URL is quite interesting,...
10
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
5
by: Yun | last post by:
I have a frameset initially loaded to a page <frameset id=SV name=SV></frameset> Now I want to use JavaScript to dynamically add frames to this frameset. I have tried to use code like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.