Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 887

Site Discussion • Small docs suggestions

$
0
0
Hello, I made a Pull Request on GitHub

The changes I made are
  • Usability: Add support for clicking the ¶ symbol for anchoring sections of the wiki (since phones don't have the CTRL key)
    I want to explain this one, I made this because I have a major problem, when I want to link stuff from the wiki from my phone, I can't because... well... I don't have a CTRL key on my phone (I could glue one but writing code is easier than destroying my phone).
    I wrote a Javascript function that just adds the Ampersend ¶ symbol at the end of everything you were able to CTRL+CLICK on previously, clicking on it dose the same action of changing the href (but now by <a> instead of location.href)
    The visibility is controlled by CSS, I also made it so it dosen't appear on bogus stuff (like the Manual text in the top left or the SomeNote id every single new Alert Box has) and I made it so for dt boxes, when they're targeted, the color changes and you can still see the symbol.
    I haven't touched the code for the old CTRL+CLICK behaivour Javascript, however I commented out the old text in the Manual page explaining how to do it and replaced it with the new behavior, it can be added back/reverted at any moment if you want.
    Here's a video of it in action.
    I have tested it on mobile too and it works (though I detailed how to only in the context of on desktop in the changed text), you have to touch the header text, and then click the ¶ symbol, and it correctly adds the anchor.
And for the other changes:
  • UsageMonitor: Add a table to make the Aliases easier to differenciate
  • UsageMonitor: Correct "infromation" and a missing space after comma
  • WindowMessagePlugin: Add info about using SendMessage
  • Window Message: Capitalize the letters
  • Bangs: Add info about using SendMessage for bangs and correct a dead link
  • Bangs: Add id for "Command Line Arguments"
  • CSS: For the FA icons, add space to the left and right of them, so it dosen't hug the text and corner no more

Statistics: Posted by Jeff — 4 minutes ago — Replies 126 — Views 109935



Viewing all articles
Browse latest Browse all 887

Latest Images

Trending Articles



Latest Images