Tạo Nút Back To Top Bằng Jquery

Source: https://allbloggingtips.com/add-floating-go-to-top-button-in-obatambeienwasirherbal.com-blogs/

As I think this tool is necessary not only for me but also for those who love creating your own website, I’m going to giới thiệu immediately to save this awesome note.

Bạn đang xem: Tạo nút back to top bằng jquery


There are a lot of ways to showroom this kind of button; however, after searching liên kết for reference, I vày think those 3 ways are the best.

1. Add Simple Code to Your Blog.

With this way, you can change image to your own one.

Goto obatambeienwasirherbal.com Dashboard > Appearance >Widget.Drop a Text Widget khổng lồ your sidebar.Now Paste below code in Text Widget.


Click on Save Button and See the magic!

Note: If you want to change the image, just replace the liên kết in dark grey màu sắc with your image url.

Xem thêm: Phần Mềm Dns Jumper 2 - 6 Phần Mềm Thay Đổi Dns Tốt Nhất Cho Windows

2. Use Scroll To đứng đầu obatambeienwasirherbal.com Plugin.

Fully written in jQuery, the plugin adds a floating box centered in the footer of your site that only appears when you scroll the page down, and when clicked gently roll the site lớn the top. All this without any modification khổng lồ your template.


How khổng lồ use it?

You can either use the automatic plugin installer or your FTP program to upload it to lớn your wp-content/plugins directory the top-level folder. Don’t just upload all the php files and put them in /wp-content/plugins/.Activate the plugin through the ‘Plugins’ menu in obatambeienwasirherbal.com.Visit your Scroll to đứng đầu Options (Options – Scroll khổng lồ Top).Finally, configure any options as desired, & then enable the plugin.3. Use Go To đứng top obatambeienwasirherbal.com Plugin.

This plugin will địa chỉ cửa hàng a “Go khổng lồ top” links to your posts. This is a obatambeienwasirherbal.com plugin which based on jQuery, jQuery Easing & Scroll to đứng top v3.


How lớn use it?

Upload the plugin thư mục to the/wp-content/plugins/directory or use Dashboard Method.Activate the plugin through the ‘Plugins’ menu in obatambeienwasirherbal.com.

This website is very useful. I hope you can find more interesting things through this.

Happiness when sharing