简体   繁体   中英

jQuery: how to make dialogue box stay at top right corner even with scroll?

http://tympanus.net/Development/WebsiteTour/

The black dialogue box with next and previous button at the top right corner is what I want.

What jquery library allows this? Basically when you scroll, it stays at that top right corner.

It is not jquery. It is simple CSS.

Use position:fixed; and the box will stay in its position even if you scroll

DEMO

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM