简体   繁体   中英

make a notification Bar show in other pages even when reloading page

I want when I user clicks on a button, the page that will open I want a bar to show and keeps showing for some time even when switching pages?!

can I do it with js or jquery or even ajax and how plz?!

I suggest using frames for this. When the user clicks a button, open a page that you've created with a frameset. The frameset will have two frames: the bar at the top and the other page taking the rest of the window. You could use some Javascript to hide the bar after some time. The downside of this approach is that the user won't see the other page's URL in the address bar - instead, they'll see the URL for your page with the frameset.

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