![]() |
|
Kumpulan Skrip ( php,ajax,c and c++,ASP.net..dll) - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Web Programing (https://hacker-newbie.org/forum-38.html) +---- Thread: Kumpulan Skrip ( php,ajax,c and c++,ASP.net..dll) (/thread-11528.html) Pages:
1
2
|
RE: Kumpulan Skrip ( php,ajax,c and c++,ASP.net..dll) - morefast - 12-23-2011 (12-23-2011, 01:55 PM)vicky123 Wrote:(12-23-2011, 12:58 PM)morefast Wrote: buat agan yang mau mempercantik tampilan web, bisa nambahin efek jquery... caranya sama kok kayak metode CSS... selipin script javascript nya diantara <html>disini</html> (fungsi bisa diliat di web jqueryui.com) udah gitu untuk pemanggilan function nya, <div id=login-dialog> <<< id ini variabel dari function yg agan buat di script. sebagai contoh (Login Animasi Bounce): PHP Code: <html>
<head>
<title>
Animate Login Form
</title>
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.custom.min.js"></script>
</head>
<body>
<div id="login-dialog" title="Please Login!" style="display:none;">
<form name="form-login" id="form-login">
User Name : <input type="text" name="username" />
Password : <input type="password" name="password" />
</form>
</div>
<script type="text/javascript">
function showLoginForm(){
$("#login-dialog").dialog({
show:'bounce',
hide: 'fold',
buttons : {
"Sigin" : function(){
$("#form-login").submit();},
"Cancel" : function(){
$(this).dialog('close');}}}); }</script>
<a href="#" onclick="showLoginForm(); return false;">Login</a>
</body>
</html>
semoga tutor ini dapat membantu ![]() RE: Kumpulan Skrip ( php,ajax,c and c++,ASP.net..dll) - vicky123 - 12-23-2011 (12-23-2011, 03:25 PM)morefast Wrote:(12-23-2011, 01:55 PM)vicky123 Wrote:(12-23-2011, 12:58 PM)morefast Wrote: buat agan yang mau mempercantik tampilan web, bisa nambahin efek jquery... mantep ni om... ![]() nambah ilmu lagi ane d sini
|