Page scrolls on its own after opening a lightbox image., <a> tags and id involved. |
Page scrolls on its own after opening a lightbox image., <a> tags and id involved. |
Miguel2013 |
Jun 7 2020, 05:29 PM
Post
#1
|
Group: Members Posts: 2 Joined: 7-June 20 Member No.: 27,382 |
i have a webpage drawings.html with a lightbox using <a> tag to open and close the image. I click on one image that has an <a> with an href="img7" and it opens the same image just larger with an href="#_" so when I click anywhere on the screen the picture dissapears cause of the href="#_" but there's a bug.
I can keep clicking on every image in the page to open and close them fine, but if i happen to reload the page that now ends with drawings.html#_ i click anywhere on the page the page scrolls a bit, how can I fix this? page is at 73.20.88.213/drawings.html This post has been edited by Miguel2013: Jun 7 2020, 05:29 PM |
pandy |
Jun 8 2020, 12:36 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Can't reach the page. Times out.
|
Miguel2013 |
Jun 8 2020, 08:05 PM
Post
#3
|
Group: Members Posts: 2 Joined: 7-June 20 Member No.: 27,382 |
this is the website I'm on now (same code)
http://psychgirls.epizy.com/drawings.html This post has been edited by Miguel2013: Jun 8 2020, 08:06 PM |
pandy |
Jun 9 2020, 12:12 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
What browser do you use? I don't see what you describe.
|
Lo-Fi Version | Time is now: 18th April 2024 - 06:25 PM |