Hi
I have 2 frames in a main frameset. frame1 (top) ,frame2 (bottom)
In top frame (frame1) i have my text box where i enter my search
string. Also I am calling onLoad in
<body onLoad="loadXML()"which loads a 8MB XML data in a DOM object
like,
<html>
<head>
<script type="text/javascript">
function loadXML()
{
//load the xml data in a DOM object.
}
</script>
</head>
<body onLoad="loadXML()">
</body>
</html>
Now based on the data and the string available in frame1, i will
display my search results in bottom frame (frame2).
What I want is, once I load the whole frameset for the first time,
even when I "refresh/reload" the main frameset html page, the frame1
should not be refreshed or atleast the xml data should not be loaded
again (as the size of the xml data is 8MB and will never change). So
how to achieve this?
Thanks
Ravikiran 2 1682 kr********@gmail.com a écrit :
I have 2 frames in a main frameset. frame1 (top) ,frame2 (bottom)
In top frame (frame1) i have my text box where i enter my search
string. Also I am calling onLoad in
<body onLoad="loadXML()"which loads a 8MB XML data in a DOM object
What I want is, once I load the whole frameset for the first time,
even when I "refresh/reload" the main frameset html page, the frame1
should not be refreshed or atleast the xml data should not be loaded
again (as the size of the xml data is 8MB and will never change).
why wouldn't you load a "normal" html (xhtml) page in your datas-frame ?
the "DOM object" will be there (in hidden if you like)
with a little luck it will be in cache on next refresh ?
you can also use an external JS file if you prefer
--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
On Mon, 05 Mar 2007 12:27:06 +0100, <kr********@gmail.comwrote:
Hi
I have 2 frames in a main frameset. frame1 (top) ,frame2 (bottom)
In top frame (frame1) i have my text box where i enter my search
string. Also I am calling onLoad in
<body onLoad="loadXML()"which loads a 8MB XML data in a DOM object
like,
<html>
<head>
<script type="text/javascript">
function loadXML()
{
//load the xml data in a DOM object.
}
</script>
</head>
<body onLoad="loadXML()">
</body>
</html>
Now based on the data and the string available in frame1, i will
display my search results in bottom frame (frame2).
What I want is, once I load the whole frameset for the first time,
even when I "refresh/reload" the main frameset html page, the frame1
should not be refreshed or atleast the xml data should not be loaded
again (as the size of the xml data is 8MB and will never change). So
how to achieve this?
Thanks
Ravikiran
Why on earth would you want to push 8MB of data to the user? I do hope
they aren't on dial-up!
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Fotozine |
last post by:
well, after several months of learning, writing and developing my site,
(and colecting hunderts of users in few days) one person have "included"
my whole site under his domain. in frameset:
...
|
by: Mike |
last post by:
I have a typical two frame frameset. Menu frame on the left, load
content on the right frame.
Lately I have been having problems in that sometimes menu links will
open a new window instead of...
|
by: RichardM |
last post by:
I have the following HTML page (see bottom of message) that consists of a
frame with two windows. The top window is always the menu, and the bottom
window is by default a document named...
|
by: John Ortt |
last post by:
Hi Everyone,
I have created a Javascript menu for my site which uses frames. The first
stage loads fine but I want two drill down menus ("About Me Menu" and
"Projects Menu"). The pages load...
|
by: Jessica Weiner |
last post by:
I have a website with the company logo on top. Underneath the logo there is
a menu which has links. When the user clicks on a link, I want to be able to
take them to that page without having to...
|
by: Alexandra |
last post by:
Not sure why none of these permutations are working. I appreciate a
second set of eyes!
....
<form id="form1" name="form1" >
....
<input name="Submit1" type="submit" tabindex="10"...
|
by: centre507 |
last post by:
Hi,
I have three frames, top, middle and bottom.
Main page has website link and I want those website content
to be shown inside of middle frame while clicking links inside of top frame.
...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
|
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,...
|
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...
| |