简体   繁体   中英

Superfish and hashbang

I am considering replacing querystrings with hashbangs on my public site, for better performance.

Are menus like Superfish compatible with the hashbang? How can I trigger a content update when I click a menu item where only the hash part is different?

If you are allready using jQuery on your site, i'll suggest taking a look at jQuery.address. It has a simple Interface and supports hashes and pushState. Keep in mind that you are going to have to change a lot of your serverside code when switching from querystrings to ajax calls.

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