Sidebar issue on Windows 11
I have the following:
<html><head> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> <style type="text/css"> <!-- body {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; background-color: #eee; width: 200px;} a:link {color: #000099;} a:visited {color: #000099;} a {text-decoration: none; margin-left: 0.5em; display: block;} div.folder {padding-top: 10px;} div.folder a {display: none;} div.folder:hover a {display: block;} div.title { color: maroon; font-style: italic; font-weight: bold; font-size: 14px; border-bottom: 1px solid #ccc; padding-bottom: 6px; } div.subtitle { color: navy; font-weight: bold; margin-bottom: 15px; margin-top: 8px; } div.subtitle a { color: navy; font-weight: bold; text-decoration: none; } div.subtitle a:hover { color: blue; } --> </style> </head> <body background="DNASidebar_files/DNA%2520Sidebar%2520for%2520Firefox.html"> <div class="title">Bioinformatics Sidebar</div> <div class="subtitle">Active as of: <i>2022-05-18</i></div> <div class="folder">Databases</div> <a href="www.ncbi.nlm.nih.gov/nuccore">Nucleotide</a> ... </body></html>
To use this, I just click it in whatever folder it's in and it comes up in Firefox. If I run this on either Linux or Mac, when I click "Nucleotide" it takes me to the URL. If I do this on Windows 11, my URL looks like the following:
file:///C:/Users/xxxxx/Documents/www.ncbi.nlm.nih.gov/nuccore
What do I need to do on Windows to get the real URL to execute?
Thanks, Joe
I have the following:
<pre><nowiki><html><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<style type="text/css">
<!--
body {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; background-color: #eee; width: 200px;}
a:link {color: #000099;}
a:visited {color: #000099;}
a {text-decoration: none; margin-left: 0.5em; display: block;}
div.folder {padding-top: 10px;}
div.folder a {display: none;}
div.folder:hover a {display: block;}
div.title { color: maroon; font-style: italic; font-weight: bold; font-size: 14px; border-bottom: 1px solid #ccc; padding-bottom: 6px; }
div.subtitle { color: navy; font-weight: bold; margin-bottom: 15px; margin-top: 8px; }
div.subtitle a { color: navy; font-weight: bold; text-decoration: none; }
div.subtitle a:hover { color: blue; }
-->
</style>
</head>
<body background="DNASidebar_files/DNA%2520Sidebar%2520for%2520Firefox.html">
<div class="title">Bioinformatics Sidebar</div>
<div class="subtitle">Active as of: <i>2022-05-18</i></div>
<div class="folder">Databases</div>
<a href="www.ncbi.nlm.nih.gov/nuccore">Nucleotide</a>
...
</body></html></nowiki></pre><br>
To use this, I just click it in whatever folder it's in and it comes up in Firefox.
If I run this on either Linux or Mac, when I click "Nucleotide" it takes me to the URL.
If I do this on Windows 11, my URL looks like the following:
file:///C:/Users/xxxxx/Documents/www.ncbi.nlm.nih.gov/nuccore
What do I need to do on Windows to get the real URL to execute?
Thanks,
Joe
Modified
All Replies (1)
Try to include the protocol (https://) or leave out the protocol and only use the two leading '//'.
- <a href="//www.ncbi.nlm.nih.gov/nuccore">Nucleotide</a>