Results 1 to 5 of 5

Thread: Ajax Tabs Content

  1. #1
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Ajax Tabs Content

    1) Script Title: Ajax Tabs Content

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

    3) Describe problem: I want to see the custome height for container
    i tried this
    <div id="countrydivcontainer" style="border:1px solid gray; width:470px; height:236; margin-bottom: 1em; padding: 10px">

    define : height:236 on above example but it didn't work, it takes the default height , i checked js and css file but couldn't find to set the height


    Also i don't want to show scroll bar appears right and botthom if i am using tab as #iframe. is there any way for that when displaying external page inside countainer

  2. #2
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Did it !

    After keep on trying i found the iframe settings at js file, Problem is solved

  3. #3
    Join Date
    Nov 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How has you done it because I am dealing with the same problem. I can change the js file but want it dynamic for each iframe.
    Have no idea how to to this

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    What are you trying to do arachnid? The OP was asking how to fine tune the style of the IFRAME tag used by the script. This can be done either by styling the css Classname "tabcontentiframe", or if you need even more control, directly edit the IFRAME tag inside the .js file as desired:
    Code:
    this.defaultIframe='<iframe src="about:blank" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" class="tabcontentiframe" style="width:100%; height:auto; min-height: 100px"></iframe>'

  5. #5
    Join Date
    Nov 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks I shall try your suggestion of styling the css Classname "tabcontentiframe".
    My excuses about my stupidity but I am a novice with Ajax and CSS and trying hard to understand it.

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
  •