views:

45

answers:

1

I'm developing a web site for the iPhone.
One script that I'm using as a work around for the unsupported "position=fixed" class positions the div perfectly and lets the user scroll through the list while this div stays put. Works perfectly except when the user types something in the text field in the "fixed position" div. The standard typing panel moves in from the bottom and pushes the fixed position div out of the way. When the user is done typing the panel goes away, BUT the fixed position div stays right where the typing panel left it (pushed up too far).

Is there a way that I can say "if text panel = done / close -- restore / re-run positioning script"

What's the event called when the text panel retreats?

How can a javascript target that state?

Thanks!!!

A: 

Try listening for the onChanged and/or onBlur event of the text field and do some javascript foo

slf