Results 1 to 2 of 2

Thread: box like this? CSS?

  1. #1
    Join Date
    Jan 2007
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question box like this? CSS?

    Hi Guys,

    If you have time, I have a little question to ask:

    Please have a look at the box "Most Popular" at the right hanside on http://www.nytimes.com/

    or the same tabbing box on https://www.godaddy.com/gdshop/trans...ing.asp?ci=255


    I am trying to get the same box with switching panels done, and the tabbing is working quite well. but still i don't know how to set the CSS (of the tabs) to be just like the same: with frame around, blackground, underline links and no bottom line when the tab is clicked.

    I have really tried to set all the CSS but seems it does not work.

    see code
    HTML Code:
    <span id="layabout" class="tab1" onClick="document.getElementById('layer_about').style.display='inline'; document.getElementById('layer_news').style.display='none'; document.getElementById('layer_conferences').style.display='none';">About
    </span>
    Is there any open source i can have a look at? or any suggestion?

    Thank you in advance

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    It is a combination of JavaScript & CSS. You can either start writing your own one or can use a built-in feature available in Yahoo UI JavaScript framework. You can have a look at some examples and the API using which you can create your own tab view.

    Yahoo UI TabView Page

    Another tabview script

    Hope this helps.

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
  •