Administrator Administrator
Đến từ : OnlineWorld Tham Gia : 20/12/2011 Posts : 168 Points : 542 Thanked : 3 Tuổi : 26 Lời Muốn Nói : Mình Chỉ Cần 4 Điều: 1 Vợ...2 Con...3 Lầu...4 Bánh
| Tiêu đề: [Forumtion] Hướng dẫn tạo slide note ở góc phải màn hình 4rum cực đẹp Thu Feb 16, 2012 6:02 pm | |
| - Code:
-
<link rel="stylesheet" type="text/css" href="http://quangtrung.googlecode.com/files/slidenote.demo.css" media="screen" /> <link rel="stylesheet" type="text/css" href="http://quangtrung.googlecode.com/files/jquery.slidenote.css" media="screen" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> <script type="text/javascript" src="http://quangtrung.googlecode.com/files/jquery.slidenote.js"></script> <title>slideNote Demo</title> </head> <body> <div id="note" class="slidenote"></div> </div> <script type="text/javascript"> $('#leftNote').slideNote({ corner: 'left', where: 100, });
$('#note').slideNote({ url: '/h130-page', closeImage: 'http://i24.servimg.com/u/f24/15/44/78/93/sliden10.png', displayCount: 1 }); </script> Các bạn copy tất cả code ở trên sau đó paste vào index_body hoặc overall_footer cũng được. Sửa "/h130-page" trong code thành link trang chứa nội dung thông báo của bạn. Để chỉnh size của slide note các bạn tải 2 file .css về edit lại theo ý muốn nha. Cgúc thành công. | |
|