[TriLUG] "Magic" navigation

William Sutton william at trilug.org
Tue Oct 23 12:25:24 EDT 2007


I guess I'm still not understanding what exactly it is you want to do. 
Let's see if I can restate the problem:

1. you have a group of buttons at the top of the page that hide/reveal 
certain blocks of text further down the page
2. you want to jump to a particular block after you reveal it
3. you have the <form> tag around the action buttons posting back to the 
php script that previously rendered the current page

When you re-submit the page for the actions that hide/reveal text, do you 
process the text on the server side, or do you pass it through unchanged?

William Sutton


On Tue, 23 Oct 2007, Brian McCullough wrote:

> On Tue, Oct 23, 2007 at 11:04:13AM -0400, William Sutton wrote:
>> No, I think I misunderstood you.  Can you embed achors (<A NAME=foo>) in
>> each div and redirect to #foo (etc) when you expose it?
>
> I thought about that, and maybe I don't understand a way around what I
> see as the problem, so I hope that you do.
>
>
> The way that I see it, the sequence of events is:
>
>
> Draw page, including form -- form contains "action=me.php#target"
>
> User clicks on button on that form
>
> Page is re-served from Apache, and processing of the button click is
> done, which results in new content being shown on the page.
>
> At this point, we want to go to "newTarget", _not_ "target", as shown in
> the "action" clause of the form, which was set "hours" ago.
>
> Any thoughts?
>
>
> B-)
>
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>
>



More information about the TriLUG mailing list