php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77036 smooth scroll animation/effect is forced upon php.net documentation users
Submitted: 2018-10-19 05:31 UTC Modified: -
Votes:3
Avg. Score:3.7 ± 0.5
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: elan7aad10 at gmail dot com Assigned:
Status: Open Package: Website problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: elan7aad10 at gmail dot com
New email:
PHP Version: OS:

 

 [2018-10-19 05:31 UTC] elan7aad10 at gmail dot com
Description:
------------
on pages like function specification etc, arguments are clickable links

Currently, site uses jquery to perform a smooth scroll to the respective section, when such link is clicked.

Problems:

1) There's no any fallback mechanism in place!

This means, that you cannot disable javascript to avoid experiencing animation/effect - because then such links will not work.

These links SHOULD be made standard A elements, linking to the respective section, using standard mechanism (i.e. <A href="#arg1">$str</A> ... <A name="arg1"/>$str - .....)

So that users could at least opt for disabling javascript.

2) In fact, using framework for smooth scroll is outdated
Smooth scroll is a built in option in modern browsers.
So, actually, the standard anchor is ALL that is needed, and the jquery scroll SHOULD be removed altogether.



Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Nov 06 12:01:28 2024 UTC