If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ASP - iFrame

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-16-09, 12:47
PonPending PonPending is offline
Registered User
 
Join Date: Aug 2008
Posts: 78
ASP - iFrame

I'm building a table of contents Q/A FAQ from a table. The table contains the group, question and answer. The answer is just an HTML file.

I'm trying to display the answer on the same page as the table of contents and it seems to make sense to use in iframe.

The problem is if the HTML file is large, the iframe generates scroll bars, and now you have the main browser scroll bar in addition to the iframe's scroll bars.

Code:
<iframe  scrolling="no" src="blank.html" width="100%" height="450%" 
    onload="resizeFrame();"  frameborder="0" name="faqs">
</iframe>
This will work for most html files except for large ones.

I'd like the iframe to resize based on the html file I send to it.


The call to the iframe (in html) is this:

Code:
<div class="box2">
<a href="rq/bwocl.htm" target="faqs">Open Change list</a>
</div>
I know this is more of an HTML question than ASP/SQL, but I figured someone here might know.
Reply With Quote
  #2 (permalink)  
Old 07-16-09, 18:27
PonPending PonPending is offline
Registered User
 
Join Date: Aug 2008
Posts: 78
I was able to figure it out - no need for reply!
Reply With Quote
  #3 (permalink)  
Old 07-18-09, 19:39
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,002
How did you do it?
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On