The expand mode, etc., doesn't really mess with the height of the containing element directly. Rather, the result container is left with a height of auto, and then the expansion div is toggled between display:block; and display:none; The containing element just automatically expands to contain the results. As long as you're not reloading the page, this setting shouldn't be lost. I wonder if you could provide a link to your application so we could see exactly what it's doing.
As far as opening the configuration div is concerned, that's a bit trickier. The code that is involved with that is actually obfuscated, and it will shift from time to time (possibly as often as the dev team pushes an update, which can be two and three times a week). The best way to do it would probably be to traverse the DOM and trigger the settings icon's onclick event. To do this, you'll need to write a getElementsByClassName function and get the elements in the control's container div that carry the className gsc-twiddle-closed. The only problem with this approach will be that you will actually open all of the configuration boxes in the control. Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [EMAIL PROTECTED] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
