Creating a scrollable Frame in the same page

  • Thread starter Thread starter success_ny
  • Start date Start date
S

success_ny

I cannot seem to find the answer to this rather simple question. Pardon
me if it looks illogial or silly.

Can I create a frame in the same page without referring to other html
files? I.e., I have a large dynamically created table in my JSP page. I
would like to place it inside the scrollable frame. If I put the whole
table into a separate file, I can easily do it by referring to that
HTML file from the 'src' attribute. But what if I want to create this
frame in the same page without referring to the outside html files?

I tried to place my table content inside the anchor link and then refer
to it from the frame like this:

<frameset cols="200">
<frame src="#framed" scrolling="yes" frameborder="1">
</frameset>

That obviously did not work.

Any ideas?
 
Confused????

The only thing I can think of is...

Insert> Inline Frame... Then link to your source page..

B
|I cannot seem to find the answer to this rather simple question. Pardon
| me if it looks illogial or silly.
|
| Can I create a frame in the same page without referring to other html
| files? I.e., I have a large dynamically created table in my JSP page. I
| would like to place it inside the scrollable frame. If I put the whole
| table into a separate file, I can easily do it by referring to that
| HTML file from the 'src' attribute. But what if I want to create this
| frame in the same page without referring to the outside html files?
|
| I tried to place my table content inside the anchor link and then refer
| to it from the frame like this:
|
| <frameset cols="200">
| <frame src="#framed" scrolling="yes" frameborder="1">
| </frameset>
|
| That obviously did not work.
|
| Any ideas?
|
 
Not a frame, but a DIV.

Add your table to the page, then surround it with tags like:

<div style="overflow:scroll; height:500px; width:500px; border:1px #000000
solid;">
<!-- your table goes here -->
</div>

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming
 
Back
Top