Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

User:Jroberson108/Template:Sticky table start/ScrollCue

    From Wikipedia, the free encyclopedia
    <User:Jroberson108
    Template:Sticky table start/ScrollCue
    DescriptionAdds bottom shadow toTemplate:Sticky table start scrollable area to help with discoverability
    AuthorJroberson108
    StatusWorking
    First releasedJuly 3, 2025; 5 months ago (2025-07-03)
    UpdatedAugust 4, 2025
        (4 months ago)
    SkinsMinerva Neue or other skins on WebKit browsers
    Source

    OnApple devices, scrollable areas may not be visually apparent in browsers using theWebKit engine (such as browsers oniOS,iPadOS, andmacOS) because scrollbars are hidden except during active scrolling.Android browsers behave similarly, though some briefly show scrollbars on load as an indicator.

    To improve discoverability, this companion script and styles add a transparent shadow cue to the bottom of the{{Sticky table start}} scrollable areas to indicate vertically scrollable. The shadow disappears when scrolled to the bottom, ensuring it does not interfere with readability. This solution works on WebKit browsers and the default mobile skin,Minerva skin.

    This functionality is implemented separately from the template becauseJavaScript is required, which templates cannot include.

    Installation

    [edit]

    Add the following to yourcommon.js page (you must be logged in to use it):

    importScript('User:Jroberson108/Template:Sticky table start/ScrollCue.js'); // Backlink:[[User:Jroberson108/Template:Sticky table start/ScrollCue.js]]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Jroberson108/Template:Sticky_table_start/ScrollCue&oldid=1304392785"
    Category:

    [8]ページ先頭

    ©2009-2025 Movatter.jp