External links in HTML interface are marked as external with small icon.

*) added new icon
*) added CSS rules to mark all external links except search results
(target="_self")
pull/1/head
Marc Nause 12 years ago
parent 31902f54df
commit d64a094f0e

@ -87,6 +87,18 @@ a:hover {
text-decoration:underline;
}
/* mark external links */
a[href^="http://"], a[href^="https://"] {
background: url(/env/grafics/external.png) center right no-repeat;
padding-right: 14px;
}
/* exception for links to yacy.net and search results */
a[href^="http://yacy.net"], a[target="_self"] {
background: transparent;
padding-right: 0px;
}
img {
border:0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

@ -192,7 +192,7 @@
<dt>browser integration</dt>
<dd>after searching, click-open on the default search engine in the upper right search field of your browser and select 'Add "YaCy Search.."'</dd>
<dt>search as rss feed</dt>
<dd>click on the red icon in the upper right after a search. this works good in combination with the '/date' ranking modifier. See an <a href="http://localhost:8090/yacysearch.rss?query=news+%2Fdate&Enter=Search&verify=cacheonly&contentdom=text&nav=hosts%2Cauthors%2Cnamespace%2Ctopics%2Cfiletype%2Cprotocol&startRecord=0&indexof=off&meanCount=5&maximumRecords=10&resource=global&prefermaskfilter=">example</a>.</dd>
<dd>click on the red icon in the upper right after a search. this works good in combination with the '/date' ranking modifier. See an <a href="yacysearch.rss?query=news+%2Fdate&Enter=Search&verify=cacheonly&contentdom=text&nav=hosts%2Cauthors%2Cnamespace%2Ctopics%2Cfiletype%2Cprotocol&startRecord=0&indexof=off&meanCount=5&maximumRecords=10&resource=global&prefermaskfilter=">example</a>.</dd>
<dt>json search results</dt>
<dd>for ajax developers: get the search rss feed and replace the '.rss' extension in the search result url with '.json'</dd>
</dl>

Loading…
Cancel
Save