Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

resizing frames without reloading content..

Posted on 2003-12-07
2
Medium Priority
?
457 Views
Last Modified: 2012-05-04
i have a project wherein i needed to use frames... but somewhere within the program, i need to dynamically adjust the sizes of frames...

is there a way to do this in mozilla and ie... without the content reloading... are they the same or should i detect and code a specific segment for each browser...

id put in 500... but i only have 245 points.

please help !
0
Comment
Question by:kdeocampo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
neongrau earned 980 total points
ID: 9964997
hi!

a nice way to do that (works both in Moz/NS6+) is this way:

redefine the cols / rows properties in the framesets.

example JavaScript:

parent.document.getElementsByTagName('frameset')[0].rows='200,*';
 or
parent.document.getElementsByTagName('frameset')[0].cols='250,*,300';

or an alternative way would be:
parent.document.getElementByTagName('frameset')[0].setAttribute('rows','200,*');

feel free to address the frame via your favorite addressing (by name or via getElementById...)

regards
~neongrau
0
 

Author Comment

by:kdeocampo
ID: 10006558
thanks man... hmm... i'm on my christmas vacation... sorry for the late "accept"... it's all good
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question