[UPHPU] modal popup form over form
MilesTogoe
miles.togoe at gmail.com
Tue Nov 4 10:21:12 MST 2008
Nathan Lane wrote:
> Are you saying that you are trying to create a CSS/HTML-based dialog
> "pop up" in front of the form to add a new item to the list table via
> javascript I assume? You could just use javascript to refresh the
> list, you could also put the list in an iframe and refresh the whole
> page. It kind of sounds like you're looking for a more artificial
> refresh. PHP in general is not Model-View-Controller based like rails,
> so you might take Firebug (a firefox plugin) and look at the rails
> final product you did and see how you could emulate the rails product
> in PHP using HTML and JavaScript. I don't know of a quick solution to
> this in PHP off hand.
yes we are looking at some javascript to pop up another css/html form in
front of the other form. The looking at it in firebug idea is a good
one (keep forgetting how useful it is) - we didn't do this in rails,
just saw an example that someone else did. For example, 37signals
seems to do this on the sidebar with their products.
>
> Nathan
>
> On Tue, Nov 4, 2008 at 8:13 AM, MilesTogoe <miles.togoe at gmail.com
> <mailto:miles.togoe at gmail.com>> wrote:
>
> I have the case on a select box needing to have an add capability
> (popup a form to add a new element to the list table and refresh
> the list) without disturbing the filled in data on the underlaying
> form. I've seen this done in Rails but searched around this AM
> trying to find a cool JQuery lightbox kind of dialog and didn't
> see anything like this - does anyone know of a link to a good
> example or tutorial of this ?
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org <mailto:UPHPU at uphpu.org>
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net <http://irc.freenode.net>
>
>
>
>
> --
> Nathan Lane
> Home, http://www.nathandelane.com
> Blog, http://nathandelane.blogspot.com
More information about the UPHPU
mailing list