[Pro] Form Popup Control

I am creating a template for a database-driven site.

I am assuming that if I am intelligent in setting up the form stuff to send (basically the search info), then connecting the front end and back is a minor matter.

So I am now trying to get the behavior I want, and have a question on form control.

The page so far is at

http://www.tedgoranson.com/test/

It is inspired by

http://www.tedgoranson.com

which is not a Freeway site.

In the test, on the right, I have three ‘find in’ buttons attached to a popup form and three ‘list by’ buttons similarly linked to a popup form.

In the final design, the three ‘find in’ buttons will be stacked behind its popup and placed above the search field. Similarly, the three ‘list by’ buttons and its popup will be stacked under the search field.

I have coded (by rollover and hide/show layer) the buttons so that they show the popup. Now the question is how do I make (in Freeway) a popup selection:

– hide the popup

– show the correct button in the stack

– hide the other two buttons

I am using a form popup instead of an html or graphic construction because I am thinking it will be easier for the database query hookup.

Thanks in advance.

http://www.tedgoranson.com/test/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I would have a single popup (set to size 1, so it shows only one option at a time):

Find in: ( Comments v)
           Titles
           All

Call that picker find_in, and set its values to match the labels. Then, on your back-end, you would simply check for the value of $_REQUEST[‘find_in’] and modify your search query appropriately.

I would do likewise with your List By pickers – those can be one picker with multiple values.

Walter

On Jul 3, 2012, at 10:10 AM, tedg wrote:

I am creating a template for a database-driven site.

I am assuming that if I am intelligent in setting up the form stuff to send (basically the search info), then connecting the front end and back is a minor matter.

So I am now trying to get the behavior I want, and have a question on form control.

The page so far is at

Untitled

It is inspired by

http://www.tedgoranson.com

which is not a Freeway site.

In the test, on the right, I have three ‘find in’ buttons attached to a popup form and three ‘list by’ buttons similarly linked to a popup form.

In the final design, the three ‘find in’ buttons will be stacked behind its popup and placed above the search field. Similarly, the three ‘list by’ buttons and its popup will be stacked under the search field.

I have coded (by rollover and hide/show layer) the buttons so that they show the popup. Now the question is how do I make (in Freeway) a popup selection:

– hide the popup

– show the correct button in the stack

– hide the other two buttons

I am using a form popup instead of an html or graphic construction because I am thinking it will be easier for the database query hookup.

Thanks in advance.

Untitled


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yeah, much nicer. Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options