Doğru Cevap
-
++ redbull330@hotmail.com ++
alert() methodu üzerinde style yapman mümkün degil ama bunun icin jquerynin bir api'Si var
bu kodlari bir dene begenirsen api'nin sayfasi:
http://api.jqueryui.com/dialog/
_________________________________________________________
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>dialog demo</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
</head>
<body>
<button id="opener">open the dialog</button>
<div id="dialog" title="Dialog Title">I'm a dialog</div>
<script>
$( "#dialog" ).dialog({ autoOpen: false });
$( "#opener" ).click(function() {
$( "#dialog" ).dialog( "open" );
});
</script>
</body>
</html>
_____________________________________________________________
Cevaplar
Hiç cevap bulunamadı.