News for hackers. Stuff that matters.
Re:Microfeatures I Love in Blogs and Personal Websites by zzo38computer on Monday June 24, 2024 @06:42PM (#40781874)
That is a relevant point, although still it shouldn't be necessary; proper semantic HTML commands should allow the browser to handle it automatically (in the way subject to user preferences), e.g. the <ARTICLE> command can be used if you want to delimit the article from the comments, and with commands such as <H1>, <H2>, etc you can delimit sections and automatically make a table of contents.
Re:Microfeatures I Love in Blogs and Personal Websites by hju22_-3 on Tuesday June 25, 2024 @06:34AM (#40786719)
That just sounds terrible. I want the program's scroll bar to reflect the actual size as accurately as possible. Anything else just sounds annoying.
Re:Microfeatures I Love in Blogs and Personal Websites by account42 on Tuesday June 25, 2024 @09:22AM (#40788298)
The browser could use this information in various ways depending on the preferences of the user. One example is the scroll bar map mode implemented in various text editors where a scaled down version of the content is shown to help you see where you are. Similarly a browser could visualize the size and location of certain elements (e.g. <article> and <section>) on the scroll bar. The key here is that it is the browser doing it so that you have a choice in wheter you want it or not on all websites.
Re:Microfeatures I Love in Blogs and Personal Websites by zzo38computer on Tuesday June 25, 2024 @01:29PM (#40791148)
So do I, which is why it can be a user preference. (One way might be to display marks on the scroll bar for the top and bottom of the article, therefore giving you both advantages at once.)