extremely weird behavior or link or browser, same html code, but in different layouts (media queries), links in a s |
extremely weird behavior or link or browser, same html code, but in different layouts (media queries), links in a s |
Sentinel166 |
Apr 2 2023, 11:27 PM
Post
#1
|
Novice Group: Members Posts: 21 Joined: 19-March 23 Member No.: 28,859 |
There is something really weird with my website, the links in the right navigation bar (table of content) doesnt' work.
The screen dimensions is small enough a CSS media query rule kicks in and change the layout. There are buttons to make the menu or toc appears. But the html code is identical. Yet the links on the table of content don't work anymore. When I access the toc in the small screen layout via the button on the right, and click on one of its link, the URL in the URL bar changes, but the page doesn’t reload to point at the headings (specific id attributes) within the page. it just does nothing. pressing "enter" in the address bar does nothing either. Then those url work again but only after having clicked on of those links in the NORMAL layout again. It boggles my mind. Same behavior regardless of browser. https://drive.google.com/drive/folders/1MET...?usp=share_link With this, just open index.html in your browser and reduce the window's width below 604px and click on the upper right button, then on any heading link, then on "back to text". this is a label, not a link, so shouldn't interfer at all. |
pandy |
Apr 3 2023, 04:54 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
The OP has found the solution already.
|
Lo-Fi Version | Time is now: 13th May 2024 - 12:52 AM |