> you could also just use the PVII script on body load to
show the
> appropriate div - you could change the name in the" with
the appropriate
> switch statement.
Ew. Double ew.
I'm going to let it ride as is, until someone complains.
Thanks for the
neurons, though. Do you need them back? Or I should say, "you
DO need them
back"!
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"crash" <crash@bcdcdigital.com> wrote in message
news:ehl8ic$8dk$1@forums.macromedia.com...
> you could also just use the PVII script on body load to
show the
> appropriate div - you could change the name in the" with
the appropriate
> switch statement.
>
> It's my belief that some of your html elements will be
able to show while
> others are still being built. I guess I could be wrong
on this, but I
> think practically I'm right (ie, you can see elements on
my page building
> before the page is completely done).
>
> HTH,
>
> Jon
>
> "crash" <crash@bcdcdigital.com> wrote in message
> news:ehl7po$7g4$1@forums.macromedia.com...
>> summation:
>> In your SQL, at the bottom of the statement, you
should be able to put a
>> javascript call that will re-structure the
visibility of the elements
>> according to the variabels returned by the SQL. One
page, reloaded once.
>>
>> My switch statement got a little convoluted. You
should be able to just
>> set one variable, or set one number and go from
there (ie, if $v=3, hide
>> other two), but i've not had any coffee or caffinne
yet.
>>
>>
===========================================================
>> Is the code in the third message on this post from
the originating page?
>> I took that it was, that it had a form, that form
reloaded the same page?
>>
>> If so, you should be able to put a switch in there:
>>
>> switch($stage){
>> case "upload":
>> #this should be once the form has been completed
>> $status=1; //status equal one, two or threee is one
method you could
>> use.
>> break;
>> case "complete"://you could aalso set a variable for
each section, i
>> think the one above is better, but this one made
more sense right now,
>> lol.
>> #show the results,
>> $resultsState="show";
>> $formState="hide";
>> $waitState="hide";
>> break;
>> case default:
>> #empty, or first state, show the form to upload the
data
>> $live="form";
>> break;
>> }
>>
>> then, below:
>>
>> <div id="form" class="<?php echo $formState
?>">
>> <form>
>> whatever
>> </form>
>> </div>
>>
>> <div id="wait" class="<?php echo $waitState
?>">
>> <img src="img/wait.gif" />
>> </div>
>>
>> <div id="results" class="<?php echo
$resultsState ?>">
>> <h1>Results</h1>
>> <p>stuff here</p>
>> </div>
>>
>>
>>
>>
>>
>>
>> "Murray *ACE*"
<forums@HAHAgreat-web-sights.com> wrote in message
>> news:ehl6ec$5mf$1@forums.macromedia.com...
>>>I can do that. I'm worried about passing the zips
array (which has been
>>>exploded from the input) to the process page. How
would I best do that?
>>>
>>> --
>>> Murray --- ICQ 71997575
>>> Adobe Community Expert
>>> (If you *MUST* email me, don't LAUGH when you do
so!)
>>> ==================
>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>> ==================
>>>
>>>
>>> "crash" <crash@bcdcdigital.com> wrote in
message
>>> news:ehl614$58d$1@forums.macromedia.com...
>>>> THis is how I see the process, I guess I
might not be following you:
>>>>
>>>> 1. User goes to form page, to submit zips.
>>>> 2. User completes form, hits upload
>>>> 3. Page refreshes itself, publishes please
wait message (ie, could you
>>>> not put an if [form submit] is true, echo
this image, then begin the
>>>> sql calculations)
>>>> 4. As the calculations are finished, toggle
visibility of image off,
>>>> toggle div with results on.
>>>>
>>>> If that doesn't work, sorry, I completely
misunderstand and will leave
>>>> you be.
>>>>
>>>> "Murray *ACE*"
<forums@HAHAgreat-web-sights.com> wrote in message
>>>> news:ehjgeo$2uh$1@forums.macromedia.com...
>>>>> But then there's no opportunity to slam
the waiting message up
>>>>> there....
>>>>>
>>>>> --
>>>>> Murray --- ICQ 71997575
>>>>> Adobe Community Expert
>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>> ==================
>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>> ==================
>>>>>
>>>>>
>>>>> "crash" <crash@bcdcdigital.com>
wrote in message
>>>>>
news:ehjbhr$qse$1@forums.macromedia.com...
>>>>>> couldn't you just have it reload the
same page (isn't it anyway?).
>>>>>>
>>>>>>
>>>>>> "Murray *ACE*"
<forums@HAHAgreat-web-sights.com> wrote in message
>>>>>>
news:ehjbfm$qqe$1@forums.macromedia.com...
>>>>>>> Thanks, Joe. This troubles my
mind, either way!
>>>>>>>
>>>>>>> --
>>>>>>> Murray --- ICQ 71997575
>>>>>>> Adobe Community Expert
>>>>>>> (If you *MUST* email me, don't
LAUGH when you do so!)
>>>>>>> ==================
>>>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM)
>>>>>>> Technotes
>>>>>>> ==================
>>>>>>>
>>>>>>>
>>>>>>> "Joe Makowiec"
<makowiec@invalid.invalid> wrote in message
>>>>>>>
news:Xns9865842B0545AmakowiecatnycapdotrE@216.104.212.96...
>>>>>>>> On 23 Oct 2006 in
macromedia.dreamweaver.appdev, Murray *ACE*
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> LOL - OK, see, I was
hoping to avoid breaking it into separate
>>>>>>>>> pages
>>>>>>>>> like that, but that way
looks like it'll work....
>>>>>>>>
>>>>>>>> You can just re-call the
page which processes the form data, and
>>>>>>>> check
>>>>>>>> whether or not the
processing has been done:
>>>>>>>>
>>>>>>>> <?php
>>>>>>>> if ($dataWasProcessed) {
>>>>>>>> echo '<h1>Thank you
for using Murray's Data Processing</h1>';
>>>>>>>> } else {
>>>>>>>> // Code to process form goes
here
>>>>>>>> // Code to re-call page with
$dataWasProcessed set goes here
>>>>>>>> // How to set that var left
as an exercise for the reader
>>>>>>>> }
>>>>>>>>
>>>>>>>> Personally, I find that it
troubles my mind less to do such things
>>>>>>>> in
>>>>>>>> separate files.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Joe Makowiec
>>>>>>>>
http://makowiec.net/
>>>>>>>> Email:
http://makowiec.net/email.php
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>