473,405 Members | 2,262 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,405 software developers and data experts.

need help with making site dynamic.....

Hi

I am working on a portal that will serve up reporting services reports. The user will have a basic home page and from there will be able to run their reports. As each report is run, I need to be able to add a tab to the form that will link them to the report (which I have within another form in an Iframe) until they decide they want to close the report, at which point I will remove the tab. I was planning on using one webform with an Iframe for the actual report. I will try to change the src of the Iframe as they click through the tabs although I am not sure this is the best approach yet, but can't think of a better one yet given that the app has to be so dynamic. My big problem right now is trying to figure out how to change the height and width of the Iframe that is on the main home page to the height and width of either the form or the Iframe on the report webform. I have posted questios about this before, but have recieved somewhat vague answers and have been chasing my tail trying to write a javascript function that will do this.

Right now I have a function that will work if I hard code the height and width, but fails when I try to set it to the height and width of anything on the report webform. How can I accomplish this? What event can I use that will work? I think part of my problem is that the Iframe src is being set at runtime, but am not sure..... Please help! I'm getting desperate! :

Thanks.
Nov 18 '05 #1
1 1227
If you're just trying to adjust the iframe size to match the size of the
browser window, I think you might be better off using a regular old
frameset. They can introduce their own problems for navigation and such,
but you get the sizing stuff for free.

-Jason

Tammy wrote:
Hi!

I am working on a portal that will serve up reporting services reports. The user will have a basic home page and from there will be able to run their reports. As each report is run, I need to be able to add a tab to the form that will link them to the report (which I have within another form in an Iframe) until they decide they want to close the report, at which point I will remove the tab. I was planning on using one webform with an Iframe for the actual report. I will try to change the src of the Iframe as they click through the tabs although I am not sure this is the best approach yet, but can't think of a better one yet given that the app has to be so dynamic. My big problem right now is trying to figure out how to change the height and width of the Iframe that is on the main home page to the height and width of either the form or the Iframe on the report webform. I have posted questios about this before, but have recieved somewhat vague answers and have been cha sing my tail trying to write a javascript function that will do this.
Right now I have a function that will work if I hard code the height and width, but fails when I try to set it to the height and width of anything on the report webform. How can I accomplish this? What event can I use that will work? I think part of my problem is that the Iframe src is being set at runtime, but am not sure..... Please help! I'm getting desperate! :)

Thanks.

Nov 18 '05 #2

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

Similar topics

7
by: Dennis | last post by:
I am very new to PHP, although I have been using ASP for a few years. I use a product in ASP called ASPTear, it's a small dll that my hosting company happens to have loaded. Basically you can...
0
by: pptran | last post by:
Hi, I am pretty new to building and installing Perl. Can someone help explain the severity of the following Perl 5.8.4 build error message? ==================================================...
2
by: bryan | last post by:
I have a situation that's pretty delicate that I need some help on. I've been stumped for awhile I just need some advice on the best possible solution. The problem: I have a site I'm making...
10
by: brooksr | last post by:
I know VB5/VBA very well but have not used VB to create web pages but need to do so. Can someone explain the purposes and differences between VBScript and VB.NET to create web pages? Also...
0
by: goldenboy651 | last post by:
I am making a website for a tv station as an intern so I'm not a pro and need all the help I can get. They want a dynamic site for a program. I have a main page which lets the user choose a season....
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
3
by: Jane Parker | last post by:
I read with interest the recent posting about Reverse Proxies and wondered if it is possible to mix static and dynamic content. If you have a lot of static content on your site it would make...
18
by: Angus | last post by:
Hello We have a lot of C++ code. And we need to now create a library which can be used from C and C++. Given that we have a lot of C++ code using classes how can we 'hide' the fact that it is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.