Note that there are some explanatory texts on larger screens.

plurals
  1. POToggling link text when navigating between pages based on selected stylesheet
    text
    copied!<p>I have installed a script on my website that allows for a low contrast setting and a high contrast setting, as my site will be used by sight impaired persons. The script works perfectly. The only problem is when a visitor visits multiple pages of the site.</p> <p>When you first visit the site, the low contrast setting is in effect by default and only the link to the high contrast setting appears. If I then visit other pages of the website, the low contrast setting is in effect by default and only the high contrast link appears (this is perfect and as it should be). </p> <p>Here is the problem. If I click on the high contrast link to view the page in the high contrast setting and then go to another page, the other page appears in the high contrast setting (as it should), but instead of a link to the low contrast setting appearing (which I would like to happen), a link to the high contrast setting appears (which does not make sense, given the page is already in the high contrast setting).</p> <p>To solve this problem, I understand that if I put a 'query string javascript' at the start of each of my pages, the links in each page would pass the current contrast settings to the next page (so long as the visitor moved around with links instead of typing directly into the address bar). Does anybody know how to create such a 'query string javascript'? I tried to create such a string myself, but was not successful.</p> <p>My site is not done, but I published a few pages at <a href="http://www.14kt.eu/" rel="nofollow noreferrer">http://www.14kt.eu/</a> so you can see what I am talking about.</p> <p>Thank you for your time, Chris</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload