Açıklama
Based on the brilliant script Elevator.js. How can you resist the familiar notes and smooth ride we’ve all come to expect on a quality elevator ride?
Just activate and enjoy!
demo – at the bottom of the page select ‘Back to Top’ link.
Customize Elevator
You can also customize the appearance of Elevator with CSS. Need help? See the Elevator Style Guide.
Elevator.js created by Tim Holman.
Audio (sourced from BenSound) is Creative Commons.
Plugin Repo Banner Image, Background (sourced from Luigi Anzivino) is Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.
Yükleme
- Install Elevator either through your WordPress Plugins screen or by uploading the files to your server.
- Activate Elevator.
- Enjoy the elevator ride!
SSS
-
Elevator uses the wp_footer(); tag to hook into. If your theme doesn’t include this tag somewhere (it’s most commonly found in the footer.php template file, just before the closing tag), then Elevator can’t work it’s magic. Check your theme first if Elevator’s ‘Back to Top’ button isn’t appearing on the page after you’ve activated the plugin.
-
Audio not playing
-
Some browsers now mute all sounds by default. You may need to adjust your browser’s settings to allow the audio to play, or take another action on the page first before using the Back to Top link.
As of 2020, this will most often affect visitors using Firefox (all platforms) and Chrome (Android being most common). You should still expect the scroll to top functionality to work even in the absence of sound.
I’m working on a solution to this issue in a future update.
-
If your ‘Back to Top’ button is loading, but the Elevator seems to be broken and stuck in the basement, check for JavaScript errors in your browser’s console. You can use Google Chrome’s Dev Tools for this. If you’re unfamiliar with checking for JavaScript errors in your browser, I suggest you check out Julie Pagano’s JavaScript Debugging for Beginners article.
If your site is generating a JavaScript error, it’s possible for it to conflict with Elevator and I suggest you resolve the JavaScript error before proceeding with any other troubleshooting.
İncelemeler
Katkıda Bulunanlar ve Geliştiriciler
“Elevator” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“Elevator” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
1.0.5.4
- Version bump, compatible with WordPress 6.0.1
1.0.5.3
- Version bump, compatible with WordPress 4.8.1
1.0.5.2
- Version bump, compatible with WordPress 4.5
1.0.5.1
- Version bump, compatible with WordPress 4.4
1.0.5
- Fix elevator-music.ogg audio issue at start
1.0.4
- Replace .MP3 files with .OGG to resolve occasional issue of music not playing in Chrome and Chromium browsers.
1.0.3
- Fix version number for dependencies
1.0.2
- Version bump, compatible with WordPress 4.3
1.0.1
- Remove curly quotes in FAQ
1.0.0
- İlk dağıtım