Marco Song Marco Song - 2 months ago 13
HTML Question

Make html table like mac calendar

I am making a html table and there is a column to show comments.

Comments are sometimes too long to show in a small table cell,

so I want to add an effect to the column like mac calendar, when I

click on the cell, the content will popup.

Anybody could tell me what technology can be used for this?

enter image description here


You can use bootstrap to solve this problems, especially bootstrap popovers.

First of all, in your script.js or script tags include...


In your head tags of your html, include...

<link rel="stylesheet" href="">
<script src=""></script>
<script src=""></script>

To make your popover, do this.

<a href="#" title="New Event Popover" data-toggle="popover" data-placement="left" data-content="These are your events">Click</a>