Pārlūkot izejas kodu

add fade transiction

jfdelrio 17 gadus atpakaļ
vecāks
revīzija
388b5bffd3
1 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  1. 8 1
      admin/feeds.php

+ 8 - 1
admin/feeds.php Parādīt failu

@@ -44,8 +44,15 @@ if ($user->isAdmin()) {
44 44
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
45 45
 		<meta name="generator" content="gelato cms <?php echo version();?>" />
46 46
 		<link rel="shortcut icon" href="<?php echo $conf->urlGelato;?>/images/favicon.ico" />
47
+		<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato;?>/admin/scripts/jquery.js"></script>
47 48
 		<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato;?>/admin/scripts/tools.js"></script>
48
-		<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato;?>/admin/scripts/mootools.js"></script>
49
+		<script type="text/javascript">
50
+		$(document).ready(function(){
51
+			$("#divMessages").fadeOut(5000,function(){
52
+				$("#divMessages").css({display:"none"});
53
+			});
54
+		});
55
+		</script>
49 56
 		<style type="text/css" media="screen">	
50 57
 			@import "<?php echo $conf->urlGelato;?>/admin/css/style.css";
51 58
 		</style>