473,508 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a scrollable Frame in the same page

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?

Dec 6 '05 #1
1 1819
su********@yahoo.com wrote:
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>
Use the `iframe' or the `object' element instead.
That obviously did not work.


Try

<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPBAMAAAD NDVhEAAAAD1BMVEX%2F%2F%2F8cHBz%2F%2F%2F%2BMjIxOTk4 DFJMfAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZc wAACxEAAAsRAX9kX5EAAAAHdElNRQfUBR0MMDTYAM%2BJAAAAN klEQVR4nGNggAMTQWcQ5SgoKCjCwMAsCAIODCyCEL4hhALRIhB lYArOh8nD1MP0w8yDmw8BAHX0Bi31%2FaYsAAAAAElFTkSuQmC C"
alt="Pacman">

(courtesy of Eric B. Bednarz[1]). If that works in your UA,

src="data:text/html;charset=ISO-8859-1,&lt;!DOCTYPE html PUBLIC ..."

should work _there_ as well. Note that you will run into problems
with the Same Origin Policy[2] then as there is no domain.

Not a J(ava)Script/ECMAScript question, though. (Java != JavaScript)
PointedEars
___________
[1] news:m3************@nntp.bednarz.nl
[2]
<URL:http://www.mozilla.org/projects/security/components/same-origin.html>
Dec 8 '05 #2

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

Similar topics

7
11638
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header |...
1
1619
by: Phil | last post by:
Supposedly, the code below should assign the correct value to the 'url' variable. But all I get is a blank 'main' Frame with apparently nowhere to go when I click on the link in the 'menu'...
1
2304
by: RJN | last post by:
Hi Sorry for posting again. I have a datagrid which is put inside a div tag to make it scrollable. I need to page the datagrid. The page numbers appear at the bottom of the datagrid and has...
2
2567
by: RJN | last post by:
Hi Sorry for posting again. I have a datagrid which is put inside a div tag to make it scrollable. I need to page the datagrid. The page numbers appear at the bottom of the datagrid and has...
3
1231
by: rkbnair | last post by:
How can I display a (division or something) box with controls in it and it is scrollable both horizontally and vertically in my Webform?
1
2768
by: Keimo Repo | last post by:
Hello I would need some advice, even just speculations... A customer of ours insists on a couple of customer specific design features for our existing multi-customer web application: - A...
3
2396
by: Nathan Sokalski | last post by:
I am looking to create a multi-column list that is scrollable, kind of like a ListBox control, only I need a way to align the columns of text that I will have (I would use spaces, but because the...
2
1799
by: tshad | last post by:
I was just looking at a site that had scrollable grids and was wondering how that is done? It was an aspx page, but I have only seen Datagrids that were non-scrollable. You can page a grid but...
1
16932
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
0
7127
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...
1
7054
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
7501
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...
1
5056
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...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.