Content deleted Content added
complication |
refine message, ping |
||
Line 662:
=== Complication ===
[[User:Evad37|Evad]], I inserted the above code into the script, and it repositioned in a surprising way.
It realigned to the script's menu item on the sidebar. I hadn't noticed before that it has been doing this all along. Apparently it does this because of following code near the end of the function:
Line 680:
Maybe this problem could be fixed with the [https://www.w3schools.com/jsref/met_win_scrollto.asp Window scrollTo() Method], if there was some way to record the scroll position of the window in the first place. If there was, the measurement could be taken before the menu item was updated, and then the position restored via window.scrollTo(''xpos'', ''ypos'') after the change was completed.
I look forward to your reply, [[User talk:The Transhumanist|<i>The Transhumanist</i>]] 03:
== Find/verify non-li list-lead entries ==
|