Bootstrap 3,4,5 modal hybrid

Merhabalar,

Boostrap UX tüm versiyonları ile uyumlu modal kodu aşağıdaki gibidir 🙂

<div id="ModalYoutube" class="modal fade">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<?php if ($bootstrap == "BT4" || $bootstrap == "BT5" ) { ?><h4 class="modal-title"><?=$baslik?></h4><?php } ?>
				<button type="button" class="close" data-dismiss="modal">&times;</button>
				<?php if ($bootstrap == "BT3" ) { ?><h4 class="modal-title"><?=$baslik?></h4><?php } ?>
			</div>
				<div class="modal-body">
				<div class="alert alert-success alert-dismissable <?=$bt4_alert_gizle;?>" id="ModalMesaj" >
				<button type="button" onclick="$('#ModalMesaj').removeClass('show');" class="close" ><span aria-hidden="true">&times;</span></button>
				<strong id="ModalMesajBaslik"></strong>&nbsp;<span id="ModalMesajMetni"></span>
				</div> 				
				</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default btn-<?=$dugmeboyutu;?>" data-dismiss="modal"><span class="glyphicon glyphicon-remove-circle"></span> <?=$l_kapat?></button>
			</div>
		</div>
	</div>
</div>					


VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)