PHP
- 5 ответов
- 0 вопросов
2
Вклад в тег
tabindex="-1"
<a href="#my-modal" data-keyboard="true" data-toggle="modal">Open Modal</a>
<div class='modal fade hide' id='my-modal' tabindex='-1'>
<div class='modal-body'>
<div>Test</div>
</div>
<div id="modal_id" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
$('#modal_id').modal({ backdrop: 'static', keyboard: false });
class Rextester
{
public static void main(String[] args) {
String text = "JavaRush. Learn once — use anywhere";
run(text);
}
public static void run(String text) {
for(int i = 0; i<10; i++ ){
System.out.println(text);
}
}
}