Results 1 to 6 of 6

Thread: coding help

  1. #1
    Join Date
    Jul 2006
    Location
    North London (Brap)
    Posts
    1,388
    Tokens
    0

    Latest Awards:

    Default coding help

    basically, i need someone to help me code a box expandable so eg

    i click a link, it will go into that box and expand to the correct length

    ill show you what i mean more clearly on msn


    Earn Free IPods, Psps, Domains Here

    761 Rep Points Recieved Thanks Guys

    Last Rep By Fight
    :eusa_clap



  2. #2
    Join Date
    Jul 2008
    Posts
    16
    Tokens
    0

    Default

    Firstly theres no such thing as an expandable "box", all containers expand unless stated in width or overflow.

    Gathering from your explanation i guess you want a container which loads content when a person clicks a link, is this right?

  3. #3
    Join Date
    Jun 2008
    Posts
    134
    Tokens
    0

    Default

    I think your on about JAVAscritp drop-down menus?

  4. #4
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    You need to elaborate more when you make threads like this. I think I understand you though.

    CSS
    Code:
    .box_container {
    background-color: #aeaeae;
    width: 250px;
    }
    
    .box_top {
    width: 250px;
    height: 25px;
    }
    
    .box_middle {
    width: 25px;
    }
    
    .box_bottom {
    width: 250px;
    height: 25px;
    }
    HTML
    Code:
    <div class="box_container">
    
    <div class="box_top">content</div>
    <div class="box_middle">text</div>
    <div class="box_bottom"></div>
    
    </div>
    That's your expandable 'box' (it's a div, actually). Now just add your navigation wherever. Say one of the links is contact.php: just copy your code from index.php into a new file named contact.php and then just change the content text. And then voila.

  5. #5
    Join Date
    May 2008
    Posts
    1,160
    Tokens
    11

    Latest Awards:

    Default

    I think he wants an expandable iFrame...
    Previously a Habbo fanatic, web designer/developer, fansite owner, & trusted member of the community.

  6. #6
    Join Date
    Nov 2006
    Location
    Liverpool/Manchester
    Posts
    2,457
    Tokens
    0

    Latest Awards:

    Default

    http://www.dynamicdrive.com/dynamici...iframessi2.htm

    Thats what you need Iframe will expand to corrent length

    Hope that helps

    Edit: oh my I just noticed the time stamp of the 1st post.
    Joe


Posting Permissions

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