Admin Lãnh Chúa
Giới tính tớ là : Posts : 221 Points : 548 Thanked : 14 Tuổi : 30 Đến từ : wWw.Kiddy9.cO.cC Blast : Love Kiddy9
| Tiêu đề: Xem Ảnh bằng Light Box 9/11/2010, 8:47 pm | |
| 1. Chèn code sau vào CSS: - Code:
-
/* SLIMBOX */ #lbOverlay{position:fixed;z-index: 999;left:0;top:0;width:100%;height:100%;background-color:#000;cursor:pointer;} #lbCenter,#lbBottomContainer{position:absolute;z-index: 999;overflow:hidden;background-color:#fff;} .lbLoading{background:#fff url(http://i28.servimg.com/u/f28/13/98/42/59/novfao10.gif) no-repeat center;} #lbImage{position:absolute;left:0;top:0;border:10px solid #fff;background-repeat:no-repeat;} #lbPrevLink,#lbNextLink{display:block;position:absolute;top:0;width:50%;outline:none;} #lbPrevLink{left:0;} #lbPrevLink:hover{background:transparent url(http://i28.servimg.com/u/f28/13/98/42/59/11qo2n10.gif) no-repeat 0 15%;} #lbNextLink{right:0;} #lbNextLink:hover{background:transparent url(http://i28.servimg.com/u/f28/13/98/42/59/1r7u6o10.gif) no-repeat 100% 15%;} #lbBottom{font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;font-size:10px;color:#666;line-height:1.4em;text-align:left;border:10px solid #fff;border-top-style:none;} #lbCloseLink{display:block;float:right;width:66px;height:22px;background:transparent url(http://i28.servimg.com/u/f28/13/98/42/59/1217by10.gif) no-repeat center;outline:none;margin:5px 0;} #lbCaption,#lbNumber{margin-right:71px;} #lbCaption{font-weight:bold;}
2. Thêm code sau vào overalll_header: - Code:
-
<script type="text/javascript" src="http://cfviet.luutru.co.cc/Xemanh"></script>
3. Quản lý tổng thể -> tab Messages and Emails trong tab đó vô Cấu hình diễn đàn tìm Image resize chỉnh như hình: Xem trong viewtopic_body còn đoạn script này không, nếu không thì thêm vào. - Code:
-
<!-- BEGIN switch_image_resize --><script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]></script><!-- END switch_image_resize -->
Nguồn: cfviet.co.cc | |
|
sinhhoc Nô lệ
Giới tính tớ là : Posts : 14 Points : 21 Thanked : 1 Đến từ : sinhhoc.us.to
| Tiêu đề: Re: Xem Ảnh bằng Light Box 9/11/2010, 8:51 pm | |
| mình đã làm theo mà không được, Admin có biết vì sao không | |
|
Admin Lãnh Chúa
Giới tính tớ là : Posts : 221 Points : 548 Thanked : 14 Tuổi : 30 Đến từ : wWw.Kiddy9.cO.cC Blast : Love Kiddy9
| Tiêu đề: Re: Xem Ảnh bằng Light Box 9/11/2010, 9:01 pm | |
| - sinhhoc đã viết:
- mình đã làm theo mà không được, Admin có biết vì sao không
Thử thay bằg code sau xem: - Code:
-
<script type="text/javascript" src="http://teensg.webs.com/lightbox.js"></script>
chèn thử vào cuối footer | |
|
sinhhoc Nô lệ
Giới tính tớ là : Posts : 14 Points : 21 Thanked : 1 Đến từ : sinhhoc.us.to
| Tiêu đề: Re: Xem Ảnh bằng Light Box 9/11/2010, 9:10 pm | |
| | |
|
sinhhoc Nô lệ
Giới tính tớ là : Posts : 14 Points : 21 Thanked : 1 Đến từ : sinhhoc.us.to
| Tiêu đề: Re: Xem Ảnh bằng Light Box 9/11/2010, 9:12 pm | |
| Ah, code của cfviet.co.cc chạy được rồi, mình đưa header và footer về mặt định thì nó chạy, chắc là do Skin của c3z bị lỗi cái gì đó | |
|
Sponsored content
| Tiêu đề: Re: Xem Ảnh bằng Light Box | |
| |
|