Creating a scrollable Frame in the same page

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?
 
B

Bob

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?
|
 
J

Jim Buyens

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top