How can i create a drop down like this?

Discussion in 'PHP' started by log0008, Jul 14, 2014.

  1. #1
    Hello,
    I would like to display the following 'recommended for you' section on my site as shown below in the drop down, so it only displays after a users clicks something saying 'recommended videos"... How could i do this?
    [​IMG]

    Like the large Show/hide ad on the homepage of youtube
     
    log0008, Jul 14, 2014 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Asking in the right forum might help. This is not in any way PHP related. I suggest asking in the HTML/CSS/javascript forums.
     
    PoPSiCLe, Jul 14, 2014 IP
    log0008 likes this.
  3. log0008

    log0008 Active Member

    Messages:
    679
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Opps, thanks for that didn't mean to put it in PHP
     
    log0008, Jul 14, 2014 IP
  4. Imrul Tusher

    Imrul Tusher Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    It's relay easy to solve by bootstrap3 jabascript. You used data-toggle class.
    like as below:
    <div class="dropdown">
    <a data-toggle="dropdown" href="#">Dropdown trigger</a>
    <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
    ...
    </ul>
    </div>
     
    Imrul Tusher, Jul 14, 2014 IP
  5. kanha sahu

    kanha sahu Member

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    38
    #5
    css menu.png
    is the very light weight css navigation menu, you need to change color only.
     

    Attached Files:

    kanha sahu, Jul 15, 2014 IP
  6. Imrul Tusher

    Imrul Tusher Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #6
    Complite it!!
     

    Attached Files:

    Imrul Tusher, Jul 16, 2014 IP