新圖片顯示功能: [light]

歡迎開開心心齊吹水
User avatar
韋信
Posts: 1956
Joined: Thu Oct 23, 2014 10:54 pm
Location: 唔比著黃衫踢波既球場
Contact:

新圖片顯示功能: [light]

Post by 韋信 »

新功能 [light],係一個類似 lightbox 既圖片顯示功能。

用法:
[light]http://img.anyanother.com/data/74213.jpg[/light]

upload 上 on099.com 既 attachment 亦適用,現時測試過既 style theme:

Prosilver:顯示正常
Prosilver attachment:顯示正常
Subsilver:顯示正常
Subsilver attachment:顯示正常
Mobile UI:顯示正常
Mobile UI attachment:試過有問題,請沿用老方法,見 http://www.on099.com/viewtopic.php?f=2&t=149" onclick="window.open(this.href);return false;
You do not have the required permissions to view the files attached to this post.
Last edited by 韋信 on Fri Nov 07, 2014 5:29 pm, edited 6 times in total.
User avatar
wmmokk
Posts: 780
Joined: Wed Oct 29, 2014 4:04 pm

Re: 新功能測試 [light]

Post by wmmokk »



testing :)
User avatar
韋信
Posts: 1956
Joined: Thu Oct 23, 2014 10:54 pm
Location: 唔比著黃衫踢波既球場
Contact:

Re: 新圖片顯示功能: [light]

Post by 韋信 »

push :ymblushing:
User avatar
wmmokk
Posts: 780
Joined: Wed Oct 29, 2014 4:04 pm

Re: 新圖片顯示功能: [light]

Post by wmmokk »



test id :-@
User avatar
wmmokk
Posts: 780
Joined: Wed Oct 29, 2014 4:04 pm

Re: 新圖片顯示功能: [light]

Post by wmmokk »

attachment link唔使加 .jpg
User avatar
韋信
Posts: 1956
Joined: Thu Oct 23, 2014 10:54 pm
Location: 唔比著黃衫踢波既球場
Contact:

Re: 新圖片顯示功能: [light]

Post by 韋信 »

wmmokk wrote:

test id :-@
但出唔到 fancybox. 試下我呢個(加左.jpg)

User avatar
wmmokk
Posts: 780
Joined: Wed Oct 29, 2014 4:04 pm

Re: 新圖片顯示功能: [light]

Post by wmmokk »

Set default fancybox type to image

Code: Select all

<script type="text/javascript">
$(document).ready(function() {
  $(".fancybox").fancybox({
    type        : 'image',
    openEffect  : 'none',
    closeEffect : 'none'
  });
});
</script>
http://stackoverflow.com/questions/1854 ... not-in-box" onclick="window.open(this.href);return false;
User avatar
韋信
Posts: 1956
Joined: Thu Oct 23, 2014 10:54 pm
Location: 唔比著黃衫踢波既球場
Contact:

Re: 新圖片顯示功能: [light]

Post by 韋信 »

^:)^
User avatar
韋信
Posts: 1956
Joined: Thu Oct 23, 2014 10:54 pm
Location: 唔比著黃衫踢波既球場
Contact:

Re: 新圖片顯示功能: [light]

Post by 韋信 »

搞完乜七都出唔到 :onion51:
User avatar
韋信
Posts: 1956
Joined: Thu Oct 23, 2014 10:54 pm
Location: 唔比著黃衫踢波既球場
Contact:

Re: 新圖片顯示功能: [light]

Post by 韋信 »

ok 了, 多謝 wmmokk。 ^:)^
Post Reply