Preserve HTML5 full screen mode when internal link changes

I have a website where you can turn on / off full screen mode.

I have internal links that work with the Backbone router to change the page. (A website is a scroller, so it changes the panel and the last part of the URL).

When I change this URL by scrolling or clicking on the link, the website is turned off in full screen mode.

I stay on the same website, internal links have a WarningDefault.

Should I change my links <a href>to something like <li>? (And determine the link change using data attributes)?

thank

+3
source share
1 answer

, : -:

MyRouter.navigate(url, {
                    trigger: true
                });

'MyRouter' - .

, , true, , , , . .

0

All Articles