Hi.
I have a frameset with 3 frames that look like a T, with the top frame
containing buttons like a toolbar, the left frame usually containing a
dynamic TOC and the right frame containing the documents to view. In
the toolbar, I have a button that starts a search engine which results
I want to display in the left frame, hiding the TOC. Two buttons in the
toolbar should help choose to display either the TOC or the search
results in the left frame, but without reloading the TOC from the
server nor restarting the search engine.
Is there a way to achieve this?
Thanks. 6 1643
<Yv*****************@bull.net> wrote in message
news:11********************@v46g2000cwv.googlegrou ps.com... Hi. I have a frameset with 3 frames that look like a T, with the top frame containing buttons like a toolbar, the left frame usually containing a dynamic TOC and the right frame containing the documents to view. In the toolbar, I have a button that starts a search engine which results I want to display in the left frame, hiding the TOC. Two buttons in the toolbar should help choose to display either the TOC or the search results in the left frame, but without reloading the TOC from the server nor restarting the search engine. Is there a way to achieve this? Thanks.
No, not without reloading the page containing the TOC or the search results.
You could use layers and then have them become visible or invisible by
clicking a button but then there would be no purpose in having frames.
IEDesigner
So. Here comes another idea: create 3 vertical frames, the first one
with a width of 0 (or 1), holding the search results, the second with a
width of 300, holding the TOC, and the third with a width of what's
left for documents. How can I program my 2 buttons in the toolbar to
switch the width of the first and second frames (whatever browser is
used)?
<Yv*****************@bull.net> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com... So. Here comes another idea: create 3 vertical frames, the first one with a width of 0 (or 1), holding the search results, the second with a width of 300, holding the TOC, and the third with a width of what's left for documents. How can I program my 2 buttons in the toolbar to switch the width of the first and second frames (whatever browser is used)?
It may be possible to do what you ask with JS. I'm not a JS guru so for me
finding a solution might take some time. I would start with an onClick event
that would change the width of two frames simultaneously. Try asking your
question in news:comp.lang.javascript
IEDesigner
I finally found the solution: my 2 buttons have the following links:
<a href=javascript:ShowTOC(); return true;>
<a href=javascript:ShowRes(); return true;>
and the ShowTOC and ShowRes functions look like (MiddleFrame being the
ID I gave the inner frameset):
function ShowTOC() {
parent.document.getElementById("MiddleFrame").cols = "0,300,*";
}
function ShowRes() {
parent.document.getElementById("MiddleFrame").cols = "300,0,*";
}
and all goes like a breeze... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bart Plessers \(artabel\) |
last post by:
Hello,
Currently developping a site, where I use some session variables.
The site is located at my home computer.
Because I have a dynamic IP adress, I use no-ip (www.no-ip.org) to have my...
|
by: Christian Roth |
last post by:
Hi,
how do I access the contents of a variable (or param) whose name is
computed?
Pseudo-code for demonstration, NOT WORKING:
....
<xsl:param name="table.frame.void">border:...
|
by: clemenr |
last post by:
Hi. I would like to know if the following is feasible in JavaScript.
I would create a frameset where the top frame includes JavaScript. The
bottom frame would be directed to the login page of an...
|
by: crownergis |
last post by:
Hello. I'm Johnny Cash.
Actually I have a bit of a problem. I have a page with an inline frame.
The contents of the frame are wider than the frame (and designed that
way). The newest content in...
|
by: Murray R. Van Luyn |
last post by:
Hi,
Since I have made changes to my website it's been a complete flop. According
to the logs, as soon as visitors have downloaded the index page they are
off. I can't figure out why?
...
|
by: kumana1 |
last post by:
Here's my dilema:
My database is built around people and their contact info. On my "data entry form" there is a place for their main address, and on the subform which is attached to the main...
|
by: DRS.Usenet |
last post by:
When I run
alert("page contents:" + content.document.documentElement.innerHTML);
I am able to pull the content. I see something like this
page contents:<head><title>A Title</title>...
|
by: as |
last post by:
Hi folks,
am a newbie in C++ world. Normally I use matlab more often. But right
now I want to create a Rising Edge
D Flip-Flop model which has two Digital inputs, i.e. INPUTDATA and a
CLOCK. The...
|
by: TMS |
last post by:
I'm writing a couple of classes one for a D Flip Flop and one for a JK Flip Flop in C++. The D Flip Flop seems to be working fine, but I'm having issues with the JK Flip Flop.
I'm getting garbage...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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: 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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |