+ Reply to Thread
Results 1 to 4 of 4

Thread: How do I links TABS to an IFRAME ?
      
   

  1. #1
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Question How do I links TABS to an IFRAME ?

    Hi Folks,

    I am trying to do something like this but without the major scripts and effort in changing values consisitantly.

    www.gnjgf.co.za/gngucal.html

    How do I link a tab menu with one singular Iframe that when I click on the month I see the result of the click in the iframe

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,719

    Default Re: How do I links TABS to an IFRAME ?

    Hi , i believe you named your iframe "tabiframe" If so! When you link from the tab FEB, type in the url you want to appear in the frame & also type tabiframe in the target field. The pages you want to appear in the frame must be published.

  3. #3
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Question Re: How do I links TABS to an IFRAME ?

    Hi Chris,

    Thanks for that help - quick and easy.

    Now for the tricky part.

    How does a person increase / chnage the spacing between the tabs?

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,719

    Default Re: How do I links TABS to an IFRAME ?

    Hi, you will need to play around with the css part than you placed in the head of the page.
    Try increasing the margin number to (lets say) 8 & see how that changes the looks. Make the changes 1 at a time & play with the ones on blue as well.

    </style>
    <style type="text/css">
    #TabMenu1
    {
    float: left;
    width: 100%;
    font-family: Arial;
    font-size: 11px;
    line-height: normal;
    }
    #TabMenu1 ul
    {
    margin: 8;
    padding: 10px 0px 3px 10px;
    list-style: none;
    }
    #TabMenu1 li
    {
    display: inline;
    margin: 0;
    padding: 0;
    }
    #TabMenu1 a
    {
    float: left;
    background: url("style13left.gif") no-repeat left top;
    margin: 0;
    padding: 0 0 0 4px;
    text-decoration: none;
    }
    #TabMenu1 a span
    {
    float: none;
    display: block;
    background: url("style13right.gif") no-repeat right top;
    padding: 5px 15px 4px 6px;
    color: #627EB7;
    font-weight: bold;
    text-decoration: none;
    }
    #TabMenu1 a:hover span
    {
    background-position: 100% -42px;
    color: #FF0000;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    }
    #TabMenu1 a:hover
    {
    background-position: 0% -42px;
    }
    #TabMenu1 #active a
    {
    background-position: 0% -84px;
    }
    #TabMenu1 #active a span
    {
    background-position: 100% -84px;
    color: #627EB7;
    font-weight: bold;
    text-decoration: none;
    }
    </style>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49