Hello experts,
I want to describe a project design and then ask some questions at the end.
There is no code in this discussion, just symbols to illustrate an idea.
Let S stand for a screen or form. I want to capture data as answers to questions presented to a user thru a series of screens. Since there are many user questions, I will ask them thru a series of screens. Thus, let
S1, S2, S3, ... Sn
stand for all the screens needed to ask the questions and capture the user's answers.
The design does not involve a database; there is no server-side activity; all is client side. One of the screens (either S1 or a screen it opens) must remain active as all the other screens ask questions and save answers in variables. As each screen captures its data it passes it to S1 before closing itself and opening the next screen. S1 moves to S2 to S3, etc by NEXT buttons, which close the predecessor screen and open the next screen.
The screen that holds all the data as the others do the work of collecting and passing the data, that screen should be hidden from view; that is, not displayed. The user is not to know that that screen is active. Using the technique of maximizing the screen display to hide other open screens is not acceptable.
Screen Sn is the one that at the end generates the report. Once the report is generated, screen Sn stays open until the user presses the CLOSE button. That is so that should an error have been made in the input, the user can use the BACK button to return to the appropriate input screen to correct the data originally entered. Once the CLOSE button is pressed, all data is lost.
My Question: Assuming S1 is the screen that stays active but not displayed after focus moves to S2, how do I hide S1 without closing it?
It is not essential that S1 be the screen that stays active, but it has to open the screen that stays active and invisible, if S1 is closed.
TIA
trbjr
6 2367 gits 5,390
Recognized Expert Moderator Expert
put S1 into a frame with height of 0px or set its style to display: none ...
kind regards
OK. Your first solution depends on using frames set to 0 pixels.
Can the second solution be used without frames? And can a style be set to display: none after a screen has been used for awhile and then when I move from S1 to S2 in that process set S1 to display none?
And does your reference to setting the style to display none mean I am using Cascading Style sheets? If so, I have more to study.
TIA
gits 5,390
Recognized Expert Moderator Expert
OK. Your first solution depends on using frames set to 0 pixels.
Can the second solution be used without frames? And can a style be set to display: none after a screen has been used for awhile and then when I move from S1 to S2 in that process set S1 to display none?
And does your reference to setting the style to display none mean I am using Cascading Style sheets? If so, I have more to study.
TIA
first: yes ...you may use a 'normal' frame or an iframe ...
second: yes too ... you may use a form ... try to do the following:
[HTML]<form name="myform" action="whateve raction" style="display: none;">
<!-- more html here -->
</form>[/HTML]
and yes ... its css ... and you may set the style per javascript according to your needs ...
kind regards
ps: to display the above form set style="display: block";
gits - Thanks much! Your followup clarifies. I do have a lot to learn yet about css, so will do reading before coding.
What is this from your most recent post:
I am thinking about the "4strict" as opposed to just "html".
trbjr
gits 5,390
Recognized Expert Moderator Expert
hi ...
when you wrap your code in [ HTML]-Tags it adds that ... it has nothing to do with the code itself ... it is for better reading and marking what the code is supposed to be ;) (it adds line-numbers too) AND: you always should wrap your code with the related code-tags ... read the: read first before posting thread
kind regards
gits,
great responses. Thanks. Consider this thread complete!
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Matt |
last post by:
Is it possible to post form data and open an invisible window?
For example, in page1.as
<form action="page2.asp" method="POST"
It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it possible?
Please advise. Thanks!!
|
by: Saqib Ali |
last post by:
Please excuse me, this is a fairly involved question that will likely
require you to save the file below to a file and open it in a browser.
I use Mozilla 1.5, so the problem I describe below should be
reproducible with that version at least.
BACKGROUND:
===========
When you open this page in your browser, you will see a 4 cell table.
The cells contain the following items respectively:
|
by: yabba |
last post by:
is there a way to keep a client page invisible for a brief moment while it is
checking a few things on the client with javascript?
once checked it may need to redirect to another page...
currently the 1st page flashes up just before the redirection... looks a
little messy.
any help or ideas appreciated.
|
by: Santosh |
last post by:
Hi,
I have a requirement in which, I need to capture a loan amount and the
amount of down payment for that loan. According to the requirement,
the user is going to enter enter the loan amount and then will enter
the down payment in either percentage of the loan amount or an actual
amount. I have designed a form to capture this information with three
text fields, one each for loan amount, down payment in % and down
payment in $.
So the...
|
by: x muzuo |
last post by:
Hi guys,
I have got a prob of javascript form validation which just doesnt work
with my ASP code. Can any one help me out please.
Here is the code:
{////<<head>
<title>IIBO Submit Page</title>
</head>
<style type="text/css">
| |
by: Grasshopper |
last post by:
Hi,
I am automating Access reports to PDF using PDF Writer 6.0. I've
created a DTS package to run the reports and schedule a job to run this
DTS package. If I PC Anywhere into the server on where the job is
running, the job runs sucessfully, PDF files got generated, everything
is good. If I scheduled the job to run at the time that I am not
logged into the server, Access is not able to print to the printer.
The error is pretty...
|
by: Jim Hammond |
last post by:
The following code uses a client-side component to capture an image from the
camera on the client system.
The problem is that the init function (in ClientSideAssembly_Video.dll) is
called once when the page is first displayed and then each time the button
is pressed.
I'm guessing that the component is being instantiated each time. Is there
any way to keep using the same instance?
|
by: '69 Camaro |
last post by:
Perhaps I'm Googling for the wrong terms. Does anyone have links to
examples of the syntax necessary to read the HTML on another Web page when
that HTML is produced from JavaScript using the document.write( ) method?
For a simplified example, I have two Web pages. Page 1 uses JavaScript with
the following:
htmlData = "<B>This is bold text.</B>";
document.write(htmlData);
|
by: ApexData |
last post by:
I can't seem to make a PopUp Dialog form Invisible!
'My main form calls the PopUp
DoCmd.OpenForm "F-PAUSE", WindowMode:=acDialog
'My PopUp form "F-PAUSE" contains this code
Private Sub Form_Open(Cancel As Integer)
Forms!.Visible = False
' Me.Visible = False 'this did not work either
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |