I read the following article and set up a modal in the table.
It works fine on the PC display, but when I check it on my smartphone, the entire screen goes dark and it stops working.
The modal on the official page works fine on the smartphone site, so I think it's probably because the modal was installed in the table.
Could anyone please tell me how to improve it?
I look forward to working with you.
<table width = "100%"> <thead> <tr> <th>date</th> <th>Modal</th> </header> <tbody> <tr> <td width = "70">November 12, 2020</td> <td width = "70"> <!-Button trigger modal-> <button type = "button" data-toggle = "modal" data-target = "# exampleModalLong"> Launch demo modal </button> </td> <!-Modal-> Modal title <button type = "button" data-dismiss = "modal" aria-label = "Close"> <span aria-hidden = "true">×</span> </button> ... <button type = "button" data-dismiss = "modal">Close</button> <button type = "button">Save changes</button> </tr> </tbody> </table>
Answer # 1
I want to set a modal in the table, but I can't put a div directly under the table.
The types of tags that can be placed directly under the table are described in the Content model of 4.9.1. The table element on the following page.
As a solution, if the number is small, perform a second loop processing for modal description outside the table, or if not, the content to be displayed modally is ajax each time by clicking the button. I think it's a smart way to read it.
- ruby - i want to solve the problem that the image is not displayed when using the variant method
- html - svg is not displayed when displaying pagenation using vuetify
- html - favicon is not displayed after ssl conversion
- python - can tkinter be displayed in html?
- html - image cannot be displayed with relative path
- html - [bootstrap] jumbotron image is not displayed
- html - background-image is not displayed
- linux - i want to solve the problem that cent os 7 is forcibly terminated when i try to start it after installing it in virtual
- html - show multiple modal windows
- php - [laravel] the modal is not displayed
- html - background-image is not displayed in navigation creation practice
- html - modal window does not open
- html - rails image is not displayed
- html - background cannot be displayed background-image
- php - i want to solve the problem that an error occurs as soon as i put $result = $stmt-> fetch (pdo :: fetch_assoc) ;
- html - the color of the part that does not appear when the page is loaded is not displayed
- html : Moving the items and their refund to the starting position jQuery