[測試] 只是為了測試 Lightbox


2006/11/03 17:42 1,083 Views

自己架 Blog 的好處就是可以惡搞一通也沒人管:

測試一 – 單一圖片 by Lightbox JS:

測試二 – 連到網頁 by Greybox:

雖然 Greybox 也能連到單一圖片, 不過… 我高興混用。

全部改成我修改過後的 greybox.js, 利用 a 標籤的 rel 屬性值來決定要呼叫 greybox.js 的 GB_showFullScreen() 或 GB_showImage(), 如此可以避免必須將呼叫的 funcion 寫死在每個連結的 onClick 屬性中, 如下:

<a href="url" rel="showImage" title="單一圖片">單一圖片</a>
<a href="url" rel="showFullScreen" title="顯示網頁">顯示網頁</a>

有需要我的修改版的人, 請私下來信吧!

Entry Filed under: 部落格,部落格新玩意,部落格隨便聊

post to del.icio.us  post to MyShare  post to HEMiDEMi  post to funP

13 Comments Add your own

  • 1. Carrie  |  2006/11/03 12:29

    Greybox是個什麼插件?可以麻煩Goston’s介紹一下嗎?有在用Flickr所以很想知道,很方便呢!

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 2. goston  |  2006/11/03 13:50

    它只是個 JavaScript 而已,
    Greybox 官方網站:
    http://orangoo.com/labs/GreyBox/

    不過 WP 也的確有個叫 Greybox 的 Plugin 是用它做的…

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 3. carloschen  |  2006/11/03 13:52

    這篇有Lightbox一些收集介紹:
    http://lym.fyman.idv.tw/blog/archives/106

    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP
  • 4. Yuping  |  2006/11/03 17:14

    單張照片顯示不出來~

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 5. goston  |  2006/11/03 17:45

    因為正在修正, 現在已經完成了…

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 6. shutter  |  2006/11/03 23:57

    太強了!
    可以寄給我嗎?
    http://blog.xuite.net/shutter/home

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 7. goston  |  2006/11/04 00:22

    @shutter
    已寄到你 xuite 的信箱了…
    對了, 這個 Script 不見得要用在 WP 上… :)

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 8. jerome  |  2006/11/16 09:02

    我也想要跟您索取耶!
    可以寄給我嗎?

    另外,我可以請教您一下,為何我裝了 lightbox2 for WP ,啟動以後,那個 icon 不會出現在我的 tinymce 的 toolbar 呢?您有研究嗎?

    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP
  • 9. goston  |  2006/11/16 10:17

    請參考: [資訊] 爛爛的 Greybox 修改版發佈

    至於 Lightbox2 我個人沒有安裝那個 plugin, 我是利用 Lightbox JS v2.0 的標準用法來用的, 當然, 我有自己在 quicktags.js 加入相對應的 button (我沒在用所見即所得的編輯器)

    Using Mozilla Firefox Mozilla Firefox 2.0 on Windows Windows XP
  • 10. 阿祥祥  |  2007/01/25 17:24

    可以寄一份給我ㄇ?? thks.

    Using Internet Explorer Internet Explorer 7.0 on Windows Windows Server 2003
  • 11. goston  |  2007/01/25 17:33

    @阿祥祥
    請參考這篇文章…
    [資訊] 爛爛的 Greybox 修改版發佈

    Using Mozilla Firefox Mozilla Firefox 2.0.0.1 on Windows Windows XP
  • 12. 小仲  |  2007/10/26 14:29

    板大 也請寄給我吧!
    正需要這個功能!
    謝謝!

    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP
  • 13. goston  |  2007/10/27 20:52

    @小仲
    請參考: [資訊] 爛爛的 Greybox 修改版發佈

    Using Mozilla Firefox Mozilla Firefox 2.0.0.8 on Windows Windows XP

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Donate Me

Related Posts

Recent Posts

Recent Comments