[library-web] Add CSS to open doc-links in new tabs



commit 528f28f8ec563b876d1b84cdcffeddaebe26b16a
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue Feb 18 11:48:54 2014 -0500

    Add CSS to open doc-links in new tabs
    
    Unfortunately this doesn't yet work in any major browser. But
    serves to document what we are trying to do anyway.

 data/skin/lgo2010.css |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/skin/lgo2010.css b/data/skin/lgo2010.css
index 9351aad..a6deceb 100644
--- a/data/skin/lgo2010.css
+++ b/data/skin/lgo2010.css
@@ -506,3 +506,9 @@ div#frontpage-indexes > div {
 div#frontpage-indexes > div input {
        width: 100%;
 }
+
+/* open doc links in new tabs
+ * but this CSS3 doesn't seem to be supported in any major browser */
+.doc-link {
+       target-new: tab ! important;
+}
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]