
內容簡介
這是一個非常絕妙的 jQuery 外掛,可以在你的網站上呈現「侏儸紀世界」的迅猛龍場景。
我們大家都曾經有過這樣的經驗…
當你坐在桌前編寫一個五百頁的網站程式,你突然想到…如果能在這個網頁上放上一隻迅猛龍,它一定會讓網站更加炫酷。你立刻衝回家,拿到《侏儸紀公園》的 DVD,截圖一段迅猛龍攻擊的畫面。但是,你覺得要讓一隻迅猛龍在你的網站上奔跑是很困難的,還有該如何獲取它標誌性的叫聲呢?但是現在,我們告訴你一個小秘密。
我們已經做到了
其實,這是由 Zurb.com 團隊開發的外掛,而我把它製作成了 WordPress 的外掛。
選項
你在想什麼?你還希望能夠控制進入程序?沒問題!你可以使用 Raptorize 的點擊事件(這是預設模式,且與上面的模式相同),計時器,它們在頁面載入後會觸發,或者傳說中的網上大樂透(Konami)密碼。我們最喜歡的是 Konami 密碼(但每個頁面只能使用一次)。
好了,現在你可以試試 Konami 密碼(↑ ↑ ↓ ↓ ← → ← → B A)
執行時,請為任何可點擊的按鈕提供類名 button。例如:Button
外掛標籤
開發者團隊
原文外掛簡介
An awesome jQuery plugin that unleahes a Raptor of Jurassic proportions.
We’ve all been here before…
You’re sitting at your desk, coding up a 500 page site, knee-deep in Extreme Cheddar Doritos sipping on a liter of Code Red Mountain Dew when you realize… this page would be som much more awesome with a VELOCIRAPTOR. You immediately scramble home to grab your Jurassic Park DVDs so can screencap a Velociraptor attack, but then you realize how hard it would be to make an awesome raptor run across the site you were coding. Plus, how are you going to get that trademark velociraptor screech? How about we let you in on a little secret?
We already did it.
Well, the guys at Zurb.com did it. And I made it into a WordPress plugin.
The Options
What’s that? You want to be able to control the entrance handler? You can! Raptorize can be activated on a click event (that is the default and what we have hooked up above), a timer which just fires after the page is loaded, or the legendary Konami-Code. Our personal favorite is the Konami-Code (but it only works once per page load).
Go ahead, try the Konami Code (↑ ↑ ↓ ↓ ← → ← → B A)
