admin [—»Sói™~]-[Ðại Ma Ðầu]
Giới tính : Chinese zodiac : Bài viết : 1042 Xu : 158 Thanked : 650 Sinh Nhật : 20/09/1990 Tham Gia : 15/07/2011 Tuổi : 33 Yahoo : Hà Nội Nghề Nghiệp : Giáo Sư Status : hgfggggggggggggg
Character sheet Tài Sản:
| Tiêu đề: Hướng dẫn tạo slide note ở góc phải màn hình 4rum cực đẹp Thu Aug 04, 2011 10:49 am | |
| 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. Chúc thành công. Nguồn : sưu tầm. - 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>
| |
|