Results 1 to 8 of 8

Thread: Posting in TABS

  1. #1
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Posting in TABS

    1) Script Title: Ajax Tabs Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/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?

  2. #2
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm trying to get the form to POST it back into the tabbed page without having to refresh the entire browser window.

  3. #3
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    anyone? Trying to get it to post back to the same page, within the same tab for a PHP script.

  4. #4
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

  5. #5
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Have you tried adding the highlighted to the div that holds your iframe:
    Code:
    <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
    Code:
    <style type="text/css">
    iframe{height:500px;}
    </style>
    Hope that keeps you going
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  6. #6
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  7. #7
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Could you please link us to the page you were referring
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  8. #8
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    nope

    Right now it requires a login.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •