內容簡介
我最近發現了John Dyer的原生全螢幕JavaScript API,並且我認為它相當棒。
一個真正的全螢幕模式!不需要使用Flash!
目前它還是相當實驗性的,但是「大多數瀏覽器在未來幾個月將會支援它」。您應該閱讀John Dyer的帖子了解更多。
該外掛程式帶有小工具和短代碼以生成按鈕。使用CSS選擇器來選擇要顯示在全屏模式中的元素...就這樣!
[全螢幕目標=”CSS選擇器”文字=”按鈕的文字”]
享受吧!
外掛標籤
開發者團隊
原文外掛簡介
I found John Dyer’s Native Fullscreen JavaScript API the other day, and I thought it was pretty awesome.
A true fullscreen mode ! Without Flash !
It’s quite experimental so far, but “support is coming to most browsers in the next few months”. You should read John Dyer’s post about that.
The plugin come with a widget and a shortcode to generate the button. Use a CSS selector to target the element you want to display in fullscreen… and that’s it !
[fullscreen target=”THE-CSS-SELECTOR” text=”The button’s text”]
Enjoy folks !
