PDA

View Full Version : Posting in TABS



goldfiles
04-25-2008, 09:29 AM
1) Script Title: Ajax Tabs Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:
I have a basic HTML form with some text fields, checkboxes, a button, etc. And it is all inside one of the tabbed pages. How can I get the form button to POST this information?

goldfiles
04-25-2008, 12:07 PM
I'm trying to get the form to POST it back into the tabbed page without having to refresh the entire browser window.

goldfiles
04-25-2008, 11:19 PM
anyone? Trying to get it to post back to the same page, within the same tab for a PHP script.

goldfiles
04-26-2008, 04:47 AM
Okay, I have the script working within an #IFRAME now, and it is able to post back to the IFRAME. My only question now is, how can I change the HEIGHT of the tab window? When I switch to the IFRAME tab, it is always the same tiny height. How can I set this?

rangana
04-26-2008, 05:00 AM
Have you tried adding the highlighted to the div that holds your iframe:


<div id="countrydivcontainer" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px;height:500px;">


....You can also adjust your iframe's height through CSS ;)


<style type="text/css">
iframe{height:500px;}
</style>


Hope that keeps you going ;)

goldfiles
04-26-2008, 05:31 AM
Changing the height of the "countrydivcontainer" increases the height of the container, but the iframe inside the container is still very small (like 200px).

I tried adding iframe{height:500px;} to my CSS style sheets on both pages, with no effect.

rangana
04-26-2008, 05:46 AM
Could you please link us to the page you were referring :)

goldfiles
04-26-2008, 06:10 AM
nope :)

Right now it requires a login.