裝上 Lightbox Plus
說順手好像也沒這麼順,沒辦法,MT 沒有這麼多方便的 Plugin,不能隨時隨地就插進去。
所以還是自己動手 DIY 吧!
看了 LightBox, LightBox2 and LightBox Plus 這篇後,決定這次也跟進改用 Lightbox Plus,網頁上寫 based on original Lightbox,但是檔案 size 小很多?
不管,黑貓白貓,能捉老鼠的就是好貓。
下載解壓縮之後有個 resource 資料夾,丟到隨便喜歡的地方去,我自己這邊是放在 /lightboxplus 下。然後修改 lightbox_plus.js 裡最下方的檔案路徑:
接著去編輯 MT 的模版,把下面這幾行加進去:
注意,兩個 js 檔的順序不要更動,不然會爛掉。
最後在每個要套用 Lightbox 的圖片上加上
就可以有像下面這樣的效果的啦!(點小圖看大圖)

如果不想每次要加圖片就得手動加上
接著把下面這段也加進去,就大功告成啦:
參考資料:
所以還是自己動手 DIY 吧!
看了 LightBox, LightBox2 and LightBox Plus 這篇後,決定這次也跟進改用 Lightbox Plus,網頁上寫 based on original Lightbox,但是檔案 size 小很多?
不管,黑貓白貓,能捉老鼠的就是好貓。
下載解壓縮之後有個 resource 資料夾,丟到隨便喜歡的地方去,我自己這邊是放在 /lightboxplus 下。然後修改 lightbox_plus.js 裡最下方的檔案路徑:
接著去編輯 MT 的模版,把下面這幾行加進去:
注意,兩個 js 檔的順序不要更動,不然會爛掉。
最後在每個要套用 Lightbox 的圖片上加上
rel="lightbox":就可以有像下面這樣的效果的啦!(點小圖看大圖)
如果不想每次要加圖片就得手動加上
rel="lightbox" 的話,也有解。我自己是利用 Mootools 提供的 JavaScript Framework 其中的功能來達成。由於 Mootools 是模組化的,下載的時候可以只選擇需要用到的部份,所以請選擇 Window.DomReady 就好。一樣丟上伺服器,並在模版中加入相對應的 code。接著把下面這段也加進去,就大功告成啦:
參考資料:
在MT上使用Lightbox JS
Auto detect image link for lightbox | pootato.org
這篇屁話被收在分類:
曝露格0 則引用
本篇屁話的引用連結 : http://thecrap.org/mt-tb.cgi/392
引用 裝上 Lightbox Plus 的文章如下 :

Regards for helping out, good info .
so much good info on here, : D.
SMS spoofer free sms spoofer Fake sms free fake sms Send sms from any number to any number
The problem with facebook is the slow speed.
Some say, that's the exact moment when rockabilly peaked.
" I love watching films not knowing what to expect, being surprised and amazed while watching it, and that is exactly what happened with 'Kick Ass'.
Awesome post mang
This really answered my downside, thank you so much!
Great blog, I have just bookmarked it :)
Appreciate it for this post, I am a big fan of this web site would like to go along updated.
Really needed to hear this, thank you.
This is an epic post, maybe I should add add this blog to my blogroll? :)
Your blog provides a fresh look at the subject. Great job mate!
Hi! I just wanted to ask if you ever have any issues with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no data backup. Do you have any solutions to stop hackers?
Some truly great information, Glad I observed this. "It's not what you are that holds you back, it's what you think you are not." by Denis Watley.
OMG ! I recently found a error inside your site! See if your plugins is configured correctly!
Howdy just wanted to give you a quick heads up. The words in your post seem to be running off the screen in Internet explorer. I'm not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I'd post to let you know. The style and design look great though! Hope you get the issue fixed soon. Thanks
I intended to post you one tiny note to say thank you as before for the breathtaking solutions you have contributed above. This is so wonderfully open-handed of you to offer unreservedly what a few individuals could have offered as an e book to earn some profit on their own, mostly now that you might have tried it if you ever decided. Those principles as well worked to become a fantastic way to know that the rest have similar interest just as my very own to grasp somewhat more with regards to this issue. I'm certain there are a lot more fun sessions ahead for individuals that take a look at your website.
so much wonderful information on here, : D.
It was nice to read your post. Thank you for posting this piece!
Terrific tips thank you for posting about it. Believe it or not in all of articles and reviews of this web site there is things to learn.
you are my inspiration , I have few blogs and rarely run out from to post : (.
The best concise and up so far information I discovered about this topic. Sure glad when i navigated towards your page out of the blue. IпїЅпїЅll be subscribing to your feed so I'll obtain the latest updates. Appreciate all the information here
A formidable share, I just given this onto a colleague who was doing somewhat evaluation on this. And he the truth is bought me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the deal with! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love studying extra on this topic. If potential, as you turn into expertise, would you thoughts updating your weblog with more details? It is highly useful for me. Massive thumb up for this weblog publish!
les rendements
I like this site very much, Its a real nice situation to read and incur information.
Loving the information on this website , you have done great job on the articles .